User Manual For - CONTROLLER/DATA RECORDER MultiCon CMC-99/141
7.8.11.5.
Application of Logical channel in the Modbus mode
See also:
Chapter 7.15. MODBUS
Task:
The task is to read the temperature of the two
SLAVE
devices from the
register 1
, which
is assigned a physical address:
'1 '
and
'8'
.
Solution:
First, configure the device in MASTER mode (like in
7.15.4.1. Input configuration of
Modbus protocol in MASTER mode
), then configure it as follows and connect the SLAVE
Fig. 7.69. Schematic diagram for SLAVE devices connected to MultiCon
In first step you need to configure
Logical channels
which will read data from Slave devices.
To do this:
–
touch screen and press the
Menu
button,
–
press the
Device configuration
button,
–
enter
Logical channels
menu,
–
using the arrows in the top navigation bar, select any
logical channel
such as 1,
–
in
Name
parameter write
Temperature 1
,
–
Mode
parameter set as
Modbus
,
–
Port
parameter set as
MB1 (MASTER)
,
–
SLAVE devices
parameter set as
Addr.1:“Temp. converter”
,
–
Device input
parameter set as
Inp.1:HR 1h,b0-15
that reads
Register 1h
from
SLAVE 1
device,
–
Scale
parameter set as
linear
; in this example we don't need scaling, but it is the
only way to set unit displayed on the screen,
–
enter
Configure scaling
submenu:
•
in
Output unit
write
°C
,
•
in
Input value
parameter in the
Point 1
section write
0
,
125
Power supply
(depending on version)
1
2
8
5
6
7
3
4
SERVISE
+24V DC ±5%
(
I
max. = 200mA)
digital input
0/15..24V DC
RS-485
GND
GND
A+
B-
isolated
Master
Device
Slave device 1
Slave address: 1
Register: 1h
Register: 2h
Register: 3h
Baud rate: 9600 bit./sek.
Device name:Temp. converter
Registers:
Modbus settings:
Slave device 2
Slave address: 8
Register: 1h
Register: 2h
Register: 3h
Baud rate: 9600 bit./sek.
Device name:Temp. converter
Modbus settings:
Registers:
GND
B-
A+
Port MB1