Honeywell HC900 Network Card User Manual


 
Modbus/TCP & Modbus RTU Function Codes
Function Code 17 (11h) - Report HC900 ID
Revision 4 HC900 Hybrid Controller Communications User Guide 33
9/03
4.10 Function Code 17 (11h) - Report HC900 ID
Description
Function code 17 (11h) is used to report the device information such as Slave ID, device description and
firmware version.
Query
The query message specifies the function code only.
Example:
Read Device ID from a slave at address 2.
Query message format for function code 17 (11h)
Slave Address (00 for
TCP)
Function
Code
CRC (RTU) CRC (RTU)
TCP Example 00 11
RTU Example 02 11 CRC CRC
Response
The response is a record format describing the instrument.
Response message format for function code 17 (11h)
Slave
Address
Function
Code
Byte
Count
Slave
ID
Run
Indicator
Status
Device
Description
Model
ID
Device
Class
ID
Device
Mapping
CRC
(RTU)
CRC
(RTU)
Slave Address – 00 for TCP. RTU is slave address. Example: 02
Slave ID - The Slave ID number for the HC930 is 93 (hex); for the HC950 it is 95 (hex) (one byte) (byte
3)
Run Indicator Status - (one byte) (byte 4). 00=OFF; FF=ON
Device Description - (bytes 5-20)- 16 Character ASCII Message with the following format:
‘H’ ‘C’ ‘9’ ‘5’
or
‘3’
‘0’ ‘’ ‘‘ up to 9 character version number in
floating point notation.
zeros are appended for
the remaining bytes
For example, an HC950 with version number 2.000 would have the following device description:
‘H’ ‘C’ ‘9’ ‘5’ ‘0’ ‘’ ‘‘ ‘2’ ‘.’ ‘0’ ‘0’ ‘0’ 0 0 0 0
Model ID - 00 (one byte) (byte 21)
Device Class ID - The Device Classification. (one byte) (byte 22)
Class ID Class
00 Generic Class (Fixed Address Mappable)
01-FF Future
Generic Class (00) Device Mapping - Describes the I/O and feature mapping.
Number of
Records
Record
#1
Record
#2
Record
...
Record
#n
Continued