DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 56 Operands: S 1 : External pulse input S 2 : Pulse receiving time (ms) D : Detected result (5 consecutive devices) Explanations: 1. The instruction counts the number of pulses received at input terminal S 1 during the time S 2 (ms) and stores the result in the register D . 2. ES2/EX2 before V0.92. External pulse input terminals designated in S 1 : 3. ES2/EX2 V1.00 or later. External pulse input terminals designated in S 1 : 4. SS2/SA2/SX2/12SE. External pulse input terminals designated in S 1 : 5.
D occupies 5 consecutive registers, D + 1 and D store the results of previous pulse detection; D +3 and D + 2 store the current accumulated number of pulses; D + 4 store the current time remaining (max. 32,767ms). 3-138 Mnemonic Operands Function Controllers SPD Speed Detection ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F SPD:
7 steps S 1 * S 2 * * * * * * * * * * * D * * * PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE Available input points X0, X2 X1 (X0/X1) X6, X7 Input mode 1-phase input (Supports single frequency ) AB-phase input (Supports quadruple frequency) 1-phase input (Supports single frequency) Max frequency 100KHz 5KHz 10KHz Available input points X0, X2 X1 (X0/X1), X3 (X2/X3) X5 (X4/X5), X7 (X6/X7) X4, X6 Input mode 1-phase input (Supports single frequency ) AB-phase input (Supports quadruple frequency) 1-phase input (Supports single frequency) Max frequency 100KHz 5KHz 10KHz Available input points X0, X2 X1 (X0/X1), X3 (X2/X3) X5 (X4/X5), X7 (X6/X7) X4, X6 Input mode 1-phase input (Supports single frequency ) AB-phase input (Supports quadruple frequency) 1-phase input (Supports single frequency) Max frequency SA2/SE/SX2:
100kHz SS2: 20kHz 5KHz. X1(X0/X1) of SA2/12SE: 30kHz 10KHz