Panasonic FP-XH M8N16PD User Manual page 447

Programmable controller
Table of Contents

Advertisement

 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

Advertisement

Table of Contents
loading

Table of Contents