2. Programming Concepts

Function Group Adjustment on Input Terminal Response Time

Number D1020

Contents:

1.D1020 can be used for setting up the response time of receiving pulses at X0 ~X7 for ES2 series MPU. Default: 10ms, 0~20ms adjustable.

2.When the power of PLC goes from “OFF” to “ON”, the content of D1020 is set to 10 automatically.

Terminal

response time

0

 

 

 

 

X0

 

 

0ms

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

 

 

1ms

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Set by D1020

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(default: 10)Update input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

 

 

status

X7

 

10ms

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15ms

 

 

 

 

Status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

memory

3.If the following programs are executed, the response time of X0 ~ X7 will be set to 0ms. However, the fastest response time of input terminals will be 50μs due to that all terminals are connected with RC filters..

M1000

MOV K0 D1020

normally ON contact

4.It is not necessary to adjust response time when using high-speed counters or interrupts

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

Function Group X6 pulse width detecting function

Number

M1083,M1084, D1023

Contents:

 

When M1084 = ON, X6 pulse width detecting function is enabled and the detected pulse width is stored in D1023 (unit: 0.1ms)

M1083 Ondetecting width of negative half cycle (OFFÆON)

M1083 Offdetecting width of positive half cycle (ONÆOFF)

2 - 5 9

Page 91
Image 91
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Number D1020 Contents, Number M1083,M1084, D1023 Contents