Paisan_Emdist
Mechanical
- Jan 7, 2020
- 2
The Error massage
***** A TCL Error Has Occurred *****
Event Handler: C:\Program Files\Siemens\NX 12.0\MACH\resource\postprocessor\FMC_Toshiba-R16_001.tcl
Event: MOM_initial_move
Error Info: can't read "pop_rot_a": no such variable
while executing
"format %.2f "$pop_rot_a""
(procedure "PB_CMD_initial_move_outputs" line 19)
invoked from within
"PB_CMD_initial_move_outputs"
(procedure "MOM_initial_move" line 10)
invoked from within
"MOM_initial_move"
Error Code: NONE
Source Code has error
global mom_out_angle_pos mom_operation_type
global saved_csys_fourth_axis_answer
MOM_force once fourth_axis
if { [info exists saved_csys_fourth_axis_answer] } {
set mom_out_angle_pos(0) $saved_csys_fourth_axis_answer
}
global csys_mode
global pop_rot_a
global pop_rot_b
global pop_rot_c
set pop_rot_a [format %.2f "$pop_rot_a"]
set pop_rot_b [format %.2f "$pop_rot_b"]
set pop_rot_c [format %.2f "$pop_rot_c"]
global mom_oper_geom mom_next_oper_geom lastgeom lastb
if { $lastgeom != $mom_oper_geom } {
MOM_output_literal "G00 B$pop_rot_b"
} else {
MOM_output_literal "G00 B$lastb"
}
if { $mom_oper_geom == $mom_next_oper_geom } {
set lastb $pop_rot_b
}
if { $mom_operation_type != "Mill Machine Control" && $mom_operation_type != "lathe Machine Control" } {
set lastgeom $mom_oper_geom
}
***** A TCL Error Has Occurred *****
Event Handler: C:\Program Files\Siemens\NX 12.0\MACH\resource\postprocessor\FMC_Toshiba-R16_001.tcl
Event: MOM_initial_move
Error Info: can't read "pop_rot_a": no such variable
while executing
"format %.2f "$pop_rot_a""
(procedure "PB_CMD_initial_move_outputs" line 19)
invoked from within
"PB_CMD_initial_move_outputs"
(procedure "MOM_initial_move" line 10)
invoked from within
"MOM_initial_move"
Error Code: NONE
Source Code has error
global mom_out_angle_pos mom_operation_type
global saved_csys_fourth_axis_answer
MOM_force once fourth_axis
if { [info exists saved_csys_fourth_axis_answer] } {
set mom_out_angle_pos(0) $saved_csys_fourth_axis_answer
}
global csys_mode
global pop_rot_a
global pop_rot_b
global pop_rot_c
set pop_rot_a [format %.2f "$pop_rot_a"]
set pop_rot_b [format %.2f "$pop_rot_b"]
set pop_rot_c [format %.2f "$pop_rot_c"]
global mom_oper_geom mom_next_oper_geom lastgeom lastb
if { $lastgeom != $mom_oper_geom } {
MOM_output_literal "G00 B$pop_rot_b"
} else {
MOM_output_literal "G00 B$lastb"
}
if { $mom_oper_geom == $mom_next_oper_geom } {
set lastb $pop_rot_b
}
if { $mom_operation_type != "Mill Machine Control" && $mom_operation_type != "lathe Machine Control" } {
set lastgeom $mom_oper_geom
}