Issue/Rev. 0.1 (9/13) ║ MNFL003 • Page 31
microFlow.net Liquid Modbus Communications Manual Appendix
5.0 04 Read Input Registers
Description
This function reads the binary contents of “input registers” in the microFlow.net Liquid.
These are “read-only” values; they cannot be written.
Query
The query message specifies the starting register and quantity of registers to be read.
Registers are addressed starting at zero.
An example of a request to read register 8 from microFlow.net Liquid 17 appears below:
Query
Field Name Example (Hex)
microFlow.net Liquid Address 11
Function 04
Starting Address Hi 00
Starting Address Lo 08
No. of Points Hi 00
No. of Points Lo 01
Error Check (CRC) --
Response
Each register data in the response message contains two bytes. The binary contents
are right justified within each byte. Within each register, the first byte contains the high
order bits and the Second byte contains the low order bits.
An example of a response to the preceding query appears below:
Response
Field Name Example (Hex)
microFlow.net Liquid
Address
11
Function 04
Byte Count 02
Data Hi (Register 30009) 00
Data Lo (Register 30009) 0A
Error Check (CRC) --
5.1 05 Force Single Relay
Description
Forces a single relay either ON or OFF.
Query
The query message specifies the relay reference to be forced. Relays are addressed
starting at zero.
A constant in the query data field indicates the required ON/OFF state. A value of FF 00
hex directs the relay to be ON. A value of 00 00 directs the relay to be OFF. No other
value is valid, nor will it affect the relay.