7.3 Program Table Operation
7.3.7 Program Table Operation Examples
7-33
7
Operation with Digital I/O
Outputting POUT Signals for the Specified Time
This example shows how to output the POUT signals in the next step for the specified length of
time after completing positioning for a program step.
Positioning is registered for steps 0, 2, and 4. POUT signal outputs are specified for steps 1, 3,
and 5.
The program table for this positioning is shown below.
•
Operating Procedure
Turn ON the /MODE 0/1 signal to change to mode 0.
Set the /SEL0 to /SEL4 signals to 0 to specify program step 0.
Turn ON the /START-STOP signal to start program table operation.
The /COIN signal turns OFF.
When positioning is completed to the target position, the /COIN signal turns ON.
Execution moves to program step 1 and the /POUT0 signal turns ON.
After a wait time of 2 seconds, execution of the program step specified with the NEXT set-
ting (program step 2) is executed.
The /COIN signal turns OFF.
When positioning is completed to the target position, the /COIN signal turns ON.
Execution moves to program step 3 and the /POUT1 signal turns ON.
After a wait time of 2 seconds, execution of the program step specified with the NEXT set-
ting (program step 4) is executed.
The /COIN signal turns OFF.
When positioning is completed to the target position, the /COIN signal turns ON.
Execution moves to program step 5 and the /POUT2 signal turns ON.
After a wait time of 2 seconds, execution of the program step specified with the NEXT set-
ting (program step 0) is executed.
The /COIN signal turns OFF.
Steps 4 to 9 are repeated.
•
Operation Pattern and Related Signal Timing
*
Do not change /SEL0 to /SEL7 for 4 ms after turning ON the /START-STOP signal.
PGM-
STEP
POS
SPD
RDST
RSPD
ACC
DEC
POUT
EVENT
LOOP
NEXT
0
I+200000
15000
–
1000
400000
200000
NNNNN
IT0
1
1
1
–
15000
–
1000
:
:
: : : : A
T2000
1
2
2
I-200000
30000
–
1000
:
:
NNNNN
IT0
1
3
3
–
30000
–
1000
:
:
: : : A :
T2000
1
4
4
I-200000
30000
–
1000
:
:
NNNNN
IT0
1
5
5
–
30000
–
1000
:
:
: : A : :
T2000
1
0
S
TART-
S
TOP
*
/COIN
/MODE 0/1
1
0
0
2
0
4
0
1
0
/POUT0 to
/POUT4
1 m
s
min.
Operation
Pattern
/
S
EL0 to
/
S
EL4
*
1 m
s
min.
S
peed
Time
Mode 0 (Program Table Operation)
2
s
S
tep 0
S
tep 1
S
tep
3
S
tep 5
S
tep 2
2
s
S
tep 4
2
s
S
tep 0
S
tep 1
2
s