All BASIC commands
Section 4-2
236
/i
Example
Run an axis in reverse. When an input signal is detected on input 5,
stop the axis.
back:
REVERSE
WAIT UNTIL IN(0) = ON ' Wait for stop signal
CANCEL
Example
Run an axis in reverse. When it reaches a certain position, slow down.
DEFPOS(0) ' set starting position to zero
REVERSE
WAIT UNTIL MPOS<-129.45
SPEED=slow_speed
WAIT UNTIL VP_SPEED=slow_speed ' wait until the axis slows
OP(11,ON) ' turn on an output to show that speed is now slow
Summary of Contents for SYSMAC CJ Series
Page 2: ......
Page 70: ...Specifications Section 2 4 58...
Page 84: ...FINS commands Section 3 4 72...
Page 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Page 370: ...Section 358...