9.2 Independent Control Instructions
9-5
9.2
Independent Control Instructions
• < > indicates numerical or alphabetical data.
• If multiple items are shown in one section, select one of the items.
PSTART
Function
Starts a job.
Addi-
tional
Item
JOB: <Job name>
SUB1, SUB2, SUB3
(SUB4, SUB5, SUB6, SUB7)
Subtask that is started
SYNC
Added to follower task
SUB1, SUB2, SUB3
(SUB4, SUB5, SUB6, SUB7)
Leader subtask to be syn-
chronized
IF statement
Example PSTART SUB1
PSTART JOB:TEST-1 SUB1
PSTART JOB: TEST-1 SUB1 SYNC SUB2
Remarks If the job name is omitted, the master job registered in the
selected subtask is started.
PWAIT
Function
Waits for completion of subtask.
Addi-
tional
Item
SUB1, SUB2, SUB3
(SUB4, SUB5, SUB6, SUB7)
Subtask waiting for com-
pletion
Example PWAIT SUB1
TSYNC
Function
Synchronizes tasks.
Addi-
tional
Item
<synchronization No.>
1 to 32
SNUM=<the number of synchro-
nized tasks>
2 to 4 (8)
Example TSYNC 1
TSYNC 1 SNUM=3
202/210