4.4 Leader and Follower
4-7
Subtasks 1 and 2 are determined as leader or follower with a tag SYNC in PSTART instruc-
tion.
4.4
Leader and Follower
Set either the subtask 1 or the subtask 2 as the follower. To set a follower, add a tag SYNC
and the leader subtask to the PSTART instruction of the master task. The subtask to which a
tag SYNC is added is follower while the subtask without a tag is leader.
The station axis is controlled by the leader job, and the follower job follows the movement of
station axis.
Register a PSTART instruction so that the follower job starts first.
Subtask 2
Subtask 1
Starts
Starts
Jobs
Master task
Shows the
connection among
relative jobs.
0004
0005
PSTART JOB:JOB-1 SUB1 SYNC SUB2
PSTART JOB:JOB-2 SUB2
Subtask 1 (follower)
Subtask 2 (leader)
In this case, the manipulator of subtask 1
synchronizes with the leader subtask 2.
Master task job
NOTE
71/210