R = Floating point number (Real) (-3.3E38 - 3.3E38)
I = Whole number (Integer) (-32768 - 32767)
X = Index (0 - 255)
L = Logic (Logic) (0/1)
Modbus typesModbus signal types (types listed below):
1 = Coil Status Register (Modbus function = 1, 5 and 15)
2 = Discrete Input (Modbus function = 2)
3 = Coil Status Register (Modbus function = 3, 6 and 16)
4 = Input Register (Modbus function = 4)
Supports the following Modbus functions:
1 = Read Coils
2 = Read Discrete Input
3 = Read Holding Register
4 = Read Input Register
5 = Write Single Coil
6 = Write Single Register
15 = Write Multiple Coils
16 = Write Multiple Registers
Scaling factor Modbus All floating point numbers have a scaling factor of 10. Integers, Index and Logic signals always
have a scaling factor of 1.
EXOline/ModbusThe RCF controller will automatically switch between EXOline and Modbus, depending on
what type of communication is used. This switch-over will take place without any errors in
communication resulting. The exception is when communicating via Modbus with a
configuration of 8 bits, no parity and 1 stop bit, in which case the switch must be made
manually.
Wiring, ModbusA Modbus type protocol consists of multiple layers (OSI model). The bottom layer is always
the physical layer, the number of connection wires and signal levels. The next layer describes
the communication digits (number of bits, stop bits, parity bits etc). After these come the layers
describing Modbus-specific functions (number of digits per message, the meaning of different
messages, etc). For Modbus, the bottom layer can be either RS485, RS422 or RS232.
RS485 and RS422RS485 and RS422 constitute the purely electrical part of the protocol, ie. the physical layer.
RS485 has two connections, A and B. Often, there is also a Protective earth (N on EXO
controllers). RS485 units are connected A A and B B. It may prove necessary to shift A
and B in order to make Modbus work properly. RS485 is a so called half duplex
communication: The communication can only go in one direction, eg. the main unit will
initially send a request, and thereafter listen to the reply. A and B are used both for sending
and receiving.
2
RS422 is a full duplex communication, meaning that 4 connecting wires are required; 2 for
sending (Tx+ and Tx-) and 2 for receiving (Rx+ and Rx-). Tx is used for sending and Rx for
receiving, meaning the Tx in a unit must be connected to the Rx in another and vice versa.
Pertaining to signal levels, etc., RS422 and RS485 are identical.
In order to connect RS485 and RS422: Connect Tx+ to Rx+ and Tx- to Rx- on the RS422 unit.
We have now changed a 4-wire system to a 2-wire system and can connect them to A and B
on the RS485 unit. It is usually easiest to find out what fits where simply by experimenting.
Wrong polarity makes the system not function but is incapable of harming any unit.
Tx+ -----|---------------------------------------- A (or B)
|
Rx+ -----|
Tx- -----|---------------------------------------- B (or A)
|
Rx- -----|
Bit rate, two stop bits, parity is next layer.
These settings must correspond to the settings in the main unit. Find out what the settings for
the main unit are, and then enter the same settings into the controller.
Parity can be set to odd, even (FS) or none. If no parity is set, two stop bits will automatically
be used. If odd or even parity is set only one stop bit will be used, or the total amount of bits
will be too great. 1 start bit, 8 data bits, 1 parity bit and 1 stop bit gives a total of 11 bits, which
is the maximum.
3
Modbus signals
RC_Actual_L.RegioDigOut(0)
L,2 5 Not used
RC_Actual_L.RegioUDigOut1
L,2
11
Heating (Value on digital output 4)
RC_Actual_L.RegioDIChangeOver
L,2
16
Indicates change-over from digital input
RC_Actual_L.RegioCVHeatPulsProp
L,2
21
Indicates pulse prop. heating
Discrete inputs
Name of signal Type
RC_Actual_L.RegioDigIn(0) L,2 1 Not used
RC_Actual_L.RegioDigIn1 L,2 2 Value on digital input 1
Not used in this model L,2 3
RC_Actual_L.RegioUDigIn1 L,2 4 Value on universal digital input 1
RC_Actual_L.RegioDigOut1 L,2 6 Value on digital output 1
RC_Actual_L.RegioDigOut2 L,2 7 Value on digital output 2
RC_Actual_L.RegioDigOut3 L,2 8 Value on digital output 3
Not used in this model L,2 9-10
RC_Actual_L.RegioUDigOut2 L,2 12 Cooling (Value on digital output 5)
RC_Actual_L.RegioDIOpenWindow L,2 13 Indicates open window
Not used in this model L,2 14
RC_Actual_L.RegioDIPresences L,2 15 Indicates presence from digital input
RC_Actual_L.RegioFanSpeed1 L,2 17 Indicates fan speed 1
RC_Actual_L.RegioFanSpeed2 L,2 18 Indicates fan speed 2
RC_Actual_L.RegioFanSpeed3 L,2 19 Indicates fan speed 3