![FMC Technologies Smith Meter microFlow.net Liquid Скачать руководство пользователя страница 33](http://html.mh-extra.com/html/fmc-technologies/smith-meter-microflow-net-liquid/smith-meter-microflow-net-liquid_manual_2312633033.webp)
Issue/Rev. 0.1 (9/13) ║ MNFL003 • Page 33
microFlow.net Liquid Modbus Communications Manual
Appendix
Response
An echo of the query, returned after the register con-tents have been preset, is a
normal response.
An example of a response to the preceding query appears below:
Response
Field Name
Example (Hex)
microFlow.net Liquid Address
11
Function
06
Register Address Hi
00
Register Address Lo
01
Preset Data Hi
00
Preset Data Lo
03
Error Check (CRC)
--
5.3
15 (0F Hex) Force Multiple Relays
Description
Forces each relay in a sequence of relays to either ON or OFF. The maximum number
of parameters by microFlow.net Liquid is limited to 256 per query.
Query
The query message specifies the relay references to be forced. Relays are addressed
starting at zero; thus, relay 1 is addressed as 0.
The contents of the query data field specify whether a state is ON or OFF. A logical
“1” in a bit position of the field requests the corresponding relay to be ON. A logical “0”
requests that the relay be OFF.
An example of a request to force a series of ten relays starting at address 15, or OF
hex in microFlow.net Liquid 17, appears below.
The query data content consists of two bytes: CD 01 hex (1100 1101 0000 0001 binary).
The binary bits correspond to the relays as shown below:
Bit:
1
1
0
0
1
1
0
1
0
0
0
0
0
0
0
1
Relay:
22
21
20
19
18
17
16
15
-
-
-
-
-
-
24
23
The first byte transmitted (CD hex) addresses relays 22 through 15, with the least sig-
nificant bit corresponding to the lowest relay (15) in this set.
The next byte transmitted (01 hex) addresses relays 24 to 23, with the least significant
bit corresponding to the lowest relay (23) in this set. Unused bits in the last data byte
are padded with zeros.