ADF Web HD67154-A1 Посібник користувача - Сторінка 11
Переглянути онлайн або завантажити pdf Посібник користувача для Шлюз ADF Web HD67154-A1. ADF Web HD67154-A1 15 сторінок. Gateway / bridge, ethernet from/to devicenet master
Industrial Electronic Devices
ETHERNET PROTOCOL:
This protocol has got two functions for write and read frames. These routines can use both the UDP protocol and the TCP by setting the
parameter wanted with the Compositor SW67154.
R
F
:
EAD
UNCTION
The request include the following byte:
The response includes the following byte:
The "Read Error Byte" (Byte 1) can have three values:
•
0x00: No error;
•
0x01: Starting Address doesn't exist;
•
0x02: Too many Data to Read.
If the "Read Error Byte" is 1 or 2 there aren't the data after the first byte (frame has got only one byte).
Example:
Slave DeviceNet: 13 ; DeviceNet OUT: 10 ; DeviceNet OUT Array (0...9): $46 $47 $48 $49
R
: $01 $0D $00 $04 $00 $06
EQ
R
: $00
$50 $51 $52 $53 $54 $55
ES
In blue you can see the requested data. There is an offset so first byte of the DeviceNet array is the 0 and not 1.
ADFweb.com Srl – IT31010 – Mareno – Treviso
Byte Number
Description
1
Type of Operation (Read = 1)
2
ID of the Slave DeviceNet to Read
3
Starting Address Hi
4
Starting Address Lo
5
Number of Byte to Read Hi
6
Number of Byte to Read Lo
Byte Number
Description
1
Read Error Byte
2÷n+1
Data Read
n=Number of Byte to Read
User Manual Ethernet from/to DeviceNet Master
Document code: MN67154_ENG
$50 $51 $52 $53 $54 $55
INFO:
www.adfweb.com
Revision 1.000
Page 11 of 14
Phone +39.0438.30.91.31