13.3 Program Table Operation
13.3.6 S Procedures
13-21
13
Operation with Digital I/O
EVENT
Specify the conditions to complete execution of the program steps.
When the end condition is met and the number of executions specified for LOOP is completed,
execution jumps to the program step specified by NEXT. If the number of executions specified
for LOOP has not been completed, the step will be executed again.
1.
Double-click the cell to edit.
The Event Dialog Box will be displayed.
2.
Set the condition and the wait time.
•
Condition
*
The edge is not detected, the level is.
•
Wait Time
3.
Click the
OK
Button.
This concludes the setting procedure.
LOOP
Specify the number of times to execute the step.
Note: NEXT is accessed after the number of executions specified with LOOP has been completed. You cannot
specify LOOP across more than one program step.
Select the cell to edit and set the value directly.
Selected Item
Description
Display in Pro-
gram Table
Positioning complete
[default setting]
The step ends when the /INPOSITION (Positioning Com-
pleted Output) signal turns ON (closes).
*
I
NEAR
The step ends when the /NEAR signal width is entered.
*
N
Command Issuance
Completion
The step ends when position reference distribution is
completed (DEN).
*
D
SEL0, SEL1, ...
The step ends when the /SELx input signal turns ON
(closes).
*
x = 0 to 7
SELx
Wait time
Execution waits for n milliseconds after the /INPOSITION
(Positioning Completion Output) signal turns ON (closes).
ITn
Execution waits for n milliseconds after the /NEAR (Near
Output) signal turns ON (closes).
NTn
Execution waits for n milliseconds after position reference
distribution is completed (DEN).
DTn
Execution waits for n milliseconds after the SELx input
signal turns ON (closes).
SELxTn
Same as previous step
The condition from the previous program step is used.
:
Unit for “n”
Setting Range of “n”
Default Setting
ms
0 to 99,999
IT0
Unit
Setting Range
Default Setting
Times
1 to 99,999
1