FPΣ
High-speed Counter and Pulse Output Functions
6-44
Relative value positioning operation (plus direction)
When X8 turns on, the pulse is output from CW output “Y0” of specified channel “CH0”.
Y0
0 V (24 V DC)
Pulse output CW
Pulse output CCW
Y1
Motor driver
(- side)
Motor
(+ side)
10000 pulses
X8
Start input (+)
Figure 106: FPΣ Sample program - relative value positioning operation (+ direction)
R903A
R10
R12
DF
X8 R10
R903A
R12
T0 R12
DF/
R10
DF
R10 R11
R11
Positioning operation running
Positioning operation start
F1 DMV H 1100 ,DT 100
F171 SPDH DT 100 ,K 0
F1 DMV K 500 ,DT 102
F1 DMV K 5000 ,DT 104
F1 DMV K 200 ,DT 106
F1 DMV K 10000 ,DT 108
F1 DMV K 0 ,DT 110
TMX 0, K 10
Program
Positioning data table
Pulse output instruction (table-shaped control)
The data table headed by DT100 is used and
pulses are output from CH0.
The data table headed by DT100
is used.
Pulses are output from CH0.
Positioning done pulse (1 second)
0.1 s type timer
Setting K10 and using it as a 1-second timer
H11
Duty 1/4 (25%)
48 Hz to 100 kHz
Incremental CW and CCW
* Control code
DT100
DT101
DT102
DT103
DT104
DT105
DT106
DT107
DT108
DT109
DT110
DT111
Control code *: H 1100
Initial speed: 500 Hz
Maximum speed: 5,000 Hz
Acceleration time: 200 msec
Target value (Movement amount) :10,000 pulses
Pulse stop
00
Figure 107: FPΣ Sample program - relative value positioning operation (program)