Programming Manual - Omron TJ2-MC64 - PROGRAMMING Programming Manual

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

BASIC commands
/i
Example
A pair of rollers feeds plastic film into a machine. The feed is synchronised to
a master encoder and is activated when the master reaches a position held in
the variable start. This example uses the table points 0...30 generated in the
example above:
start=1000
FORWARD AXIS(1)
WHILE IN(2)=OFF
CAMBOX(0,30,800,80,15,2,start)
WA(10)
WAIT UNTIL MTYPE=0 OR IN(2)=ON
WEND
CANCEL
CANCEL AXIS(1)
WAIT IDLE
The arguments of the CAMBOX command are:
0 is the start of the profile shape in the TABLE
30 is the end of the profile shape in the TABLE
800 scales the TABLE values. Each CAMBOX motion therefore
totals 800*2000 encoder edges steps.
80 is the distance on the product conveyor to link the motion to. The units
for this parameter are the programmed distance units on the link axis.
15 specifies the axis to link to.
2 is the link option setting. It means: Start at absolute position on the link
axis.
The variable start holds a position. The motion will execute when this
position is reached on axis 15.

PROGRAMMING MANUAL

fig. 9
MOTOR
AXIS 0
53

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TJ2-MC64 - PROGRAMMING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents