SmartAXIS Touch User's Manual
30-5
2 Error Information
30
Trou
ble
shootin
g
2.2 Program Execution Error
This error indicates that invalid data is found during execution of a ladder program or FBD program. When this error
occurs, the special internal relay M8004 (program execution error) is from 0 to 1. The detailed information of this
error can be viewed from the error code stored in special data register D8006 (program execution error code).
●
Ladder Program Execution Error Code (D8006)
Error Code
Error Details
1
Source/destination device 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 9,999.
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 or WEEK FB, the ON time data is out of range (hour data is 24 or higher, minute data is
60 or higher), or the OFF time data is out of range (hour data is 25 or higher, minute data is 60 or higher).
10
In the YEAR instruction or YEAR FB, the month and day data is out of 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
PID instruction execution error.
18
Attempt was made to execute an instruction that cannot be used in an interrupt program. (Refer to Chapter 3
“4.9 Interrupt Input” on page 3-74.)
19
Attempt was made to execute an instruction that is not available for the external device.
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
S1 for trigonometric function instruction is invalid.
29
Result of F (float) data type instruction is out of the data type range.
30
The number of bits configured in SFTL instruction, SFTR instruction or SFR FB 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 or HOUR FB has invalid data for Preset value.
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
In a DLOG/TRACE instruction or DLOG/TRACE FB, the size of the CSV file has exceeded 5 MB.
42
The execution is unsuccessful in SCRPT instruction or SCRPT FB.
43
The minimum value is greater than the maximum value in RCMP FB.
44
The shift registers specified by the start shift register and the number of bits in SFR FB does not exist.
45
In RPULS FB, the lower limit of ON time is greater than the upper limit of ON time, or the upper limit of ON time
is greater than the cycle.
Summary of Contents for SmartAXIS Touch FT1A Series
Page 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Page 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Page 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Page 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Page 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Page 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Page 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Page 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Page 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Page 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Page 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Page 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Page 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Page 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Page 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Page 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...