Chapter 4 PLC Features
4.3 Error Code
ME0416-1A
4-23
4.3 Error Code
An error code should be generated when a calculation error has occurred during execution of a
ladder program. An error code should be stored in OM_SD2 and an error step in OM_SD3.
Shown below is a list of error codes to be generated in RCON-LC. There are error codes
generated at the startup (when power turned or ladder program being written) and those during
execution (during execution of a ladder program).
List of Error Codes
Code
Cause of Occurrence
Timing of
Occurrence
1
Command code error
During
Execution
2
There is no label indicated in JE, JMP or CALL (P) Command
L255 called in CALL (P) Command (index used)
3
END (or ENDS) Command executed after CALL (P) Command executed before
RET Command executed
RET Command executed before CALL (P) Command executed
END (or ENDS) Command executed after FOR Command executed before NEXT
Command executed
NEXT Command executed before FOR Command executed
Number of FOR Command and number of NEXT command do not match with
each other
BREAK Command executed in timing other than between FOR and NEXT
Commands
4
Access made to out of OM available range by inappropriate index value
Transfer range is out of OM available range in MCYP (P) or MSET (P) Command
Content of FIFO Table top a Pointer is out of OM available range when
FIFW (P) Command executed
5
From position indicated in S in ENCO Command to 2n bit all 0
FIFR (P) Command executed while pointer is 0
7
BCD, BIN Conversion Data Error
8
Division by 0 executed
11
Nesting of CALL (P) to RET Commands exceeded 8 layers
Nesting of FOR to NEXT Commands exceeded 5 layers
21
Execution of DFC Command failed
22
128 points or more of Positioning Command made in description to the same axis
At Startup
23
Inappropriate value set in S1 for Positioning Command
24
Inappropriate value set in S2 for Positioning Command
25
Value of D set in S1 for Positioning Command is 0 or below or exceeding
maximum position number
During
Execution
26
Positioning Command executed before executing Axis Control Command or with
the operation mode setting inappropriate.
27
Positioning Command executed with setting other than a positioner mode
established in S2 for Axis Control Command
28
Positioning Command executed with home-return operation incomplete
29
Fieldbus Communication Command (DFC9) and Fieldbus Communication
Command 2 described during program
At Startup
30
Fieldbus Communication Command 2 (DFC34) described several times during
program
31
Inappropriate value set in S2 for Fieldbus Communication Command 2 (DFC34)
32
DFC Command not supported
At Startup
99
WDT Error
During
Execution
Содержание RCON-LC
Страница 2: ......
Страница 18: ...International Standard Compliance Intro 11 ME0416 1A ...
Страница 110: ...Chapter 4 PLC Features 4 3 Error Code 4 24 ME0416 1A ...
Страница 114: ...Revision history Revision history Post 1 ME0416 1A Revision history Revision date Revised content 2020 07 First Edition ...
Страница 115: ......
Страница 116: ......