373
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.7 FNC 56 – SPD / Speed Detection
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
2. 32-bit operation (DSPD)
The input pulse is counted only for [ +1, ] x 1 ms. The measured value is stored in [ +1,
], the present value is stored in [ +3, +2], and the remaining time is stored in [ +5, +4]
(ms).
By repeating this operation, the measured value [ +1, ] will store the pulse density (which is proportional to
the rotation speed).
1) Timing chart
2) The measured value [ +1, ] is in proportion to the number of rotations as shown below:
S
1
S
2
S
2
D
D
D
D
D
D
D
D
FNC 56
DSPD
S
1
D
S
2
Command
input
Command
input
Measured value
ms
S
1
Current value
ms
Remaining time (ms)
The command contact is set to ON.
[ +3, +2] counts "OFF
→
ON" operation
of . [ +1, ] ms later, the counting result is
stored to [ +1, ].
Accompanied by this operation, [ +3, +2] is
reset, and then counting of the "OFF
→
ON" operation o
f
is started again.
D
S
2
D
[ +5, +4] is used to measure the remaining
time.
D
Counting time
S
1
D
[ +1, ]
D
D
[ +3, +2]
D
[ +1, ]
S
2
S
2
ms
[ +1, ]
S
2
S
2
[ +1, ]
S
2
S
2
D
[ +5, +4]
D
S
2
D
D
D
D
D
S
1
Counting time
D
D
N (rpm)
Input X000
Proximity switch
"n" pulses/rotation
60 [ +1, ]
nt
t: Measurement time duration specified as [ +1, ] (ms)
N =
×10
3
(r/min)