Section 50
00-02-0674
04-16-10
-
20 -
How to Program the Remote Configuration Registers
The configuration registers contain information that tells the Remote how to operate. They
generally contain information related to sensor operation and behavior. For instance, it will tell
the remote whether a discrete input is configured as normally open or normally closed,
whether a thermocouple is type J or type K, etc.
NOTE:
See the section titled
MODBUS Register Access
for more
information on general MODBUS register layout.
Generally, programming a configuration register is simply a matter of:
Enabling MODBUS writes by sending a value of 4660 to MODBUS address 40053
Writing to the desired configuration register
When a configuration register is written to, the Gateway will buffer a command that will be sent
to the remote during the next heartbeat operation. This command is stored at register 34 into
each remotes address space. Therefore, the command for Remote #1 would be located at
register 234, Remote #2 at register 284, etc.
IMPORTANT:
The Gateway will not send configuration information to a
remote if a sensor event exists at a remote. This is a failsafe to insure that
the system is operating normally before making changes.
IMPORTANT:
Under certain conditions it is not possible to write to the
configuration registers. If attempts to write to the configuration registers
fail, the Gateway will return a MODBUS failure. Confirm that MODBUS
writes are enabled and then retry the programming operation. If the failure
occurs again, then wait for two heartbeat operations. If register 34 still
contains a buffered command, then insure that a sensor event does not
exist at the remote in question (see above note).