6 Message Communications
6-8
CJ-series DeviceNet Units Operation Manual for NJ-series CPU Unit(W497)
The command code 28 01 can be used to send explicit DeviceNet messages to OMRON special slaves
and DeviceNet masters/slaves made by other manufacturers.
The local DeviceNet Unit is specified as the destination in the communications instruction in the PLC's
user program (not the OMRON Special Slave or DeviceNet device made by another manufacturer), and
the node address of the actual destination (i.e., the DeviceNet Slave or Master made by another manu-
facturer) is specified in the command data for the explicit message send command.
Precautions for Correct Use
Precautions for Correct Use
Depending on the network status, the destination slave may not always accept an explicit mes-
sage. Always perform retry processing when sending explicit messages.
EXPLICIT MESSAGE SEND will send an explicit DeviceNet message to the specified class and receive
a response.
z
Command Block
6-2-1
Sending Explicit Messages
EXPLICIT MESSAGE SEND (28 01)
NJ-series CPU Unit
SendCmd
Explicit
message
Header
Use 28 01 for the
command code.
Header
Response
DeviceNet Unit
Header
Header
Explicit
message
Response
DeviceNet
network
OMRON special slaves or
Slave or Master by other
manufacturer
Explicit message
Command
CPU Unit
SendCmd instruction:
Input variable
DnetAdr
:
InDNetAdr.NetNo
: Destination network address. Set 0 (local network).
InDNetAdr.NetNo
: Destination node address. Set 0 (communications within local PLC).
InDNetAdr.UnitNo
: Destination unit address. Set unit 16#10.
OMRON special slave
or master not by OMRON
or slave not by OMRON
Send
Cmd
01
28
Destination Node Address
Instance ID
Service Data
Class ID
Command
Code
534 bytes max.
Service Code
Содержание 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: ......