13: T
ROUBLESHOOTING
13-6
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
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).
10
In the YEAR instruction, the month and day data exceeds range (month data is 13 or higher, day data is 32 or
higher).
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:
SOTU, SOTD, TML, TIM, TMH, TMS, CNT, CDP, CUD, SFR, SFRN, WEEK, YEAR, MSG, TXD, RXD, DI, EI, XYFS,
CVXTY, CVYTX, AVRG, PULS, PWM, RAMP, ZRN, ARAMP, DTML, DTIM, DTMH, DTMS, TTIM, FIFOF, NDSRL, HOUR,
ETXD, ERXD, DLOG, and TRACE (see "Basic Instruction List" on page 8-1).
19
Attempt was made to execute an instruction that is not available for the PLC.
20
PULS, PWM, RAMP, ZRN, or ARAMP has an invalid value in control registers.
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.
34
NDSRC has invalid data for source device S3.
35
In the SUM instruction, the execution result exceeds the valid range for the selected data type, or S2 data is 0.
36
DLOG/TRACE is executed but the capacity of CSV file exceeds 5 MB.
41
SD memory card is write protected.
42
The result of execution using the SCRPT instruction is a value that indicates anything other than normal
completion.
46
In the SCALE instruction, the input minimum value is larger than the input maximum value, the output minimum
value is larger than the output maximum value, or the dead band data exceeds the valid range.
48
PULS/PWM/RAMP/ZRN/ARAMP/JOG instructions using the same pulse output port are executed at the same time.
Summary of Contents for FC6A series
Page 1: ...B 1722 2 FC6A SERIES All in One Type User s Manual ...
Page 10: ...TABLE OF CONTENTS Preface 9 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 28: ...1 GENERAL INFORMATION 1 18 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 286: ...6 DEVICES 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 334: ...7 HMI FUNCTION 7 48 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 340: ...8 INSTRUCTIONS REFERENCE 8 6 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 360: ...9 FUNCTIONAL MODULES 9 20 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 368: ...10 ANALOG CARTRIDGE 10 8 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...