Omron trajexia CJ1W-MCH72 Operation Manual page 248

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
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
/i
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
Section 4-2
237

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents