beautypg.com

2 functions of devices in dvp-plc – Delta Electronics Programmable Logic Controller DVP-PLC User Manual

Page 48

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-20

(ii) When DHSZ instruction uses new added high-speed counters, it can only use one group of SV in the

comparator.

(iii) The number of SVs in high speed comparison instructions offered by SA/SX series MPU will not decrease

owing to the increasing of high-speed counters.

(iv) If the output device of the high-speed comparison instruction DHSCS requires high-speed output, it is

recommended you use Y10 or Y11 for the output. If you use other general devices, the output will delay

for 1 scan period for its setup or clearing. For example, if I0x0 interruption is set, C243 will correspond to

I020, C245 to I040, and C250 and C255 to I060.

(v) The high speed comparison instruction DHSCR is able to clear the counter, but only the counters used in

the same instruction, e.g. DHSCR K10 C243 C243. This function only applies to 4 special high-speed

counters C243, C245, C250 and C255.

5. Counting

modes:

a) The 2-phase 2 inputs counting mode of the high speed counters in ES/EX/SS (V5.5 and above) and

SA/SX/SC series MPU is set by special D1022 with normal frequency, double frequency and 4 times

frequency modes. The contents in D1022 will be loaded in in the first scan when PLC is switched from STOP

to RUN.

Device No.

Function

D1022

Setting up the multiplied frequency of the counter

D1022 = K1

Normal frequency mode selected

D1022 = K2 or 0

Double frequency mode selected (default)

D1022 = K4

4 times frequency mode selected

b) Multiplied frequency mode (qr indicates the occurrence of counting)

Counting mode

Counting wave pattern

1

(Normal

frequency)

A-phase

B-phase

Counting up

Counting down

2

(Dou

ble

freque

ncy)

A-phase

B-phase

Counting up

Counting down

2-ph

ase 2 inp

uts

4

(4 times

freque

ncy)

A-phase

B-phase

Counting up

Counting down

EH/EH2/SV series MPU supports high speed counters. C235 ~ C240 are program-interruption 1-phase high