8-27
8 Message Communications
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
8-2 Using
CIP Messa
g
e Co
mm
un
icati
ons
8
8
-2
-9 Response Cod
e
s
Precautions for Correct Use
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 con-
firm that Done is TRUE. If Execute is TRUE until Done changes to TRUE, Done stays TRUE until
Execute changes to FALSE. (Example 2)
This section describes the response codes stored in the output variable ErrorIDEx if an error occurs
during the execution of a CIP message communications instruction.
As response codes, general codes are stored in the ErrorIDEx output variable (DWORD data) after exe-
cution of a CIP communications instruction is completed. If an additional code is added, the additional
code is also stored.
8-2-9
Response Codes
General Status Codes
General sta-
tus code (hex)
Status name
Description of status
00
Success
Service was successfully performed by the object speci-
fied.
01
Connection failure
A connection related to service failed along the connection
path.
02
Resource unavailable
Resources needed for the object to perform the requested
service were unavailable.
03
Invalid parameter value
See Status Code 20 hex.
04
Path segment error
The path segment identifier or the segment syntax was
not understood by the processing node. Path processing
stops when a path segment error occurs.
05
Path destination unknown
The path is referencing an object class, instance, or struc-
ture element that is not known or is not contained in the
processing node. Path processing stops when a Path Des-
tination Unknown Error occurs.
06
Partial transfer
Only part of the expected data was transferred.
07
Connection lost
The message connection was lost.
Execute
Done
Execute
Done
Busy
(Executing)
Busy
(Executing)
Changes to
FALSE in next
task period.
When Execute
changes to
FALSE, Done
returns to FALSE.
Example 1
Example 2
General status code (1 byte)
Additional code (1 word)
ErrorIDEx
31
23
16
15
0
24
Содержание SYSMAC CJ1W-EIP21
Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Страница 437: ......