3. Instruction Set

6.S1 +0 specifies the sampling times. The set value of sampling times is recommended to be bigger when the input speed increases, so as to achieve a higher accuracy for speed catching. For example, set S1 +0 as K1 for the speed range 1Hz~1KHz, K10 for the speed range 10Hz~10KHz, K100 for the speed range 100Hz~10KHz. For single phase input, the max frequency is 10kHz; for 2-phase 2 inputs, the max frequency is 2kHz.

7.D occupies 3 consecutive 16-bit registers. D +0 specifies the output proportion value. Valid range: K1 (1%) ~ K10000 (10000%). If the specified value exceeds the valid range, PLC will take the lower/upper bound value as the set value. Output proportion can be changed during PLC operation, however the modified value will take effect until program scan proceeds to this instruction. D+2 and D+1 indicates the output speed in 32-bit data. Unit: 1Hz. Valid range:

±100kHz.

8.The speed sampled by PLC will be multiplied with the output proportion D+0, then PLC will generate the actual output speed. PLC will take the integer of the calculated value, i.e. if the calculated result is smaller than 1Hz, PLC will output with 0Hz. For example, input speed:

10Hz, output proportion: K5 (5%), then the calculation result will be 10 x 0.05 = 0.5Hz. Pulse output will be 0Hz; if output proportion is modified as K15 (15%), then the calculation result will be 10 x 0.15 = 1.5Hz. Pulse output will be 1Hz.

Program Example:

1.If D0 is set as K2, D10 is set as K100:

When the sampled speed on (X0, X1) is +10Hz (D1 = K10), (Y0, Y1) will output pulses with +10Hz (D12, D11 = K10); When the sampled speed is -10Hz (D1 = K-10), (Y0, Y1) will output pulses with -10Hz (D12, D11 = K-10)

2.If D0 is set as K2, D10 is set as K1000:

When the sampled speed on (X0, X1) is +10Hz (D1 = K10), (Y0, Y1) will output pulses with +100Hz (D12, D11 = K100); When the sampled speed is -100Hz (D1 = K-100), (Y0, Y1) will output pulses with -100Hz (D12, D11 = K-100)

3.If D0 is set as K10, D10 is set as K10:

When the sampled speed on (X0, X1) is +10Hz (D1 = K10), (Y0, Y1) will output pulses with +1Hz (D12, D11 = K1); When the sampled speed is -10Hz (D1 = K-10), (Y0, Y1) will output pulses with -1Hz (D12, D11 = K-1)

M0

CSFO X1 D0 D10

3 - 4 6 7

Page 583
Image 583
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Csfo X1 D0 D10