Omron TJ2-MC64 - PROGRAMMING Programming Manual page 303

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

Advertisement

Examples and tips
The motion profile and its modification due to the registration mark are
shown in fig. 39.
The BASIC program for this example is:
DEFPOS(0)
REGIST(3)
'Trigger the mark registration
MOVE(bag_length) 'Move to the theoretical distance
WA(1)
WAIT UNTIL MARK OR MTYPE=0
IF MARK THEN
end_position=REG_POS+distance_after_mark
MOVEMODIFY(end_position)
'Correct the distance according to the mark
ENDIF
Example: Starting a slave axis in precise position of a master
axis
The picture shows a flying shear cutting the "head" of wood tables. When
the wood comes, the edge of the wood is detected by the photocell and, at
the exact moment, the movement of the flying shear starts to be
synchronized with the right position on the wood.
If the movement is started by the program, upon detecting a signal from the
photocell, there is always at least one SERVO_PERIOD of time of
uncertainty. Instead, the movement is started using the MOVELINK
command with link_option=1, which means that the link to the master axis
starts when the registration event occurs on link (master) axis.
The corresponding program sequence is:
REGIST(2) AXIS(master)
MOVELINK(dst,lnk_dst,lnk_acc,lnk_dec,master,1) AXIS(slave)
For more information on the MOVELINK command and the link_option
argument, refer to section 3.2.196.
PROGRAMMING MANUAL
fig. 40
Feeder
2- The new target position is recalculated:
speed
TARGET POS=CAPTURED POS+"D"
1- The rising edge of
The area below the graph
the registration captures
(distance) is "D"
the feeder position
fig. 41
Slave axis
Flying shear
E
Transporting belt
t
t
E
Master axis
297

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

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

Table of Contents