ADF Web HD67506M Посібник користувача - Сторінка 13

Переглянути онлайн або завантажити pdf Посібник користувача для Промислове обладнання ADF Web HD67506M. ADF Web HD67506M 18 сторінок.

ADF Web HD67506M Посібник користувача
Industrial Electronic Devices
The Bytes that composed the respons are these:
The "Status of operation" (Byte Number 1) can have these values:
0xFF: Ok;
0xFE: Different from Write;
0xFC: Writing but function different from 5,6,15,16;
0xFB: The slave interrogated hasn't replied in the TimeOut time;
0xFA: The reply CRC is wrong;
0xF9: Returned function is different from the one requested;
0xF7: Number of byte less than 9;
0xF6: Number of data to wrote is different from 1 or the frame length is wrong if the function is 5,6;
0xF5: Number of data to wrote is less than 1 or the frame length is wrong if the function is 15,16;
0x03: Illegal data value, the value referenced in the data field is not allowable in the addressed slave location;
0x02: Illegal data address, the address referenced in the data field is not an allowable address for the addressed slave device;
0x01: Illegal function, the message function received is not an allowable action for the addressed slave.
Examples:
1) We want to write two points with the following features:
Type of Data: Holding Register; Device Address: 5; Start Address: 0x0115; Number of Point: 2; Data 1: 0x1122; Data 2: 0x3344.
So the string of hexadecimal numbers is:
REQ:[02][10][05][01][15][00][02][11][22][33][44]
RES:[FF]
2) We want to set to 1 the Coil Status at address 0x115:
Type of Data: Coil Status; Device Address: 5; Start Address: 0x0115; Number of Point: 1; Data 1: 0xFF00.
So the string of hexadecimal numbers is:
REQ:[02][05][05][01][15][00][01][FF][00]
RES:[FF]
ADFweb.com S.r.l.
Byte Number
Description
1
Status of operation
User Manual Modbus Master / Ethernet
Document code: MN67506_ENG
Revision 1.012
Page 13 of 18