beautypg.com

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

Page 53

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-25

Flag

Function

D1225 ~ D1228

Counting modes of HHSC0 ~ HHSC3 in EH/EH2/SV series MPU (default = 2)

1: Normal frequency counting mode

2: Double frequency counting mode

3: Triple frequency counting mode

4: 4 times frequency counting mode

1-phase 1 input high-speed counter

Example:

LD

X10

RST C241
LD X11
OUT M1241
LD X12
DCNT C241 K5
LD C241
OUT Y0

C241

Y0

X12

C241

K5

DCNT

X11

C241

RST

X10

M1241

1. X11 drives M1241 to determine whether C241 is an addition or subtraction counter.

2. When X10 is On, RST instsruction will be executed and the PV in C241 will be cleared to “0” and the contact will

be Off.

3. In C241, when X12 is On and C241 receives the signals from X0, the PV in the counter will count up (plus 1) or

count down (minus 1).

4. When the counting of C241 reaches SV K5, the contact of C241 will be On. If there are still input signals from X0,

the counting will continue.

5. C241 in ES/EX/SS and SA/SX/SC series MPU has external input signals to reset X1.

6. C241 in EH/EH2/SV series MPU has external input signals to reset X2 and start X3.

7. The external input contact of reset signal of C241 (HHSC0) in EH/EH2/SV series MPU is disabled by M1264. The

external input contact of start signal is disabled by M1265.

8. The internal input contact of reset signal of C241 (HHSC0) in EH/EH2/SV series MPU is disabled by M1272. The

internal input contact of start signal is disabled by M1273.

9. The counting modes (normal frequency or double frequency) of C246 (HHSC0) in EH/EH2/SV series MPU can be

set up by D1225. The default setting is double frequency mode.