User Program Execution Error - IDEC SmartAXIS FT9Z-1A01 User Manual

Table of Contents

Advertisement

14: T
R OUBLESHOOTI N G

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)
1
2
3
4
5
6
7
8
9
10
12
13
14
18
19
20
21
22
23
25
26
27
28
29
30
31
32
34
35
36
41
42
43
44
45
14-6
Source/destination device exceeds range.
MUL result exceeds data type range.
DIV result exceeds data type range, or division by 0.
BCDLS has S1 or S1+1 exceeding 9999.
S1 is 10,000 or higher in the HTOB(W) instruction, or S1 is 100,000,000 or higher in the HTOB(D) instruction.
BTOH has any digit of S1 exceeding 9.
HTOA/ATOH/BTOA/ATOB has quantity of digits to convert out of range.
ATOH/ATOB has non-ASCII data for S1 through S1+4.
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).
In the YEAR instruction, the month and day data exceeds range (month data is 13 or higher, day data is 32 or
higher).
CVXTY/CVYTX is executed without matching XYFS.
XYFS and CVXTY/CVYTX have the same S1, but have different data types.
CVXTY/CVYTX has S2 exceeding the value specified in XYFS.
Label in LJMP, LCAL, or DJNZ is not found.
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 "Ladder Program Instructions List" on page 8-1).
Attempt was made to execute an instruction that is not available for the PLC.
PULS, PWM, RAMP, ZRN, or ARAMP has an invalid value in control registers.
DECO has S1 exceeding 255.
BCNT has S2 exceeding 256.
ICMP>= has S1 < S3.
BCDLS has S2 exceeding 7.
DI or EI is executed when interrupt input or timer interrupt is not programmed in the Function Area Settings.
Work area is broken when using DTML, DTIM, DTMH, DTMS, or TTIM.
S1 for trigonometric function instruction is invalid.
Result of F (float) data type instruction exceeds the data type range.
The number of bits configured in the SFTL/SFTR instruction or SFR FB exceeds the valid range.
In the FIFOF instruction, the FIEX instruction or the FOEX instruction was executed before the FIFO data file was
registered.
TADD, TSUB, HOUR, or HTOS has invalid data for source device S1 or HOUR FB has invalid data for the Preset
value.
NDSRC has invalid data for source device S3.
In the SUM instruction, the execution result exceeds the valid range for the selected data type, or S2 data is 0.
DLOG/TRACE is executed but the capacity of CSV file exceeds 5 MB.
SD memory card is write protected.
The result of execution using the SCRPT instruction/FB is a value that indicates anything other than normal
completion.
The minimum value is greater than the maximum value in RCMP FB.
The shift registers specified by the start shift register and the number of bits in SFR FB does not exist.
In RPULS FB, the minimum value of ON time is greater than the maximum value of ON time, or the maximum
value of ON time is greater than the cycle time.
S
A XI S P
M AR T
R O
Error Details
/ L
U
'
M
FT9Y-B 1378
I TE
SER
S
ANUAL

Advertisement

Table of Contents
loading

Table of Contents