Re: Does anyone know how to:Make 5 axis output at start of operation always be B0, C0 with IJK 001?

Siemens Genius Siemens Genius
Siemens Genius

Sorry

 

You also need to work with _prev variables, so at the end you must reload 4 variables

 

set mom_pos(3) 0.0

set mom_pos(4) 0.0
set mom_prev_pos(3) 0.0

set mom_prev_pos(4) 0.0
set mom_out_angle_pos(0) 0.0

set mom_out_angle_pos(1) 0.0
set mom_prev_out_angle_pos(0) 0.0

set mom_prev_out_angle_pos(1) 0.0

MOM_reload_variable -a mom_pos
MOM_reload_variable -a mom_prev_pos
MOM_reload_variable -a mom_out_angle_pos
MOM_reload_variable -a mom_prev_out_angle_pos