13.3 Program Table Operation
13.3.8 Program Table Operation Examples
13-29
13
Operation with Digital I/O
Specifying the Next Step to Execute in the NEXT Setting
In this example, repeated positioning is performed using program steps 0 and 1.
Step 0 performs relative positioning for 300,000 reference units at a speed of 15,000,000 refer-
ences units/min. The acceleration rate is 400,000,000 reference units/min/ms and the deceler-
ation rate is 200,000,000 reference units/min/ms.
Step 1 performs relative positioning for -400,000 reference units at a speed of 20,000,000 ref-
erences units/min. The acceleration rate is 500,000,000 reference units/min/ms and the decel-
eration rate is 250,000,000 reference units/min/ms.
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 /SEL7 signals to 0 to specify program step 0.
Turn ON the /START-STOP signal to start program table operation.
The /INPOSITION signal turns OFF and the /POUT0 signal turns ON.
When positioning is completed to the target position, the /INPOSITION signal turns ON.
After a wait time of 1 second, execution of the program step specified with the NEXT set-
ting (program step 1) is executed.
The /INPOSITION and POUT0 signals turn OFF and the /POUT1 signal turns ON.
When positioning is completed to the target position, the /INPOSITION 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.
Steps 4 to 7 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+300000
15000
–
1000
400000
200000 NNNNNNNA IT1000
1
1
1
I-400000
20000
–
1000
500000
250000 NNNNNNAN IT2000
1
0
/START-STOP
*
/SEL0 to
/SEL7
*
/INPOSITION
/MODE 0/1
1 s
/POUT0 to
/POUT7
2 s
1 s
0
1
1
2
4 ms min.
Operation
Pattern
2 ms min.
Speed
Time
Mode 0 (Program Table Operation)
Step 0
Step 1
Step 0