microSYST migan MPB ModbusRTU User Manual

migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
Index
1 GENERAL 3
2 SYSTEM OVERVIEW 3
3 TECHNICAL INFORMATION 4
3.1 Overall Specification 4
3.2 Device Configuration 5
3.3 Pin Assignments and Settings 6
3.4 Device Start-Up 9
4 MODBUSRTU INTERFACE 10
4.1 Control Frame 12
4.2 Response Frame 14
4.3 Controlling Example 15
5 APPENDIX 16
5.1 Displayable Characters 16
5.2 Maintenance and Care 17
5.3 Declaration of Conformity 18
5.4 Warranty / Liability 19
5.5 Versions Overview 20
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 2
migan MPB ModbusRTU
Gateway
Modbus RTU / RS485
PLC
migan Modbus RTU
Display Modules
Modbus RTU
RS485
Controller
Board
PC for
configuration
RS232
Large Display Numeric LED with Modbus RTU Interface
1 General
This 7 segment displays are designed for professional use. Depending on the type of device they are suitable for indoor or outdoor use.
The modular design allows for cost-effective models of various interfaces with different character heights and numbers of digits.
2 System Overview
The display is controlled with a ModbusRTU interface.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 3
migan MPB ModbusRTU
Display type:
7 segment SMD LED
Character heights:
indoor use: 60 / 100 / 150 / 200 / 250 mm
outdoor use: 100 / 200 / 300 mm
Number of digits:
up to 100 digits
Number of lines:
standard 1 line, multiple lines on request
Display colour:
red
Operating voltage:
230 VAC / 50 Hz, 110 VAC / 60 Hz or 24 VDC ±20%
View:
single to four-sided
Interface:
ModbusRTU
Displayable characters:
see corresponding chapter
Labelling:
upon request
Housing:
industrial version, powder coated aluminum
Housing colour:
RAL 7016 (anthracite)
Mounting:
articulated arm, angle bracket, hanging on chain or mounting frame
Protection:
see chapter “Device Configuration“
Operating temp.:
see chapter “Device Configuration“
Storage temp.:
-25 to +70 °C
Large Display Numeric LED with Modbus RTU Interface
3 Technical Information
3.1 Overall Specification
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 4
migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
3.2 Device Configuration
Itemnumber :_________________________
Type:
for inside use for outside use
Character height:
60 mm 100 mm 150 mm 200 mm 250 mm 300 mm
Number of lines: ________ Number of digits per line: ________ View:
single sided double sided ____ sided
Operating voltage:
230 VAC / 50 Hz 110 VAC / 60 Hz 24 VDC
Protection:
IP40 IP54 IP65 IP _____
Operating temperature:
with type for inside use: with type for outside use: special version:
0...+50 °C (standard) -20...+50 °C (standard) __________ °C
-25...+50 °C (optional with heating)
Housing dimensions: _________x_________x_________mm Housing Material:
Aluminum profile Stainless steel Sheet metal
Device address: _________
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 5
migan MPB ModbusRTU
Pin
Assignment
1 2
RS-232 TxD
3
RS-232 RxD
4 5
GND Bus
6
+5V Bus Out
7
RS-485 D0 (Rx/Tx-)
8
RS-485 D1 (Rx/Tx+)
9
Pin
Assignment
1 2
RxD 3 TxD 4 5 GND 6 7 8 9
Pin
Assignm.
1
L1 2 N
(PE)
PE
Pin
Assignment
1
GND
2
+24 VDC
3
PE
Large Display Numeric LED with Modbus RTU Interface
3.3 Pin Assignments and Settings
9pol. Sub-D Female Connector “ModbusRTU”
Remark: Depending on DIP5 of the ModbusRTU-interface (see below) either the RS232-pins or the RS485-pins may be used. The unused pins have to be left open. Do not use a standard RS232-cable where all pins are connected. Otherwise the ModbusRTU-interface may be destroyed!!!
9pol. Sub-D Male Connector “Configuration, RS232”
Remark: This connector should not be used by the customer! The configuration is al­ready done by microSYST and must not be changed! Otherwise the correct function of the display can not be guaranteed!
7pol. Mains Plug (230 VAC) or 3pol. Circular Plug (24 VDC)
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 6
migan MPB ModbusRTU
LED
State
Description
1 - Bus Error Off
Normal operation
Red
Bus error; CRC mismatch >10%
2 - Bus Ready Off
Not powered
Green
Normal operation (bus ready)
Red
Bus is off line (bus not ready)
3 – Processing Off
Currently not processing query
Green, flashing
Currently processing query
4 – HW Settings Off
Normal operation
Red
Not configured
5 - Subnet Status Off
Power off
Green, flashing
Initializing and not running
Green
Running
Red
Stopped or subnet error, or timeout
6 - Device Status Off
Power off
Alternating Red/Green
Invalid or missing configuration
Green
Initializing
Green, flashing
Configuration OK
1 3 5 2 4
6
Large Display Numeric LED with Modbus RTU Interface
Internal LEDs
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 7
migan MPB ModbusRTU
ModbusRTU Node Address
Node Address
DIP1
DIP2
DIP3
DIP4
DIP5
DIP6
DIP7
(reserved)
OFF
OFF
OFF
OFF
OFF
OFF
OFF 1 OFF
OFF
OFF
OFF
OFF
OFF
ON 2 OFF
OFF
OFF
OFF
OFF
ON
OFF … … … … … … … …
126
ON
ON
ON
ON
ON
ON
OFF
127
ON
ON
ON
ON
ON
ON
ON
ModbusRTU Baudrate
Baudrate
DIP8
DIP1
DIP2
(reserved)
OFF
OFF
OFF
1200 baud
OFF
OFF
ON
2400 baud
OFF
ON
OFF
4800 baud
OFF
ON
ON
9600 baud
ON
OFF
OFF
19200 baud
ON
OFF
ON
38400 baud
ON
ON
OFF
57600 baud
ON
ON
ON
ModbusRTU Parity & Stop Bits
Parity
DIP3
DIP4
(reserved)
OFF
OFF
No parity, 2 stop bits
OFF
ON
Even parity, 1 stop bit
ON
OFF
Odd parity, 1 stop bit
ON
ON
ModbusRTU Physical Interface
Interface Type
DIP5
RS232
ON
RS485
OFF
Large Display Numeric LED with Modbus RTU Interface
Internal Switches
Factory settings are marked with grey colour.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 8
migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
Important note:
To change the setting of the DIP-switches obey the following order:
Disconnect the power supply.  Open the housing.  Set the dip switches as desired.  Close the housing.  Reconnect the power supply.
While the housing is open power may only be applied by qualified per­sonnel and nothing has to be touched inside the housing at this time! Otherwise electrical shock and danger to life may happen! Please be careful!
3.4 Device Start-Up
Internal memory and function tests are performed at the large format display during power-up:
Segment test
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 9
migan MPB ModbusRTU
Register (Output)
HMS memory address
Contents
Description
0400H HIGH
200H
00H
Control register HIGH: static 0 (don’t change)!
LOW
201H
00H
Control register LOW: static 0 (don’t change)!
0401H HIGH
202H
XXH
Trigger byte: The transmission of the frame is executed with an increasing by one
LOW
203H
XXH
Length byte: Number of following bytes (ADR…CHK)
0402H HIGH
204H
01H
ADR
LOW
205H
XXH
LEN
0403H HIGH
206H
XXH
O1
LOW
207H
XXH
O2
0404H HIGH
208H
XXH
O3
LOW
209H
XXH
O4
0405
H
HIGH
20AH
XXH
D1
: :
:
:
:
: :
:
XXH
Dn
: :
:
55H
CHK
control frame
Large Display Numeric LED with Modbus RTU Interface
4 ModbusRTU Interface
The display represents a ModbusRTU-Slave and is controlled by a ModbusRTU­Master (f.e. a PLC).
To change the display contents, the ModbusRTU-Master has to write to some reg-
isters. Therefore the commands “Force Multiple Registers” (function code
16d=10 Here, we assume that “registers” are counted beginning at “0”. If your PLC starts
counting at “1”, you may have to increase the register address by 1! ModbusRTU output data must be entered as follows:
) or “Read/Write Registers” (function code 23
H
=17H) can be used.
d
The length byte and the control frame (see next chapter) must be entered first. Then, the trigger byte must be increased by one.
Thereby, the entered frame is transmitted to the MIGAN.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 10
migan MPB ModbusRTU
Register (Input)
HMS memory address
Contents
Description
0000H HIGH
000H
9FH
Status register HIGH: without meaning!
LOW
001H
00H
Status register LOW: without meaning!
0001H HIGH
002H
XXH
Trigger byte: Is increased by 1 value after the recep­tion of every response frame
LOW
003H
04H
Length byte: Number of following bytes
0002H HIGH
004H
01H
ADR
LOW
005H
02H
LEN
0003H HIGH
006H
XXH
I1
LOW
007H
55H
CHK
response frame
Large Display Numeric LED with Modbus RTU Interface
The response appears in the Modbus RTU input data:
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 11
migan MPB ModbusRTU
ADR
LEN
O1
Device address
Number of following
bytes (from O1 to CHK)
Options
01H
XXH
Bit 7: report software version
Bit 6: 0 = Statically display the last received data (standard)
1 = Display “----“, if no new data is received within 5 s.
Bits 5...4: Brightness 00 = 100% 01 = 80% 10 = 60% 11 = 40%
Bit 3 = Digital output 4 Bit 2 = Digital output 3 Bit 1 = Digital output 2 Bit 0 = Digital output 1
Output will be set, if corresponding bit = 1
Large Display Numeric LED with Modbus RTU Interface
4.1 Control Frame
Continued on next page.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 12
migan MPB ModbusRTU
O2
Output format
Bits 7...4: Physical number of digits (bit coded)
0001...1111 = 1...15 digits 0000 = ASCII representation with up to 40 digits
Bit 3: Mode 0 = LSB first 1 = MSB first
Bits 2...0: Data type* max. number of digits 000 = unsigned CHAR (0...255) 3 001 = unsigned INT (0...65535) 5
010 = unsigned LONG (0...4294967296) 10 011 = signed CHAR (-128...127) 4 100 = signed INT (-32768...32767) 6 101 = signed LONG (-2147483648... 2147483647) 11 110 = ASCII representation 40 111 = reserved
* at value representation: right-aligned display at ASCII representation: left-aligned display
O3
O4
D1…Dn
CHK
Decimal points
Decimal points,
blinking
Data bytes
(value- or ASCII representation)
Checksum
Bit 7 = digit 1 Bit 6 = digit 2 Bit 5 = digit 3 Bit 4 = digit 4 Bit 3 = digit 5 Bit 2 = digit 6 Bit 1 = digit 7 Bit 0 = digit 8
Bit 7 = digit 9 Bit 6 = digit 10 Bit 5 = digit 11 Bit 4 = digit 12 Bit 3 = digit 13 Bit 2 = digit 14 Bit 1 = digit 15
Bit 0 = Display blinks
Value representation: CHAR value: 1 byte INT value: 2 bytes LONG value: 4 bytes
ASCII representation (max. 80 bytes): 1 byte per character, max. 40 digits, Bit 7 = 1: digit blinks
The decimal point has character code 2CH or 2EH and is always set at the previous digit.
55
H
Large Display Numeric LED with Modbus RTU Interface
A point is set, if corresponding bit = 1
Controlling devices with multiple display areas (e.g. 2 lines):
The partition from O2…Dn is used repeatedly according to the number of display areas (see example 3). Please attend to the maximum total frame length of 150 bytes.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 13
migan MPB ModbusRTU
ADR
LEN
I1
CHK
Device address
Length
Digital Input
Checksum
01H
02H
Bit 7 = Event digital input 4 Bit 6 = Event digital input 3 Bit 5 = Event digital input 2 Bit 4 = Event digital input 1
Bit 3 = Status digital input 4 Bit 2 = Status digital input 3 Bit 1 = Status digital input 2 Bit 0 = Status digital input 1
55
H
Large Display Numeric LED with Modbus RTU Interface
4.2 Response Frame
Digital inputs are optionally available (depending on display type).
Event of a digital input = 1, if it has been set at least once since the last query (f.e. with a button). The event is deleted after every query.
Status of a digital input = 1, if it’s set at the moment.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 14
migan MPB ModbusRTU
Register (Output)
HMS memory address
Contents
Description
0400H HIGH
200H
00H
Control register HIGH: static 0(don’t change)!
LOW
201H
00H
Control register LOW: static 0(don’t change)!
0401H HIGH
202H
00H
01H
Trigger byte: The transmission of the frame is executed with an in­creasing by one (after the entries in HMS memory ad­dress 203
H ...
20CH have been done!)
LOW
203H
09H
Length byte
0402H HIGH
204H
01H
ADR
LOW
205H
07H
LEN
0403H HIGH
206H
00H
O1
LOW
207H
41H
O2 (4 digits, unsigned INT)
0404H HIGH
208H
00H
O3
LOW
209H
00H
O4
0405
H
HIGH
20AH
D2H
D1 (LOW byte of INT value “1234”)
LOW
20BH
04H
D2 (HIGH byte of INT value “1234”)
0406
H
HIGH
20CH
55H
CHK
Register (Input)
HMS memory address
Contents
Description
0000H HIGH
000H
9FH
Status register HIGH: without meaning!
LOW
001H
00H
Status register LOW: without meaning!
0001H HIGH
002H
00H
01H
Trigger byte: Is increased by 1 value after the reception of every re­sponse frame
LOW
003H
04H
Length byte
0002H HIGH
004H
01H
ADR
LOW
005H
02H
LEN
0003H HIGH
006H
00H
I1
LOW
007H
55H
CHK
Large Display Numeric LED with Modbus RTU Interface
4.3 Controlling Example
Display with 4 digits Show value “1234” Mode: LSB first Data type: unsigned INT
STEP1: Enter ModbusRTU Output Data:
STEP2: The response appears in the Modbus RTU input data:
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 15
migan MPB ModbusRTU
Lower
Higher
0 1 2 3 4 5 6
7
0
“Blank”
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Large Display Numeric LED with Modbus RTU Interface
5 Appendix
5.1 Displayable Characters
The data bytes are ASCII coded.
Page 16
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
5.2 Maintenance and Care
Please observe the following instructions:
Make sure that the housing can be opened for adjustment and mainte-
nance even after the display has been installed. Allow for adequate clear­ance at the back, front and top of the display unit in order to allow for suf­ficient ventilation (if vent slots are included).
Display quality is impaired by direct illumination with bright light sources
and/or direct sunlight.
The display must be switched off before cleaning. Protect the display from excessive humidity, extreme vibration, direct sun-
light and extreme temperatures. Non-observance may lead to malfunc­tioning or destruction of the device. Under certain circumstances electrical shock, fire and explosion may occur as well. Information concerning al­lowable ambient conditions, including recommended temperature ranges, can be found in the chapter entitled “Technical Information”.
The display may not be placed into service if the device and/or the power
cable are known to be damaged.
Do not attempt to repair the device yourself. The guarantee is rendered
null and void if the device is tampered with by unauthorised persons.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 17
migan MPB ModbusRTU
Das bezeichnete Produkt stimmt mit der folgenden Europäischen Richtlinie überein:
We herewith confirm that the above men­tioned product meets the requirements of the following standard:
Die Übereinstimmung des bezeichneten Produk­tes mit den Vorschriften der angewandten Richt­linie(n) wird nachgewiesen durch die Einhaltung folgender Normen / Vorschriften:
The conformity of the product described above with the provisions of the applied Directive(s) is demon­strated by compliance with the following standards / regulations:
Richtlinien / Directives
Europäische Norm / Standard
EMV Richtlinie
EMC Directive
2014/30/EU
EN61000-6-2:2005
EN61000-6-4:2007 +A1:2011
Niederspannungs­Richtlinie
Low Voltage Directive
2014/35/EU
EN60950-1:2006 +A11:2009 +A1:2010 +A12:2011 +A2:2013
RoHS Richtlinie
RoHS Directive
2011/65/EU
EN50581:2012
Large Display Numeric LED with Modbus RTU Interface
5.3 Declaration of Conformity
EU-Konformitätserklärung
EU Declaration of Conformity
Produktbezeichnung: migan
Product name:
Typenreihe: migan ModbusRTU
Type code:
Hersteller: microSYST Systemelectronic GmbH
Manufacturer: Am Gewerbepark 11 92670 Windischeschenbach
Windischeschenbach, 16.11.2017
Manuel Raß Geschäftsführer / General Manager
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 18
migan MPB ModbusRTU
Large Display Numeric LED with Modbus RTU Interface
5.4 Warranty / Liability
For the product, liability is assumed for defects, which existed at the delivery date according to our General Terms and Conditions.
Technically changes as well as errors are accepted. A claim for delivery of a new product does not exist. The buyer has to check the received product im­mediately and indicate evident defects at the latest 24 hours after detection. Non-observance of notification requirements is equated with acceptance of the defect. Not immediately visible defects have to be indicated immediately after their perception too.
Generally, defects and their symptoms must be described as accurately as possible in order to allow for reproducibility and elimination. The buyer must provide for access to the relevant device and all required and/or useful infor­mation at no charge and must make all of the required data and machine time available free of charge.
The guarantee does not cover defects, which result from non-observance of the prescribed conditions of use, or from improper handling.
If the device has been placed at the disposal of the buyer for test purposes and has been purchased subsequent to such testing, both parties agree that
the product is to be considered “used” and that it has been purchased “as is”.
No guarantee claims may be made in such cases. The General Terms and Conditions of microSYST Systemelectronic GmbH in
current version apply as well.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 19
migan MPB ModbusRTU
Version
Date
Remark, Description
1.00
1.10
1.20
1.30
2.00
2.10
19.11.13
20.11.13
22.01.14
27.04.16
17.11.16
13.11.17
Document created (based on X-M32-BSXXMX-001) Logo migan 2 -> migan Declaration of conformity
migan2 migan MPB Change of address and title MPB
Large Display Numeric LED with Modbus RTU Interface
5.5 Versions Overview
Certified per DIN EN ISO 9001.
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Page 20
Loading...