Industrial Electronic Devices
W
F
:
RITE
UNCTION
The request include the following byte:
The response includes the following byte:
The "Write Status Byte" (Byte 1) can have three values:
•
0x00: No error, operation completed with success;
•
0x01: Starting Address doesn't exist;
•
0x02: Too many Data to Write;
•
0x03: DeviceNet ID not present in the table "DeviceNet Netwok";
•
0x04: Wrong lenght of function;
•
0x05: Function not supported.
Example:
Slave DeviceNet: 13 ; DeviceNet IN: 20 ;
DeviceNet IN Array (0...19): $65 $64 $63 $62 $61 $60 $59 $58 $57 $56 $55 $54 $53 $52 $51 $50 $49 $48 $47 $46
R
: $01 $0E $00 $02 $00 $05 $30 $31 $32 $33 $34
EQ
R
: $00
ES
After that the New DeviceNet IN Array is: $65 $64
In blue you can find the data changed.
ADFweb.com S.r.l.
Byte Number
Description
1
Type of Operation (Write = 2)
2
ID of the Slave DeviceNet to Write
3
Starting Address Hi
4
Starting Address Lo
5
Number of Byte to Write Hi
6
Number of Byte to Write Lo
7÷n+6
Data Write
n=Number of Byte to Write
Byte Number
Description
1
Write Status Byte
$30 $31 $32 $33 $34
User Manual Ethernet / DeviceNet Master
Document code: MN67154_ENG
$58 $57 $56 $55 $54 $53 $52 $51 $50 $49 $48 $47 $46
Revision 1.100
Page 25 of 33
Need help?
Do you have a question about the HD67154-B2 and is the answer not in the manual?