7.3 Program Table Operation
7.3.7 Program Table Operation Examples
7-29
7
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 /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 and the /POUT0 signal turns ON.
When positioning is completed to the target position, the /COIN 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 /COIN and POUT0 signals turn OFF and the /POUT1 signal turns ON.
When positioning is completed to the target position, the /COIN 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 NNNNA IT1000 1 1
1
I-400000
20000 – 1000 500000 250000 NNNAN IT2000 1 0
/START-STOP*
/SEL0 to
/SEL4*
/COIN
/MODE 0/1
1 s
/POUT0 to
/POUT4
2 s
1 s
0
1 12
1 ms min.
Operation
Pattern
1 ms min.
Speed
Time
Mode 0 (Program Table Operation)
Step 0
Step 1
Step 0