4
MODBUS FUNCTIONS $03 and $06
The DHC Series parameters can also be read using
Modbus Function $03 and written using Modbus Function
$06. Function $03 is restricted to reading a single register;
requesting more than 1 register causes an error response
with exception code $03. Table 2 provides a summary of
the available registers.
Register Addresses 0000 to 0017(hex) are
readable parameters; an error response with exception
code $03 is returned if the requested address is 0018(hex)
or higher. Register Addresses 0000 to 0005 are writeable
parameters; an error response with exception code $03 is
returned if Function $06 requests an address higher than
0005. Section IV describes the meaning of the data bytes
associated with the Modbus Function.
MODBUS FUNCTION $08
The OCM-101 supports the Modbus Diagnostics
Function ($08) and can be placed in the Listen Only Mode.
While in the Listen Only Mode, the OCM-101 will not
pass
bus commands to the DHC. If the OCM-101 receives a
Broadcast command (Modbus address $00), it will pass all
bus commands it receives to the DHC, provided that the
OCM-101 is not in the Listen Only Mode.
Table 2 - Modbus Functions $03 and $06 Registers
REGISTER
NUMBER
REGISTER
ADDRESS
PARAMETER
1
0000
OCM-101 PACS
®
Off Line Timer Value
2
0001
Aux Closed Position
3
0002
Aux Open Position
4
0003
PACS
®
Command Input
5
0004
PACS
®
Control Register
6
0005
PACS
®
Timeout Setting
7
0006
Analog Command Input
8
0007
Position
9
0008
Average % Duty Cycle
10
0009
Maximum Deviation
11
000A
Hours of Operation (MSW)
12
000B
Hours of Operation (LSW)
13
000C
Cycles of Operation (MSW)
14
000D
Cycles of Operation (LSW)
15
000E
Configuration / Alarm Flags
16
000F
Override Control / Mode
17
0010
Serial No. MSB / Model Code
18
0011
Serial Number
19
0012
OCM-101 Version (MSW)
20
0013
OCM-101 Version (LSW)
21
0014
Battery Voltage
22
0015
Average Motor Current
23
0016
Motor Current Trip Setting
24
0017
Alarm Flags / Alarm Flags 2