13: T
ROUBLESHOOTING
13-6
FC6A S
ERIES
MICROS
MART
U
SER
’
S
M
ANUAL
FC9Y-B1722
User Program Execution Error
This error indicates that invalid data is found during execution of a user program. When this error occurs, the ERR LED and special
internal relay M8004 (user program execution error) 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).
User Program
Execution Error Code
(D8006)
Error Details
1
Source/destination device exceeds range.
2
MUL result exceeds data type range.
3
DIV result exceeds data type range, or division by 0.
4
BCDLS has S1 or S1+1 exceeding 9999.
5
S1 is 10,000 or higher in the HTOB(W) instruction, or S1 is 100,000,000 or higher in the HTOB(D) instruction.
6
BTOH has any digit of S1 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
In the WEEK instruction, the ON time data exceeds range (hour data is 24 or higher, minute data is 60 or higher),
or the OFF time data exceeds range (hour data is 25 or higher, minute data is 60 or higher, hour data is 24 but
minute data is not zero).
WKTIM has S1, S2, and S3 exceeding the valid range.
S1: 0 through 127
S2/S3: Hour data 0 through 23, minute data 0 through 59
S2/S3 can be 10000.
WKTBL instruction is not programmed or WKTIM instruction is executed before WKTBL instruction when 1
(additional days in the week table) or 2 (skip days in the week table) is set for MODE in the WKTIM instruction.
10
In the YEAR instruction, the month and day data exceeds range (month data is 13 or higher, day data is 32 or
higher).
In the WKTBL instruction, S1 to Sn is out of the range (month data is not between 1 and 12, day data is not
between 1 and 31).
11
In the DGRD instruction, BCD and 5 digits are specified but the data exceeds 65,535.
12
CVXTY/CVYTX is executed without matching XYFS.
XYFS and CVXTY/CVYTX have the same S1, but have different data types.
13
CVXTY/CVYTX has S2 exceeding the value specified in XYFS.
14
Label in LJMP, LCAL, or DJNZ is not found.
16
Executed invalid PID/PIDA instruction.
18
Attempt was made to execute an instruction that cannot be used in an interrupt program (see "Instructions
Reference" on page 8-1).
19
Attempt was made to execute an instruction that is not available for the PLC.
20
Pulse output instructions have invalid values in operation parameters.
21
DECO has S1 exceeding 255.
22
BCNT has S2 exceeding 256.
23
ICMP>= has S1 < S3.
25
BCDLS has S2 exceeding 7.
26
DI or EI is executed when interrupt input or timer interrupt is not programmed in the Function Area Settings.
27
Work area is broken when using DTML, DTIM, DTMH, DTMS, or TTIM.
28
Source device data for F (float) data type instruction exceeds the valid range.
29
Result of F (float) data type instruction exceeds the data type range.
30
The shift data size or the number of bits to shift configured in the SFTL/SFTR instruction exceeds the valid range.
31
In the FIFOF instruction, the FIEX instruction or the FOEX instruction was executed before the FIFO data file was
registered.
32
TADD, TSUB, HOUR, or HTOS has invalid data for source device S1.
33
RNDM has invalid data. S1 data is greater than S2 data or S1 or S2 data exceeds 32,767.
35
In the SUM instruction, the execution result exceeds the valid range for the selected data type, or S2 data is 0.
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1722 8 FC6A SERIES User s Manual...
Page 12: ...TABLE OF CONTENTS Preface 11 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 182: ...2 PRODUCT SPECIFICATIONS 2 152 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 434: ...8 INSTRUCTIONS REFERENCE 8 18 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 520: ...11 SD MEMORY CARD 11 54 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 554: ...13 TROUBLESHOOTING 13 26 FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722...
Page 567: ...FC6A SERIES MICROSMART USER S MANUAL FC9Y B1722 A 13 APPENDIX ASCII Character Code Table...