A PPENDIXA-12FC6A SERIES MICROS MART LADDER PROGRAMMING M ANUAL FC9Y-B1726User Program Execution ErrorThis error indicates that invalid data is found during execution of a user program. When this error occurs, the ERR LED and specialinternal relay M8004 (user program execution error) are turned on. The detailed information of this error can be viewed from theerror code stored in special data register D8006 (user program execution error code).User ProgramExecution Error Code(D8006)Error Details1 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.9In 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 butminute data is not zero).WKTIM has S1, S2, and S3 exceeding the valid range.S1: 0 through 127S2/S3: Hour data 0 through 23, minute data 0 through 59S2/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.10In the YEAR instruction, the month and day data exceeds range (month data is 13 or higher, day data is 32 orhigher).In the WKTBL instruction, S1 to Sn is out of the range (month data is not between 1 and 12, day data is notbetween 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 "InstructionsReference" on page 3-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 wasregistered.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.