Horner APG SmartStack I/O HE800DNS600/HEDNS600 User Manual
Page 86

MAN0577-03-en
Page 86 of 98
EO 09-0009
DeviceNet Modules
HE800DNM650 & HE800DNS600
REGISTER DESCRIPTION
VALUE
%AQ1
Start of Transmit Buffer
101
%AQ2
Number of Bytes to Transmit
7
%AQ3
Start of Receive Buffer
51
%AQ4
Receive Buffer Allocation Size
20
In the following example we want to write the polled expected packet rate to the node at MACID 3, we
also want to locate the transmit buffer at %R101, the receive buffer at %R51, we will also allocate 20
bytes to the receive buffer.
BYTE
NUMBER
REGISTER
NUMBER
DESCRIPTION
TRANSMIT
BUFFER DATA
0
R101 LSB
MACID (Node Address)
03
1
R101 MSB
Service Code (Set Attribute Single)
16
2
R102 LSB
Class ID (Connection Class)
05
3 R102
MSB
00
4
R103 LSB
Instance ID (Polled Connection)
02
5 R103
MSB
00
6
R104 LSB
Attribute (Expected Packet Rate)
07
7
R104 MSB
Data Value Low Byte
E8(Hex)
8
R105 LSB
Data Value High Byte
03
REGISTER DESCRIPTION
VALUE
%AQ1
Start of Transmit Buffer
101
%AQ2
Number of Bytes to Transmit
9
%AQ3
Start of Receive Buffer
51
%AQ4
Receive Buffer Allocation Size
20
9.3
How to Interpret Explicit Response Messages
The normal, expected response from an Explicit Message is the Acknowledge Message:
BYTE
NUMBER
DESCRIPTION
EXAMPLE
0 Number
of
bytes received
Xx
1 Xx
2 MACID 01
3 *Service
Code
0x90(Hex)
4 Optional
Data
Xx
- Optional
Data
Xx
- Optional
Data
Xx
n Optional
Data
Xx
* Previously sent Service Code (0x10) + 0x80
Note: The Most Significant Bit in the Service Code byte is used as a Response Bit indicating that the
command was properly received. [Service Code 0x10 + Response Bit 0x80 = 0x90]. If any extra data
needs to be returned, that data will be placed into subsequent bytes.