27: TROUBLESHOOTING
27-6 OPENNET CONTROLLER USER’S MANUAL
User Program Execution Error
This error indicates that invalid data is found during execution of a user program. When this error occurs, the ERROR
LED and special internal relay M8004 (user program execution error) are also turned on. The detailed information of this
error can be viewed from the error code stored in special data register D8006 (user program execution error code). The
error address is stored in special data register D8007 (user program execution error address).
User Program Execution
Error Code
(D8006)
Error Details
1 Source/destination operand is out of range
2 MUL result is out of data type range
3 DIV result is out of data type range, or division by 0
4 BCDLS has S1 or S1+1 exceeding 9999
5
HTOB(W) has S1 exceeding 9999
HTOB(D) has S1(S1+1) exceeding 99999999
6 BTOH has any digit of S1(S+1) exceeding 9
7 HTOA/ATOH/BTOA/ATOB has quantity of digits to convert out of range
8 ATOH/ATOB has non-ASCII data for S1 through S1+4
9
WKCMP has S1, S2, and S3 exceeding the valid range
S1: 0 through 127
S2: Hour data 0 through 23, minute data 0 through 59
S3: 0 through 2
10 WKTBL has S1 through Sn out of range
11 DGRD data exceeds 65535 with BCD5 digits selected
12 CVXTY/CVYTX is executed without matching XYFS
13 CVXTY/CVYTX has S2 exceeding the value specified in XYFS
14 Label in LJMP/LCAL/DJNZ is not found
15 TXD/RXD is executed while the RS232C port 1 or 2 is not set to user communication mode
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com