AS Series Module Manual
11-32
S3 is DeviceNet service code:
Get all attributes (Get_Attribute_All)
Set all attributes (Set_Attribute_All)
Get one single attribute (Get_Attribute_Single)
Set one single attribute (Set_Attribute_Single)
S4, S5 and S6 represent Class ID, Instance ID and Attribute ID respectively.
S7 is the written-data size with the unit: Byte.
S8 is the start device where written data are stored. The data are arranged in the order from low byte to high
byte.
S9 is the communication timeout time within the range: 1~100 and with the unit: 0.1 second.
S10 is the times of re-transmission within the range: 0~3. When communication timeout occurs, the
communication will be resent
D3 represents the error codes to read and write.
Explanation
XX FF Not conform to the DeviceNet standard
The target slave does not exist.
20 02 Unable to make the connection with the slave
Sending explicit message failed.
Explicit message response timeout.
D4 is the read-data size with the unit: Byte.
D5 is the start device where read data are stored. The data are arranged in the order from low byte to high
byte.
D1 and D2 are communication completion flag and error flag respectively.
Application Example 1
Control requirement: when M0=ON, read the data of class1>>instance1>>attribute1 of the DeviceNet function
card CMC-DN01.
Connection Figure
01DNET
MS
NS
x10
x10
IN 0
IN 1
Node Address
RTU Master Slave/
40
5
6
7
3
2
1
4
OUT
0
10
11
9
8
Ethernet
2
3
IN
4
6
5
7
1
0
10
11
9
8
COM1
AS324MT
COM2
BAT. L OW
POWER
RUN
ERROR
2 1
DeviceNet