Sample program
X5
R9110 R103
DF
(
)
R100
R100
DF
(
)
R101
F167 HC1R
R101
R100
R100
R900C
R102
DF
(
)
R9110
R100
DF/
(
)
R103
①
Position control operation
②
Position control operation startup
③
Value thorough which high-speed counter CH0 passes being reset
Target value consistent OFF instruction: high-speed counter CH0's elapsed value reaches 5000 pulse,
④
Y0 changes to OFF.
⑤
Setting Y0 (inverter operation signal)
⑥
Setting Y1 (inverter high speed signal)
32 bit data compare instruction: when high-speed counter CH0's elapsed value exceeds 4500 pulse,
⑦
R900C becomes ON.
⑧
Reach deceleration point
⑨
Reset Y1 (inverter high speed signal)
⑩
Position control end pulse (0.5 s)
⑪
0.1 s timer: setting K5, used as 0.5 s timer
K0
F1 DMV
K0
K5000
K4500
F61 DCMP
T0
TMX 0
R100
1
R101
2
3
DT90300
4
Y0
Y0
SET
5
<
>
Y1
6
<
SET
>
7
DT90300
R102
8
Y1
9
<
RST
>
R103
10
K5
11
23.4 Sample Program
23-17