Examples and tips
Example
start:
WAIT UNTIL IN(1)=ON
SPEED=10
FORWARD
WAIT UNTIL IN(2)=ON
prod_pos=MPOS
CANCEL
WAIT IDLE
PRINT "Product Position : "; prod_pos
SPEED=100
MOVEABS(0)
WAIT IDLE
GOTO start
5.2.5
Position on a grid
A square palette has sides 1m long. It is divided into a 5 x 5 grid, and each of
the positions on the grid contains a box which must be filled using the same
square pattern of 100mm by 100mm. A dispensing nozzle controlled by
digital output 8 must be turned on when filling the box and off at all other
times.
PROGRAMMING MANUAL
fig. 50
IN(1)
IN(2)
speed
CANCEL
WAIT IDLE
Forward
Moveabs
SPEED=10
FORWARD
WAIT UNTIL IN(2)=ON
WAIT UNTIL IN(1)=ON
PRINT "Product position"
SPEED=100
MOVEABS(0)
WAIT IDLE
fig. 51
t
Start:
WAIT UNTIL IN(1)=ON
329
Need help?
Do you have a question about the TJ2-MC64 - PROGRAMMING and is the answer not in the manual?
Questions and answers