User Program Execution Error - IDEC MICROSmart FC6A Series User Manual

Windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

13: T
ROUBLESHOOTING

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
11
12
13
14
16
18
19
20
21
22
23
25
26
27
28
29
30
31
32
33
35
13-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, 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.
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).
In the DGRD instruction, BCD and 5 digits are specified but the data exceeds 65,535.
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.
Executed invalid PID/PIDA instruction.
Attempt was made to execute an instruction that cannot be used in an interrupt program (see "Instructions
Reference" on page 8-1).
Attempt was made to execute an instruction that is not available for the PLC.
Pulse output instructions have invalid values in operation parameters.
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.
Source device data for F (float) data type instruction exceeds the valid range.
Result of F (float) data type instruction exceeds the data type range.
The shift data size or the number of bits to shift configured in the SFTL/SFTR instruction 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.
RNDM has invalid data. S1 data is greater than S2 data or S1 or S2 data exceeds 32,767.
In the SUM instruction, the execution result exceeds the valid range for the selected data type, or S2 data is 0.
FC6A S
MICROS
ERIES
Error Details
U
'
M
FC9Y-B1722
MART
SER
S
ANUAL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents