Hi guys!
I have the program with the one long and slow LIN movement.
During this movement I have the interrupt routine:
Code
GLOBAL DEF AlarmStop()
INTERRUPT OFF 20
BRAKE F
StopSignalsOn()
BAS(#VEL_CP, g_LinFreeSpeed)
LIN_REL {X -20} #TOOL
MsgQuit("Tool collision!")
HALT
INTERRUPT ON 20
END
Display More
It has no errors during the execution, the variable VEL_CP has changed, but actually speed doesn't changed. Is it possible to change the speed in the interrupt routine?