beautypg.com

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

Page 100

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-72

1.

All PLC MPUs provide four different clock pulses. When PLC is powered, the four clock pulses will start

automatically.

M1011 (10 ms)

M1012 (100 ms)

M1013 (1 sec)

M1014 (60 sec)

100 Hz

10 Hz

1 Hz

10 ms

100 ms

1 sec

1 min

2.

The clock pulses also start when PLC is in STOP status. The activation timing of clock pulses and that of RUN

will not happen synchronously.

Function Group

High-Speed Timer

Number

M1015, D1015

Contents:

1.

The steps for using special M and special D directly:

a) High-speed counter is valid only when PLC is in RUN status for EH/EH2/SV, but is valid when PLC is in

RUN or STOP stauts for SA/SX/SC.

b) M1015 = On: High-speed counter D1015 is enabled only whtn PLC scans to END instruction. (Min. timing

unit of D1015: 100us)

c) Timing range of D1015: 0~32,767. When the timing reaches 32,767, the next timing restarts from 0.

d) M1015 = Off: D1015 stops timing immediately.

2.

EH/EH2/SV series MPU offers high-speed timer instruction HST. See API 196 HST for more details.

3. Example:

a) When X10 = On, M1015 will be On. The high-speed timer will start to time and record the present value in

D1015.

b) When X10 = Off, M1015 will be Off. The high-speed timer will be disabled.

X10

M1015

Function Group

Real Time Clock

Number

M1016, M1017, M1076, D1313 ~ D1319

Contents:

1.

Special M and special D relevant to RTC

No.

Name

Function

M1016 Year (in A.D.) in RTC

Off: display the last 2 digits of year in A.D.
On: display the last 2 digits of year in A.D. plus 2,000