Response Codes - Omron NJ Series User Manual

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

4. When Execute changes to TRUE again, Busy changes to TRUE.
5. Execute is ignored if it changes to TRUE during instruction execution (i.e., when Busy is TRUE).
6. If an error occurs, several retries are attempted internally. The error code in ErrorID is not updated
during the retries.
7. When a communications error occurs, Error changes to TRUE and the value of ErrorID is stored.
Also, Busy and Done change to FALSE.
8. When Execute changes to FALSE, Error changes to FALSE.
Precautions for Correct Use
If Execute changes back to FALSE before Done changes to TRUE, Done stays TRUE for only
one task period. (Example 1)
If you want to see if Done is TRUE at any time, make sure to keep Execute TRUE until you
confirm that Done is TRUE.
If Execute is TRUE until Done changes to TRUE, Done stays TRUE until Execute changes to
FALSE. (Example 2)
Example 1
Execute
Busy
(Executing)
Done
8-2-10

Response Codes

This section describes the response codes stored in the ErrorIDEx output variable if an error occurs
during execution of a CIP message communications instruction.
General Status Codes
As response codes, general codes are stored in the ErrorIDEx output variable (DWORD data) after
execution of a CIP communications instruction is completed.
If an additional code is added, the additional code is also stored.
General status code (1 byte)
31
ErrorIDEx
General
status
code (hex)
00
Success
01
Connection failure
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Changes to
FALSE in next
task period.
24
23
16
Status name
Service was successfully performed by the object specified.
A connection related to service failed along the connection path.
8 CIP Message Communications
Example 2
Execute
Busy
(Executing)
Done
15
Additional code (1 word)
Description of status
When Execute
changes to
FALSE, Done
returns to FALSE.
8
0
8-35

Advertisement

Table of Contents
loading

Table of Contents