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.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

2. The default in the monitor timer is 200ms. If the program is long or the operation is too<br />

complicated, MOV instruction can be used to modify SV. See the example below for SV =<br />

300ms.<br />

M1002<br />

0 MOV K300 D1000<br />

Initial pulse<br />

3. The maximum SV in the monitor timer is 32,767ms. However, care should be taken when<br />

adjusting SV. If SV in D1000 is too big, it cost much longer for operation errors to be detected.<br />

Therefore, SV is suggested to be shorter than 200ms.<br />

4. Scan time could be prolonged due to complicated instruction operations or too many I/O<br />

modules being connected. Check D1010 ~ D1012 to see if the scan time exceeds the SV in<br />

D1000. Besides modifying the SV in D1000, users can also apply WDT instruction (API 07).<br />

When program execution progresses to WDT instruction, the internal monitor timer will be<br />

reset and therefore the scan time will not exceed the set value in the monitor timer.<br />

Function Group Program Capacity<br />

Number<br />

D1002<br />

Contents:<br />

This register holds the program capacity of the PLC.<br />

<strong>SS2</strong>: 7,920 steps (Word)<br />

<strong>ES2</strong> / <strong>EX2</strong> / <strong>SA2</strong> / <strong>SX2</strong> series: 15,872 steps (Word)<br />

Function Group<br />

Number<br />

Syntax Check<br />

M1004, D1004, D1137<br />

Contents:<br />

1. When errors occur in syntax check, ERROR LED indicator will flash and special relay M1004<br />

= ON.<br />

2. Timings for PLC syntax check:<br />

a) When the power goes from “OFF” to “ON”.<br />

b) When WPLSoft writes the program into PLC.<br />

c) When on-line editing is being conducted on WPLSoft.<br />

3. Errors might result from parameter error or grammar error. The error code of the error will be<br />

placed in D1004. The address where the fault is located is saved in D1137. If the error<br />

belongs to loop error it may not have an address associated with it. In this case the value in<br />

D1137 is invalid.<br />

4. For syntax error codes pease refer to section 6.2 Error Code table.<br />

Function Group<br />

Number<br />

Watchdog Timer<br />

M1008, D1008<br />

Contents:<br />

1. When the scan is time-out during execution, ERROR LED will be ON and M1008 = ON.<br />

2-56

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

Saved successfully!

Ooh no, something went wrong!