in interrupt subroutine,I tried to change speed with ' $vel.cp=0.1 ' or ' $Vel_axis[I] =10 ' . It didn't work.....
' $ov_pro=10' is OK ,but It's not a good idea. Anybody tell me Why ? Please.
in interrupt subroutine,I tried to change speed with ' $vel.cp=0.1 ' or ' $Vel_axis[I] =10 ' . It didn't work.....
' $ov_pro=10' is OK ,but It's not a good idea. Anybody tell me Why ? Please.
Interrupt subroutines work in command mode, meaning any changes to kinematics or dynamics are only applied until the interpreter exits the subroutine. If you change tool, base, speed, acceleration, etc., the changes are reverted upon exit.
Nope. It is because the path planner plans the path in advance. This is neccessary at least, to realize blending, and to have enough time to calculate the forward and backward transformations (at least in former times when cpu weren't that fast has nowadays).
So at the time your interrupt routine tries to change the speed, the path planner has planed the path already and the change of the speed has no effect on the already planed path. But it will have an effect onto the next planed path (if there is no setting of the speed before the next planed movement).
The variable $advance gives the amount of movements that are planed in advance.
Interrupt subroutines work in command mode, meaning any changes to kinematics or dynamics are only applied until the interpreter exits the subroutine. If you change tool, base, speed, acceleration, etc., the changes are reverted upon exit.
Only moving and slowing down in my subroutine