17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2. Programming Concepts<br />

Function Group<br />

Number<br />

Contents:<br />

Adjustment on Input Terminal Response Time<br />

D1020<br />

1. D1020 can be used for setting up the response time of receiving pulses at X0 ~X7 for <strong>ES2</strong><br />

series MPU. Default: 10ms, 0~20ms adjustable.<br />

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

automatically.<br />

Terminal<br />

X0<br />

X7<br />

response time<br />

0ms<br />

1ms<br />

10ms<br />

15ms<br />

0<br />

1<br />

Set by D1020<br />

(default: 10)<br />

Update input<br />

10<br />

status<br />

15<br />

Status<br />

memory<br />

3. If the following programs are executed, the response time of X0 ~ X7 will be set to 0ms.<br />

However, the fastest response time of input terminals will be 50μs due to that all terminals are<br />

connected with RC filters..<br />

M1000<br />

MOV K0 D1020<br />

normally ON contact<br />

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

5. Using API 51 REFF instruction has the same effect as modifying D1020.<br />

Function Group<br />

Number<br />

Contents:<br />

X6 pulse width detecting function<br />

M1083,M1084, D1023<br />

When M1084 = ON, X6 pulse width detecting function is enabled and the detected pulse width is<br />

stored in D1023 (unit: 0.1ms)<br />

M1083 On:detecting width of negative half cycle (OFFON)<br />

M1083 Off:detecting width of positive half cycle (ONOFF)<br />

2-59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!