29: T
ROUBLESHOOTING
29-6
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
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) are also 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 operand 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 9999.
5
HTOB(W) has S1 exceeding 9999.
6
BTOH has any digit of S1 exceeding 9.
7
HTOA/ATOH/BTOA/ATOB has quantity of digits to conver t out of range.
8
ATOH/ATOB has non-ASCII data for S1 through S1+4.
9
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 instruc-
tion when 1 (additional days in the week table) or 2 (skip days in the week table) is set for
MODE in the WKTIM instruction.
10
WKTBL has S1 through Sn out of range.
Month: 01 through 12
Day: 01 through 31
11
DGRD data exceeds 65535 with BCD5 digits selected.
12
CVXTY/CVYTX is executed without matching XYFS.
13
CVXTY/CVYTX has S2 exceeding the value specified in XYFS.
14
Label in LJMP/LCAL is not found.
15
TXD/RXD is executed while the RS232C por t 1 or 2 is
not
set to user communication mode.
16
PID instruction execution error (see page 21-4).
17
Preset value is written to a timer or counter whose preset value is designated with a data reg-
ister.
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, ROOT, WKTIM, WKTBL, DISP,
DGRD, TXD1, TXD2, RXD1, RXD2, DI, EI, XYFS, CVXTY, CVYTX, PULS1, PULS2, PWM1, PWM2,
RAMP, ZRN1, ZRN2, PID, DTML, DTIM, DTMH, DTMS, and TTIM (see page 5-21).
19
Attempt was made to execute an instruction that is not available for the PLC.
20
PULS1, PULS2, PWM1, PWM2, RAMP, ZRN1, or ZRN2 has an invalid value in control registers.
21
DECO has S1 exceeding 255.
22
BCNT has S2 exceeding 256.
23
ICMP>= has S1 < S3.
24
Interrupt program execution time exceeds 670 µs when using a timer interrupt
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.
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...