Speed Detection - Delta DVP-PLC Applications Manual

Table of Contents

Advertisement

API
Mnemonic
56
SPD
Type
Bit Devices
X
Y
OP
S
*
1
S
2
D
Operands:
: External pulse input terminal
S
1
Explanations:
1.
See the specifications of each model for their range of use.
2.
Flag: M1100 (SPD instruction performs sampling for one time)
3.
External pulse input terminals designated in S
MPU
Input
Available input points
4.
For SA/SX (V1.4 and above) series MPU and SC (V1.2 and above) series MPU, the new X0 and X1 can be
used together with A-B phase input points. When "A ahead of B" detection result is a positive value and "B
ahead of A" detection result is a negative value, the multiplied frequency of the counter can be set by D1022.
5.
The received number of pulses of the input terminal designated in S
designated in S
. The result is stored in the register designated in D.
2
6.
D will occupy 5 consecutive devices. D + 1 and D are the detected value obtained from the previous pulses; D
+3 and D + 2 are the current accumulated number of values; D + 4 is the counting time remaining (max.
32,767ms).
7.
Pulse frequency detection for all series:
MPU
Max. frequency
8.
This instruction is mainly used for obtaining a proportional value of rotation speed. The result D and rotation
speed will be in proportion. The following equation is for obtaining the rotation speed of motor.
( )
60
D
0
3
×
10
N=
nt
9.
The X input point designated by this instruction cannot be used again as the pulse input terminal of the high
speed counter or as an external interruption signal.
10. When M1036 in SC (V1.4 and above) series MPU is enabled, SPD instruction can detect the speeds at X0 ~ X5
7 - 2 4
Operands
M
S
K
H KnX KnY KnM KnS T
*
*
*
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
: Pulse receiving time (ms)
S
2
ES/EX/SS (V5.7and above)
X1, X2
ES/EX/SS (V5.7 and above)
X1 (20KHz), X2 (10KHz)
N:
Rotation speed
(
)
n:
The number of pulses produced per rotation
rpm
t:
Detecting time designated in S
7 Application Instructions API 50-99
Function

Speed Detection

Word Devices
C
*
*
*
*
*
*
*
PULSE
D: Detected result
for all series MPU:
1
SA/SX/SC
X0, X1, X2
SA/SX/SC
X0/X1 A-B phase input (4KHz)
X1 (30KHz), X2 (10KHz)
2
ES/EX/SS SA/SX/SC EH/SV
Program Steps
D
E
F
SPD: 7 steps
*
*
*
*
16-bit
EH/EH2/SV
X0 ~ X3
is calculated within the time (in ms)
1
EH/EH2/SV
X0/X1 (100KHz)
X2/X3 (10KHz)
(ms)
D V P - P L C A P P L I C AT I O N M A N U A L
Controllers
32-bit

Advertisement

Table of Contents
loading

Table of Contents