beautypg.com

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

Page 102

background image

2 Functions of Devices in DVP-PLC

DVP-PLC Application Manual

2-74

5.

D1021 can be used for setting up the response time of receiving pulses at X10 ~X17 for EH/EH2/SV series

MPU. (Setup range: 0 ~ 60; Unit: ms)

6.

When the power of PLC goes from “Off” to “On”, the content of D1020 and D1021 turn to 10 automatically.

X0

X17

0ms

1ms

10ms

15ms

0

1

10

15

Terminal

response time

Status

memory

Regenerating input

Set by D1020 (default: 10)

7.

If the following programs are executed during the program, the response time of X0 ~ X7 will be set to 0ms. The

fastest response time of input terminals is

50μs due to that all terminals are connected with RC filter loop.

M1000

MOV

K0

D1020

normally ON contact

8.

There is no need to make adjustment on response time when using high-speed counters and interruptions

during the program.

9.

Using API 51 REFF instruction has the same effect as modifying D1020 and D1021.

Function Group

Execution Completed Flag

Number

M1029, M1030, M1036, M1037, M1102, M1103

Contents:

Using execution completed flag:

1.

API 52 MTR, API 71 HKY, API 72 DSW, API 74 SEGL, API 77 PR: M1029 = On whenever the instruction

completes one scan period.

2.

API 57 PLSY, API 59 PLSR:

a) M1029 will be “On” after Y0 pulse output of SA/SX/SC/ES/EX/SS is completed. M1030 will be “On” after Y1

pulse output is compeleted. When PLSY and PLSR instruction is “Off”, M1029 and M1030 turn “Off”. You

have to reset M1029 and M1030 after the action is completed.

b) M1029 will be “On” after Y0 and Y1 pulse output of EH/EH2/SV is completed. M1030 will be “On” after Y2

and Y3 pulse output is compeleted. M1036 will be “On” after Y4 and Y5 pulse output of EH2/SV is

completed. M1037 will be “On” after Y6 and Y7 pulse output is completed.When PLSY and PLSR

instruction is “Off”, M1029, M1030, M1036 and M1037 turn “Off”. When the instruction is re-executed for the

next time, M1029, M1030, M1036 and M1037 will turn “Off” and “On” again when the execution is

completed.

3.

API 63 INCD: M1029 will be “On” for a scan period when the assigned group number of data are compared.

4.

API 67 RAMP, API 69 SORT: