MagFlux®, SuSix® and Oxix® are registered trademarks of MJK Automation A/S, Denmark.
Modbus® is a registered trademark of the Modbus Organization
Bluetooth® is a registered trademark of Bluetooth SIG.
EN 6.81 Modbus Communication Module 205546 Manual 1212
2
Page 3
Modbus Communication Modules
1. Introduction
Thank you for choosing MJK Modbus communication module. We have done
our utmost to design and manufacture a high quality product that should
satisfy your requirements.
The equipment must be handled and operated as instructed by the manufacturer, MJK Automation A/S, to ensure stable operation.
The MJK modem and communication modules can be obtained in several different versions supporting standard communication types and protocols like
PSTN, GSM, GPRS, RS 232, RS 485, Modbus RTU, Profibus PA and Bluetooth. This manual covers Modbus RS 485.
You can always contact your local representative or the MJK hot lines for
advice and guidance:
EN 6.81 Modbus Communication Module 205546 Manual 1212
Parity
Even
Odd
None
Back Select OK
Stop bits
1
2
Back Select OK
Modbus ID offset
000
Back Select >
10
Even
1
000
Page 11
Modbus Communication Modules
2.1.5 Connection Examples
2.1.5.1 One Connected Unit
This example illustrates connection, termination and ID configuration of a
single unit with a communication module and a PLC.
Termination
OFF
GND
B
RS485
A
GND
GND
5V5
ON
GND
B
A
GND
GND
Termination
OFF
ON
PLC
B
A
GND
PE
Unit #1
PCB no.: 510327-xxx
Communication RS485
GND
GNDB
RS485
5V
RTSRxTx3V3
3V3
Figure 3. One Connected Unit
Exampe ID settings
If the connected unit has ID=1 (seen from the com module), and the com
module has ID offset=200, the SRO Modbus ID is “201” (200 + 1, seen from
the PLC).
Termination
Modbus RS 485 communication requires bus termination. Therefore the connected COM module’s termination dip switch is set in “ON” position.
2. Communication Modules
11
Page 12
Modbus Communication Modules
2.1.5.2 Three Connected Units
This example illustrates connection, termination and ID configuration of three
units each with a communication module and a PLC.
Unit #1
Unit #2
Unit #3
PCB no.: 510327-xxx
Communication RS485
PCB no.: 510327-xxx
Communication RS485
Termination
Termination
ON
OFF
GND
GNDB
GND
GND
RS485
B
RS485
A
B
GND
5V
RTS
GND
RxTx3V3
A
3V3
5V5
GND
GND
Termination
Termination
ON
OFF
GND
GNDB
GND
GND
RS485
B
RS485
A
B
GND
5V
RTS
GND
RxTx3V3
A
3V3
5V5
OFF
OFF
ON
ON
PLC
B
A
GND
PE
GND
GND
Termination
OFF
ON
PCB no.: 510327-xxx
Communication RS485
Termination
ON
OFF
GND
GNDB
GND
GND
RS485
B
RS485
A
B
GND
5V
RTS
GND
RxTx3V3
A
3V3
5V5
GND
GND
Figure 4. Three Connected Units
EN 6.81 Modbus Communication Module 205546 Manual 1212
12
Page 13
Modbus Communication Modules
Exampe ID settings
Unit #1 ID=1 and COM module offset ID=1 -> SRO ID=2 (1 + 1)
Unit #2 ID=1 and COM module offset ID=2 -> SRO ID=3 (1 + 2)
Unit #3 ID=4 and COM module offset ID=3 -> SRO ID=7 (4 + 3)
Termination
Modbus RS 485 communication requires bus termination. If the PLC is terminated, unit #1 must be set in “OFF” position, unit #2 in “OFF” position and unit
#3 in “ON” position.
If, on the other hand, the PLC is NOT terminated, unit #1 must be set in “ON”
position.
2. Communication Modules
13
Page 14
Modbus Communication Modules
2.1.5.3 Three Connected Units and One Common Display
This example illustrates connection and ID configuration of for example three
MagFlux units without display, one common, remote display unit with a communication module and a PLC unit.
MagFlux #1
MagFlux #2
MagFlux #3
Display unit
with COM module
PCB no.: 510327-xxx
Communication RS485
Termination
ON
OFF
Termination
ON
OFF
GND
GNDB
GND
GND
RS485
B
RS485
A
B
GND
5V
RTS
GND
RxTx3V3
A
3V3
5V5
GND
GND
PLC
B
A
GND
PE
Figure 5. Three Connected Units and One Common Display Unit
Exampe ID settings
If Magflux #1 has ID=1 (seen from the com module), and the com module has
ID offset=100, the SRO Modbus ID is 101 (100 + 1) seen from the PLC.
Likewise the other MagFlux units with ID=2 and ID=3 would have the SRO
Modbus IDs 102 and 103.
EN 6.81 Modbus Communication Module 205546 Manual 1212
14
Page 15
Modbus Communication Modules
3. Order Numbers
Order numberCommunication Module
205546MODBUS and RS 485 communications module
3. Order Numbers
15
Page 16
Modbus Communication Modules
4. Register Lists
4.1 MagFlux Register List
• Date: 2009-03-10
• Firmware: 842009-001
• Protocol: Modbus RTU
• Transfer rate: 9600 baud
• Format for serial com: 1-Startbit, 8-Databits, 1-Parity (Even), 1-Stopbit
• Password: OFF (default)
• To set up the converter, use the MagFlux Display Unit
When a MagFlux Converter is connected to an external master, for example a
PLC or an HMI interface, the MagFlux Display Unit can not be used simultaneous on the RS 485 communication port.
Support only Read is ”func. 03 (0x03) Read Holding Registers” or ”func. 04
(0x04) Read Input Registers” and write ”func. 16 (0x10) Write Multiple registers”
Register
address
Flow now
600Flow nowF32 {low}NoneRead-onlyFlow now [m3/sec]
601
Totalizer Forward
604
605Total forward flow 1 - 2U64{2}-Read-onlyForward total [mm3]
606Total forward flow 1 - 3U64{3}-Read-onlyForward total [mm3]
607
608
609
Totalizer Reverse
610
611Total reverse flow 1 - 2U64{2}-Read-onlyReverse total [mm3]
EN 6.81 Modbus Communication Module 205546 Manual 1212
Register
name
Flow nowF32
Total forward flow 1 -
LS word
Total forward flow 1 -
MS word
Resetable total forward
flow 2 - value
Resetable total forward
flow 2 - value
Total reverse flow 1 -
LS word
TypeSecurity
{high}
U64{1}NoneRead-only
U64{4}-Read-only
U32 {low}PasswordRead/
U32
{high}
U64{1}NoneRead-only
--
-Read/
16
Read/
Write
Reset
Reset
Comments
Flow now [m3/sec]
Forward total [mm3]
Forward total [mm3]
Forward total [liter]
Forward total [liter]
Reverse total [mm3]
Page 17
Modbus Communication Modules
Register
address
612
613
614
615
Totalizer Sum
616
617Total sum flow 1 - 2S64{2}-Read-onlySee above
618Total sum flow 1 - 3S64{3}-Read-onlySee above
619
620
621
Batch Counter 1
627
628
629
630
631
632
Batch Counter 2
633
634
635
636
Register
name
Total reverse flow 1 - 3U64{3}-Read-only
Total reverse flow1 -
MS word
Resetable total reverse
flow 2 - value
Resetable total reverse
flow 2 - value
Total sum flow 1 -
LS word
Total sum flow 1 - MS
word
Resetable total sum flow 2
- value
Resetable total sum flow 2
- value
Batch counter 1 -
Batch count
See aboveU32
Batch counter 1 - value
batch now
See aboveF32
Batch counter 1 - value
batch missing
See aboveF32
Batch counter 2 - batch
count
See aboveU32
Batch counter 2 - value
batch now
See aboveF32
TypeSecurity
U64{4}-Read-only
U32 {low}PasswordRead/
U32
{high}
S64{1}NoneRead-only
S64{4}-Read-only
S32 {low}PasswordRead/
S32
{high}
U32 {low}Pass-
{high}
F32 {low}NoneRead-only
{high}
F32 {low}NoneRead-only
{high}
U32 {low}Pass-
{high}
F32 {low}NoneRead-only
{high}
-Read/
-Read/
word*
--
--
--
word*
--
--
Read/
Write
Reset
Reset
Reset
Reset
R/Reset
R/Reset
Comments
Reverse total [mm3]
Reverse total [mm3]
Reverse total [liter]
Reverse total [liter]
Sum total [mm3]
Sum total= (Forward +
Reverse)
{exsample. 12 + (-2)
=10 mm3}
See above
Sum total [liter]
Sum total [liter]
(* = password can
be disabled for this
setting )
(* = password can
be disabled for this
setting )
4. Register Lists
17
Page 18
Modbus Communication Modules
Register
address
637
638
Status I/O Bits
Register
address
1001
Register
address
1002
Register
name
Batch counter 2 - value
batch missing
See aboveF32
Register name TypeSecurityRead/Write
System error bit 1-16B16NoneRead-only
Bits
System error bit { on = 1 & off = 0 } (to force zero write 12(0x0C) in address 5120 )
Bit 1 = Factory reset has occurred (some settings have changed)
Bit 2 = Eeprom write error (see log for details)
Bit 3 = Flow totalizer eeprom error (None-resetable counter may be invalid in Eprom)
Bit 4 = Sensor setting error (some settings are invalid or changed)
Bit 5 = Counter output Forward Pulsoverflow (too low puls volume)
Bit 6 = Counter output Reverse Pulsoverflow (too low puls volume)
Bit 7 = Batch1 counter overflow
Bit 8 = Batch2 counter overflow
Bit 9 = Flow totalizer overflow (none-resetable counter may be invalid in Eprom)
Bit 10-16 = Reserved and read-value is 0 (zero)
Register nameTypeSecurity
Alarm / sensor errorB16NoneRead-only
Bits
Status bit resetable { On = 1 & Off = 0 }
Bit 1 = empty pipe (see settings for possible enable / disable and on delay)
Bit 2 = low flow (see settings for possible enable / disable and on delay)
Bit 3 = high flow (see settings for possible enable / disable and on delay)
Bit 4 = mA flow error (flow is over or under possibel output)
Bit 5 = output coil error (see settings for possible enable / disable and on delay)
Bit 6 = sensor error (see settings for possible enable / disable and on delay)
Bit 7 = mA out not connected (see settings for possible enable / disable and on delay)
Bit 8 = Input over range error (see settings for possible enable / disable and on delay)
Bits 9-16 = Reserved and read-value is 0 (zero)
TypeSecurity
F32 {low}NoneRead-only
--
{high}
Read/
Write
Comments
Read/Write
Register
address
1003
EN 6.81 Modbus Communication Module 205546 Manual 1212
Register nameTypeSecurity
Status bits (Part 1)B16NoneRead-only
Bits
Bit 1 = batch counter 1 - batch is ended = 1 / running = 0
Bit 2 = batch counter 2 - batch is ended = 1 / running = 0
Bit 3 = batch counter 1 - too big adaptive batch error = 1 / no error = 0
Bit 4 = batch counter 2 - too big adaptive batch error = 1 / no error = 0
Bits 5-16 = reserved
Read/Write
18
Page 19
Modbus Communication Modules
Register
address
1004
Login
5000
5001
5002
5003
5004Not in useU16NoneNone
5005Not in useU16NoneNone
Batch Counter 1
6703
6704
6705
6706
6707
6708
6709
6710
6711
Batch Counter 2
6753
6754
Register nameTypeSecurity
Status bits (Part 2)B16NoneRead-only
Bits
Bit 1 = flow direction bit - forward flow = 0 / reverse flow = 1 (see settings for possible delay)
Bit 2 = flow direction bit - A = 0 / B = 1 (see settings for possible delay)
Bits 3-16 = reserved and read-value is 0 (zero)
Login - valueU16NoneRead/
Min.U16NoneRead-
Max.U16NoneRead-
Login status value
Stop / Start /
Pause Manual
Batch - value
Min.U16NoneRead-
Max.U16NoneRead-
Batch stop
volume - value
See aboveF32
Min.F32
See aboveF32
Max.F32
See aboveF32
Stop / Start /
Pause Manual
Batch - value
Min.U16NoneRead-
U16NoneRead/
U16NoneR/W
F32
{low}
{high}
{low}
{high}
{low}
{high}
U16NoneRead/
Password*
--
NoneRead-
--
NoneRead-
--
Write
only
only
Write
only
only
Read/
Write
only
only
Write
only
Read/Write
Write = 0 or 65535 to logout
0
65.535
Login status
read = { 65535 = lockout mode - 0 = no
code - 1 = code accepted }
[m3] (* = password can be disabled for
this setting )
EN 6.81 Modbus Communication Module 205546 Manual 1212
20
Page 21
Modbus Communication Modules
4.2 Oxix / SuSix Register List
• Date: 2009-03-10
• Firmware: 846001
• Protocol: Modbus RTU
• Transfer rate: 9600 baud
• Format for serial com: 1-Startbit, 8-Databits, 1-Parity (Even), 1-Stopbit
• Password: OFF (default)
• To set up the converter, use the SuSix/Oxix Display Unit
When a SuSix/Oxix Converter is connected to an external master, for example
a PLC or an HMI interface, the SuSix/Oxix Display Unit can not be used
simultaneous on the RS 485 communication port.
Support only Read is ”func. 03 (0x03) Read Holding Registers” or ”func. 04
(0x04) Read Input Registers” and write ”func. 16 (0x10) Write Multiple registers”
Reg.
addr.
606
607
608
609
4. Register Lists
Reg.
name
Reading
- prim
- xtra
See
above
Reading
- sec
- xtra
See
above
Type
F32
{LW}
F32
{HW}
F32
{LW}
F32
{HW}
Se-
Read/
curity
Write
NoneRead-
only
NoneRead-
only
OxixSuSix
Primary value (dissolved
oxygen) [unit is setting
dependent]
See above
Secondary value [degrees C]
See above
21
Primary value (turbidity /
solid) [unit is setting-dependent]
See above
Secondary value standard
deviation turbidity / solid [%]
See above
Page 22
Modbus Communication Modules
Status I/O Bits
Register
address
1001
Register name TypeSecurityRead/Write
System error bit (alarm)B16PasswordRead/Reset
Bits
Oxix
System error bit { on = 1 & off = 0 }
Bit 1 = Factory reset has occurred (some settings have changed - check all used settings)
Bit 2 = Eeprom write error (see log for details)
Bit 3 = Sensor setting error (some settings are invalid or changed)
Bit 4 = System error in eventlog (log in eventlog for details)
Bit 5 = Current out not connected (If current out is not used, deactivate to stop pop-up)
Bit 6 = Primary measurement is over or under settings for current
Bits 7-16 = Reseved and read-value is 0 (zero)
SuSix
System error bit { on = 1 & off = 0 }
Bit 1 = Factory reset has occurred (some settings have changed - check all used settings)
Bit 2 = Eeprom write error (See log for details)
Bit 3 = Sensor setting error (some settings are invalid or changed)
Bit 4 = System error in eventlog (log in eventlog for details)
Bit 5 = Current out not connected (if current out is not used, deactivate to stop pop-up)
Bit 6 = Primary measurement is over or under settings for current
Bits 7-16 = Reseved and read-value is 0 (zero)
Register
address
1002
EN 6.81 Modbus Communication Module 205546 Manual 1212
Register name TypeSecurityRead/Write
System alarm 1B16NoneRead-only
Bits
Oxix
Status bit { on = 1 & off = 0 }
Bit 1 = reseved
Bit 2 = reseved
Bit 3 = reseved
Bit 4 = primary value - low alarm active
Bit 5 = primary value - high alarm active
Bits 6-16 = reseved and read-value is 0 (zero)
SuSix
Status bit { on = 1 & off = 0 }
Bit 1 = reseved
Bit 2 = reseved
Bit 3 = reseved
Bit 4 = primary value low - alarm active
Bit 5 = primary value high - alarm active
Bits 6-16 = reseved and read-value is 0 (zero)
22
Page 23
Modbus Communication Modules
Status I/O Bits
Register
address
1003
Register name TypeSecurityRead/Write
Sensor error (Alarm)B16NoneRead-only
Bits
Oxix
Status bit { on = 1 & off = 0 }
Bit 1 = sensor - replace sensor
Bit 2 = sensor - fix error / redo calibration point or clear all points and redo calibration
Bit 3 = sensor - temperature error (thermistor is damaged)
Bit 4 = sensor - check sensor cable
Bit 5 = sensor - check sensor wiper
Bit 6 = sensor - probe polluted => clean - if message is repeated, return probe
Bit 7 = sensor - main photo diode saturated (circuit or sensor coating damaged)
Bit 8 = sensor - main photo diode negative (excessive electrical noise or damage)
Bit 9 = sensor - reference photo diode saturated (same causes as bit 7)
Bit 10 = sensor - reference photo diode negative (same causes as bit 8)
Bit 11 = reseved - read-value is 0 (zero)
Bit 12 = reseved - read-value is 0 (zero)
Bit 13 = reseved - read-value is 0 (zero)
Bit 14 = reseved - read-value is 0 (zero)
Bit 15 = sensor - supply is to high / low. Check sensor connection
Bit 16 = sensor - temperature error (temperature is out of range)
SuSix
Status bit { on = 1 & off = 0 }
Bit 1 = sensor - replace sensor
Bit 2 = sensor - fix error / redo calibration point or clear all points and redo calibration
Bit 3 = sensor - is not in solid mode - choose a unit of solid type
Bit 4 = sensor - check sensor cable
Bit 5 = sensor - check sensor wiper
Bit 6 = sensor - probe polluted => clean - if message is repeated, return probe
Bit 7 = sensor - turbidity value out of range (higher then 4000 NTU) - only implemented to
display unexpected error
Bit 8 = sensor - calibration insufficient - make another calibration on lower solid test sample
Bit 9 = sensor - calibration insufficient - make another calibration on higher solid test sample
Bit 10 = sensor - overflow - clean sensor / or check range and ensure that probe is
used to measure
Bit 11 = sensor - offset error (only implemented to display unexpected error
Bit 12 = sensor - measuring start failed - please try again
Bit 13 = sensor - measuring timeout - try again
Bit 14 = sensor - measuring adjustment missing
Bit 15 = sensor - supply is to high / low. Check sensor connection
Bit 16 = reseved and read-value is 0 (zero)
4. Register Lists
23
Page 24
Modbus Communication Modules
Status I/O Bits
Register
address
1004
Login
Reg.
addr.
5000
5001
5002
5003
5004
5005
Register name TypeSecurityRead/Write
Status no. 1B16NoneRead-only
Bits
Oxix
Bit 1 = converter has experienced a software or hardware reset
(expected if sensor number has been changed or factory setting is reloaded)
Bit 2 = system error alarm (see settings for possible enable / disable and on delay)
Bit 3 = sensor error alarm (see settings for possible enable / disable and on delay)
Bit 4 = sensor autodetect type is running - normal if sensor com error is detected x times
Bit 5 = hold of measurment value (normal for a short time)
Bit 6 = sensor cleaning in progress
Bit 7 = limit control
SuSix
Status bit { on = 1 & off = 0 }
Bit 1 = converter has experience a software or hardware reset
(expected if sensor number has been changed or factory setting is reloaded)
Bit 2 = system error alarm (see settings for possible enable / disable and on delay)
Bit 3 = sensor error alarm (see settings for possible enable / disable and on delay)
Bit 4 = sensor autodetect type is running - normal if sensor com error is detected x times
Bit 5 = hold of measurment value (normal for a short time)
Bit 6 = sensor cleaning in progress
Bit 7 = limit control
Reg.
name
Login Value
Min.U16NoneRead-
Max.U16NoneRead-
Login
status
- value
Not in
use
Not in
use
Security
Read/
Write
Write
only
only
Write
Type
U16NoneRead/
U16NoneRead/
U16NoneNone
U16NoneNone
OxixSuSix
Write = 0 or 65535 to
logout
0
65.535
Login status
Read = { 65535 = lockout
mode - 0 = no code -
1 = code accepted }
Write = 0 or 65535 to logout
0
65.535
Login status
Read = { 65535 = lockout
mode - 0 = no code -
1 = code accepted }
Table 3. Oxix and SuSix Register List
EN 6.81 Modbus Communication Module 205546 Manual 1212
24
Page 25
Modbus Communication Modules
4.3 mA-Bus Converter List
• Date: 2008-06-11
• Firmware: 845001-003
• Protocol: Modbus RTU
• Transfer rate: 9600 baud
• Format for serial com: 1-Startbit, 8-Databits, 1-Parity (Even), 1-Stopbit
• Password: OFF (default)
• To set up the converter, use the Display Unit
When a mA-Bus Converter is connected to an external master, for example a PLC or an HMI interface, the
Display Unit can not be used simultaneous on the RS 485 communication port. Support only Read is ”func.
03 (0x03) Read Holding Registers” or ”func. 04 (0x04) Read Input Registers” and write ”func. 16 (0x10) Write
Multiple registers”
Reg.
Reg.
addr.
name
100DI 3-1 statusU16None
200Digital input Bit 1-16U16
AI 1 Scaled valueF32 {Low}None
300
301-F32 {High}
302AI 1 UnitU16
303AI 1 PrecisionS16
304AI 2 Scaled valueF32 {Low}None
305-F32 {High}
306AI 2 UnitU16
307AI 2 PrecisionS16
1001System Error bit 1-16U16
1002Alarm Error 1U16
1003Alarm Error 2U16
Type
Security
Read/
Write
4. Register Lists
25
Page 26
Byageren 7
DK 2850 Nærum
Denmark
Tlf: +45 45 56 06 56
Fax: +45 45 56 06 46
mjk@mjk.com
www.mjk.com
MJK Automation A/S
Modbus Communication Modules
Liability
MJK Automation A/S is liable to the common rules of
Danish law on product liability. However, the liability is
reduced to coverage of our public liability insurance of
products. To the extent where nothing else follows in lines
of invariable rules of law, we are not liable for loss of profits
and working deficits or other indirect losses.
Changes
As our products are developed continuously, we reserve
the right to make any alterations without prior notice..
EN 6.81 Modbus Communication Module 205546 Manual 1212
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.