Omron trajexia CJ1W-MCH72 Operation Manual page 203

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

Advertisement

All BASIC commands
192
Example
Axes 3, 4 and 5 must move independently, that is, without interpolation.
Each axis moves at its own programmed SPEED, ACCEL and DECEL
etc.
'setup axis speed and enable
BASE(3)
SPEED=5000
ACCEL=100000
DECEL=150000
SERVO=ON
BASE(4)
SPEED=5000
ACCEL=150000
DECEL=560000
SERVO=ON
BASE(5)
SPEED=2000
ACCEL=320000
DECEL=352000
SERVO=ON
WDOG=ON
MOVE(10) AXIS(5) 'start moves
MOVE(10) AXIS(4)
MOVE(10) AXIS(3)
WAIT IDLE AXIS(5) 'wait for moves to finish
WAIT IDLE AXIS(4)
WAIT IDLE AXIS(3)
/i
Example
An X-Y plotter can write text at any position within its working envelope.
Individual characters are defined as a sequence of moves relative
to a start point. Therefore, the same commands can be used regardless
of the plot origin. The command subroutine for the letter M is:
write_m:
MOVE(0,12) 'move A > B
MOVE(3,-6) 'move B > C
MOVE(3,6) 'move C > D
MOVE(0,-12)'move D > E
RETURN
B
C
A
Section 4-2
D
E

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents