Remote Processing CX-10 User Manual
Page 10
SETUP AND OPERATION - MODBUS and BASIC
SECTION 2
Page 2-5
Figure 2-4 Project 3 Modbus Data and Transaction initiation.
Now click on the “Site Service” tab at the top left of the
program.
If not already done, set “Start Reg” to 1 and “# of Regs”
to 12 as shown below. This will return the status of
digital IO and power applied to the board.
Click on the blue “
Read(Func03)
” button. This initiates
a modbus transaction by requesting registers 1-12 from
the CX-10.
If all goes well, you should get numbers under the
“Data” column (right center of screen).
Note that registers 8 and 9 return external supply voltage
to the board and battery charging voltage. If external
voltage is 0, then power is connected to the battery
terminal.
NOTE: Registers 8 and 9 automatically return values in
volts only when 12 registers are selected and
start register is 1. If you start from a different
register or have a different number of registers,
you will get a number between 0 and 4095.
Register 8 returns the supply voltage as a
number between 0 and 4095. Register 9 returns
the battery backup voltage as a number between
0 and 4095. To convert this reading into volts,
multiply the value given by 0.007326.
Relays are read and controlled via registers 10 and 19-
26. To turn on a few relays, enter the following
parameters in this order:
Start Reg: 10