FP
Σ
High-speed Counter and Pulse Output Functions
6 - 46
Relative value positioning operation (minus direction)
When X9 turns on, the pulse is output from CCW output “Y1” of specified channel CH0.
Y1
Y0
0 V (24 V DC)
X9
Pulse output CW
Pulse output CCW
Motor driver
(- side)
Motor
(+ side)
8000 pulses
Start input (-)
Figure 109: FP
Σ
Sample program - relative value positioning operation (– direction)
R903A
R20
R22
DF
X9
R20
R903A
R22
T0
R22
DF/
R20
DF
R20
R21
R21
Positioning operation running
Positioning operation start
F1 DMV
H 1100
,DT 100
F171 SPDH DT 100
,K 0
F1 DMV
K 1000
,DT 102
F1 DMV
K 6000
,DT 104
F1 DMV
K 300
,DT 106
F1 DMV
K -8000
,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:
1,000 Hz
Maximum speed:
6,000 Hz
Acceleration time:
300 msec
Target value (Movement amount) :-8,000 pulses
Pulse stop
00
Figure 110: FP
Σ
Sample program - relative value positioning operation (program)
Summary of Contents for FP Series
Page 15: ...FP Functions and Restrictions of the Unit 1 2...
Page 25: ...FP Specifications and Functions of Control Unit 2 2...
Page 37: ...FP Expansion 3 2...
Page 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Page 45: ...FP I O Allocation 4 2...
Page 51: ...FP Installation and Wiring 5 2...
Page 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Page 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Page 135: ...FP Communication Cassette 7 2...
Page 147: ...FP Communication Function 1 Computer Link 8 2...
Page 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Page 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Page 207: ...FP Communication Function 3 PLC Link Function 10 2...
Page 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Page 233: ...FP Other Functions 11 2...
Page 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Page 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Page 251: ...FP Specifications 13 2...
Page 323: ...Index FP I 4...
Page 325: ...FP Record of changes R 2...