Upload
cedar1015
View
40
Download
2
Embed Size (px)
DESCRIPTION
Simply Modbus - Function Code 04 - Read Input Registers
Citation preview
Home
About
MODBUSfc01
fc02
fc03
fc04
fc05
fc06
fc15
fc16
ASCII
TCP
exceptions
About
Enron
MODBUS
RTU Master
RTU Slave
TCP Client
Download
Purchase
Contact
Read Input Registers (FC=04)Request
This command is requesting the content of analog input register # 30009from the slave device with address 17.
11 04 0008 0001 B298
11: The Slave Address (17 = 11 hex)04: The Function Code (read Analog Input Registers)0008: The Data Address of the first register requested. (30009-30001 = 8)0001: The total number of registers requested. (read 1 register) B298: The CRC (cyclic redundancy check) for error checking.
Response
11 04 02 000A F8F4
11: The Slave Address (17 = 11 hex)04: The Function Code (read Analog Input Registers)02: The number of data bytes to follow (1 registers x 2 bytes each = 2 bytes)000A: The contents of register 30009F8F4: The CRC (cyclic redundancy check).
Home FAQ Enron Download Purchase ContactCopyright 2013 Simply Modbus. All rights reserved
Simply Modbus - Function Code 04 - Read Input Registers http://www.simplymodbus.ca/FC04.htm
1 of 1 3/5/2015 8:55 PM