Omron trajexia CJ1W-MCH72 Operation Manual page 175

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

Advertisement

All BASIC commands
164
/i
Example
Run an axis forwards. When an input signal is detected on input 12,
bring the axis to a stop.
FORWARD
' wait for stop signal
WAIT UNTIL IN(12)=ON
CANCEL
WAIT IDLE
/i
Example
Move an axis forward until it hits the end limit switch, then move it in the
reverse direction for 25 cm.
BASE(3)
FWD_IN=7 limit switch connected to input 7
FORWARD
WAIT IDLE ' wait for motion to stop on the switch
MOVE(-25.0)
WAIT IDLE
AXIS 0
AXIS 3
Section 4-2
IN(12)
NC
IN(7)
NC

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents