33
E3X-DRT21-S
User’s Manual
Sect
ion 3
Dev
ic
e
Net
Co
m
m
u
n
ic
at
io
n Se
tt
ings
Section 3
Overview of DeviceNet Communication Type
Example of Explicit Message Communications
Example: When setting maximum sensitivity to unit No. 1
• Command Format for Setting Maximum Sensitivity
Send the following Explicit messages:
DeviceNet unit (CS1W-DRM21)
Unit number 0 (unit No. address: FEHex or 10Hex) DeviceNet node address 05
CS1
CPU
Unit
CMND
command
DeviceNet
Sensors
Unit No. 1
Set maximum sensitivity to this unit.
E3X-DRT21-S
Node Address 00
Explicit Messages
Destination Node
Address
Service
Code
Class ID
Instance
ID
Attribute ID
00Hex
16 Hex
009EHex
0001Hex
30Hex
S:
D01000 2
8
0
1
Command code
D01001 0
0
1
6
Slave node address: 00, ServiceCode: 16Hex
D01002 0
0
9
C
ClassID: 009CHex
D01003 0
0
0
1
InstanceID: 0001Hex (unit No.)
D01003 3
0
0
0
Data: 30Hex (Fixed)
D:
D02000
Head CH number for response store
C:
D00000 0
0
0
9
Byte length of command data: 9
D00001 0
0
0
A
Byte length of response data
D00002 0
0
0
1
Destination network address: 1
D00003 0
5
F
E
Destination DeviceNet node address: 05Hex
Destination unit No. address: FEHex (10Hex is also acceptable)
D00004 0
0
0
0
Response required, communication port No. 0, retry number:
0Hex
D00005 0
0
C
8
Response monitoring timer: 20 seconds
Executing Condition
A20200
151100 or 152412
Network
communications
enabled
Online state or
message
communications enabled
CMND
D01000
D02000
D00000
Command data of 10 bytes
from D01000 is sent to
destination node address 05,
then its response data of 10
bytes is stored into D02000 of
the local node (D00000 is
control data)