User Manual For - CONTROLLER/DATA RECORDER MultiCon CMC-N16
–
in
Data shift
parameter write
0
,
–
in
Data mask
parameter write
0x0080
,
◦
in the
-HI- value
parameter for the signal
-HI-
set the value of
0x0080
,
•
-LO- state
parameter set as
if register = value
,
◦
in the
-LO- register
parameter set:
–
Register type
parameter set as
HOLDING
,
–
in
Register number
parameter write
2h
,
–
Data format
parameter set as
16 bits, unsigned
,
–
in
Data shift
parameter write
0
,
–
in
Data mask
parameter write
0x0040
◦
in the
-HI- value
parameter for the signal
-HI-
set the value of
0x0040
,
•
-ERR- state
parameter set as
if register ≠ value
,
◦
in the
-ERR- register
parameter set:
–
Register type
parameter set as
HOLDING
,
–
in
Register number
parameter write
2h
,
–
Data format
parameter set as
16 bits, unsigned
,
–
in
Data shift
parameter write
0
,
–
in
Data mask
parameter write
0x00C0
,
◦
in the
-HI- value
parameter for the signal
-HI-
set the value of
0x0000
,
•
Blocks configuration mode
parameter set as
automatic
,
•
Max.block size
parameter set as
5
, because the slave device selected in this
example allows reading the frame (using the Modbus function 03h) with up to 5
registers,
•
move to the
Device templates
parameter block and press the
Save device template
button,
◦
in the
Save device template
menu, enter the template name, e.g.
Temperature converter
(stored template can be used to configure the
device to a different address),
•
using the arrows in the upper right corner of the screen, go to the
Modbus
address
:
8
,
•
press the
Load device template
button and in the template list select the
template named
Temperature converter
, in such a fast way we can set all the
parameters for the
SLAVE device 2
identical to
SLAVE device 1
,
•
exit from the
SLAVE devices
menu.
An example of a Logical channel in the Modbus mode is shown in
of Logical channel in the Modbus mode
7.15.4.2.
Configuration of the Modbus Input in the MASTER mode.
See also:
Appendices 8.5. ETE, ETR, ETEC, ETRC – HARDWARE COMMUNICATION
Task:
The task is to configure the Slave device (e.g. a Flowmeter) output channel. The Slave
device address is 5. we write data to register 1, 2, 4 and 8. For communication in this task we
use the ETRC hardware communication configuration, in which the MB2 port is used.
242