2. Programming Concepts
Contents:
This register holds the program capacity of the PLC.
SS2: 7,920 steps (Word)
ES2 / EX2 / EC5 / SA2 / SX2 / SE series: 15,872 steps (Word)
Contents:
1. When errors occur in syntax check, ERROR LED indicator will flash and special relay M1004 =
ON.
2. Timings for PLC syntax check:
a) When the power goes from “OFF” to “ON”.
b) When WPLSoft writes the program into PLC.
c) When on-line editing is being conducted on WPLSoft.
3. Errors might result from parameter error or grammar error. The error code of the error will be
placed in D1004. The address where the fault is located is saved in D1137. If the error belongs
to loop error it may not have an address associated with it. In this case the value in D1137 is
invalid.
4. For syntax error codes pease refer to section 6.2 Error Code table.
Contents:
1. When the scan is time-out during execution, ERROR LED will be ON and M1008 = ON.
2. D1008 saves the STEP address where the timeout occurred
Contents:
The present value, minimum value and maximum value of scan time are stored in D1010 ~ D1012.
D1010: current scan time
D1011: minimum scan time
D1012: maximum scan time
Contents:
1. PLC provides four different clock pulses to aid the application. When PLC is power-on, the four
clock pulses will start automatically.
M1011 (10 ms)
M1012 (100 ms)
M1013 (1 sec)
M1014 (60 sec)
1
0
0 Hz
10 Hz
1 Hz
10 ms
100 ms
1 sec
1 min
2. Clock pulse works even when PLC stops, i.e. activation of clock pulse is not synchronized with
PLC RUN execution.