![background image](http://html1.mh-extra.com/html/omron/cj1w-drm21/cj1w-drm21_operation-manual_742341197.webp)
6-9
6 Message Communications
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
6-2 Send
ing
E
x
plicit Messa
g
e
s
6
6-2-1 Sending Explicit Messages
z
Response Block
Normal Response
Error Responses
The following response is returned if an error occurs for the explicit message.
The following response is returned if the explicit message cannot be sent or times out.
z
Parameters
Destination Node Address (command):
The node address of the destination of the explicit mes-
sage. The node address of the local Master Unit is specified as the input variables
DstNetAdr
(Des-
tination network address) in the SendCmd instruction when the Explicit Message Send command is
sent, but the node address of the actual destination is specified here.
Service Code (command, response):
A service code defined for DeviceNet. In a normal response,
bit 15 of the service code specified in the command will be TRUE and returned. In an error
response, 94 Hex will always be returned.
Class ID (command):
The class ID of the destination of the explicit message.
Instance ID (command):
The instance ID of the destination of the explicit message.
Service Data (command, response):
In command, the data defined by the service codes are
specified. In response, the receive data defined by the service codes are returned.
No. of Bytes Received (response):
The number of bytes received from the destination node
address (remote node).
Destination Node Address (remote node) (response):
The node address of the remote device to
which the explicit message was sent is returned.
Error Code (response):
An error code defined by DeviceNet.
z
Explanation
•
This command sends a DeviceNet-defined explicit message to a DeviceNet Slave manufactured
by another company and receives a response.
•
When the Explicit Message Send command is sent, specify the DeviceNet Master Unit of the local
node address as the destination of the input variable
DstNetAdr
(Destination network address) in
the SendCmd instruction, and specify the node address of the actual destination by the "Destina-
tion Node Address" in the Explicit Message Send command.
Be sure to specify the Master Unit of the local node address as the input variables
DstNetAdr
(Destination network address) in the SendCmd instruction. If the Master Unit of any other node
address is specified, an error will occur.
•
If the DeviceNet Master receives an explicit message, it will automatically return a response.
01
28
00
00
Destination Node Address (remote node)
No. of Byte
Received
Service Data
Response
Code
Command
Code
534 bytes max.
Service Code
01
28
00
94
00
Destination Node Address (remote node)
Service Code 94 (Hex)
No. of Bytes
Received
Response
Code
Command
Code
Error Code
01
28
Response
received
Command
received
Содержание CJ1W-DRM21
Страница 12: ...Manual Structure 10 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 42: ...Revision History 40 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 214: ...6 Message Communications 6 26 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 ...
Страница 345: ...Index 1 CJ series DeviceNet Units Operation Manual for NJ series CPU Unit W497 I Index ...
Страница 349: ......