SIMPRO-100
Modbus
™
RTU Communications Protocol
C
PRIM-2400C 167
C.13 Setting the Relay
Time/Date Using
Modbus
The SIMPRO-100 Relay Modbus Register Map
provides fields that allow you to set the relay
clock and calendar using Modbus Function Code
10h commands.
Table C.16 Setting the Relay Time/Date Using
Modbus
C.14 Reading the Relay
Status Using
Modbus
The SIMPRO-100 Relay Modbus Register Map
provides fields that allow you to read the present
relay self-test results. Read the two registers
starting with Modbus Map address 160h.
Table C.17 shows how to interpret the results.
Table C.17 Relay Self-Test Result in Bit Definition
All bits, except Enabled/Disabled are defined:
0 = Okay
1 = Failure
The Enabled/Disabled bit is defined:
0 = Enabled
1 = Disabled
Bytes Field
To Set the Relay Clock, the Master Request
must have the Following Format
1 byte Slave address
1 byte Function code (10h)
00 4E Time Register Number (2 bytes)
00 02 Number of registers to write (2 registers)
04 Byte count
xx Hours (1 byte)
xx Minutes (1 byte)
xxxx Hundreths of seconds (2 bytes)
2 bytes CRC-16 for message
To Set the Relay Calendar, the Master Request
must have the Following Format
1 byte Slave address
1 byte Function code (10h)
00 4C Date Register Number (2 bytes)
00 02 Number of registers to write (2 registers)
04 Byte count
xx Month (1 byte)
xx Day (1 byte)
xx xx Year (2 bytes)
Definition
Bits (s) Register 1 Register 2
0 IA Offset Temperature
1 IB Offset RAM
2 IC Offset ROM
3 IN Offset CR_RAM
4 VA Offset EEPROM
5 VB Offset Battery
6VC OffsetRTC
7 N Offset Learned Cool Time
8 5 V PS Thermal Capacity
9 -5 V PS Enabled/Disabled
10 15 V PS Not Used
11 28 V PS Not Used
12 – 15 Not Used Not Used