microSYST migra MPB PB User Manual

microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
migra MPB PB
User’s Manual
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 2
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
Table of Contents
1 GENERAL 4
2 SYSTEM OVERVIEW 4
3 TECHNICAL DATA 5
3.1 Tips and Tricks 6
3.2 Device Configuration 7
3.3 Display Elements 8
3.4 System and Device Start-Up 9
3.5 Online Frame Layout 10
3.5.1 Header 11
3.5.2 Data Unit 11
3.5.3 Trail 11
3.6 Description of the Data Unit for Online Frames 12
3.6.1 Online Texts 13
3.6.1.1 Select Character Set 13
3.6.1.2 Position the Cursor 14
3.6.1.3 Configure Attributes 14
3.6.2 Texts, Graphics, Variables and Bargraphs 15
3.6.2.1 Query Text 15
3.6.2.2 Adjust Speed for Moving Screen Texts 15
3.6.2.3 Query Graphics 15
3.6.2.4 Query Variables 16
3.6.2.5 Set Variables 16
3.6.2.6 Increase and decrease Variables 17
3.6.2.7 Position Variables 17
3.6.2.8 Query Bargraphs 18
3.6.2.9 Set Bargraph Values 18
3.6.3 Direct Graphic Control 21
3.6.3.1 Clear Display and Fill 21
3.6.3.2 Set a Point 21
3.6.3.3 Read Out a Point from the Display 21
3.6.3.4 Draw a Rectangle 22
3.6.3.5 Scrolling the Display Content 23
3.6.3.5.1 Displays with vertical Resolution < 64 Pixels 23
3.6.3.5.2 Displays with vertical Resolution > 64 Pixels 23
3.6.4 General Functions 24
3.6.4.1 Set Blinking Period Duration 24
3.6.4.2 Adjust Brightness 24
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 3
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6.5 Digital Inputs and Outputs 25
3.6.6 Macros 26
3.6.6.1 Start Macro Execution 26
3.6.6.2 Pause during Macro Execution 26
3.6.6.3 Stop Macro Execution 26
3.7 Response Frames 27
3.8 Multiple ESC-Sequences 28
3.9 Examples 29
3.9.1 Write Online Text “Hello World“ 29
3.9.2 Query Text No. 0 29
3.9.3 Query Variable No. 1 30
3.9.4 Set Variable No. 1 to “3000“ 30
3.9.5 Increase Variable No. 1 30
3.10 Parallel Interface 31
3.10.1 Timing at the Parallels Inputs 31
3.10.2 Input Levels at the parallel Inputs 31
3.10.3 Query Text 32
3.10.4 Query Graphics 33
3.10.5 Set Variables 34
3.10.6 Querying Macros 35
3.11 Profibus DP Interface 36
3.11.1 DP Configuration Data 37
3.11.2 DP Diagnosis Data 38
3.11.3 DP Parameter Data 38
3.11.4 DP Output Data 39
3.11.5 DP Input Data 39
3.11.6 Complete Example: Display Online Text “ABC“ 40
4 CONNECTOR PIN ASSIGNMENTS 41
4.1 Interface Configuration / LEDs 44
4.2 Profibus DP Interface 45
5 APPENDIX 47
5.1 Displayable Characters 47
5.2 Maintenance and Care 48
5.3 Declaration of Conformity 49
5.4 Guarantee 50
5.5 Versions Overview 51
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 4
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
1 General
The large format, graphics compatible display can be used universally for dis­playing production data, or as an information board. The modular design allows for cost-effective models of various size, and with different character heights and numbers of digits. Especially important information can be colour-highlighted with the multicolour model (MC).
Display Functions
Data transmission: Profibus DP, serial interface RS232 or parallel interface
(optional)
Configuration with PC software (via serial port) Visualisation: Texts (different font sizes and types) and graphics Standard font, flashing font, moving screen text, scrolling, inverse display Monitor display, stored texts and graphics can be queried, variables can be
displayed, execution of macros
Variable size thanks to modular display design.
2 System Overview
Alphanumeric Display
Control Module for Display Unit
Graphics Compatible, Large Format LED Display with Profibus DP interface, Parallel Inputs and Outputs (optional) and RS 232 Interface
RS232
2
0 21 22 23
24 25 26 2
7 28 29 210
211 On / Off Select Strobe
Parallel Inputs (optional)
Profibus
DP
Profibus DP
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 5
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3 Technical Data
General Specifications Display type: LED dot matrix display (max. 256x128 (HxV))
Display: ASCII character set (Windows character sets), graphics Display colour: type SC: single colour, type MC: multicolour View: single or double sided Operating voltage: 230 V / 50 Hz, 110 V / 60 Hz or 24 VDC +/-20 % Interface: Profibus DP, serial, parallel (optional) Housing: powder coated aluminum Housing dimensions: see chapter “device configuration” Mounting: articulated arm or hanging mount bracket for wall mounting Protection: IP54 or IP65 Operating temp.: 0 to +50 C (optionally -20 to +50 °C) Storage temp.: -25 to +70 C Graphics: max. 1000 Texts: max. 1000 (max. 255 moving screen texts) Variables: max. 1000 Macros: max. 1000
Character sets: max. 100
The available flash memory capacity for graphics, texts, variables, char­acter sets and macros depends on the vertical resolution of the display:
Vertical resolution 64 Pixel: 64 KByte Vertical resolution > 64 Pixel: 448 KByte
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 6
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.1 Tips and Tricks
When putting on the power supply, the following sequence has to be ob-
served:
o Connect the power supply cable to the display. o Connect the power supply cable to the power supply.
When disconnecting the power supply, the following sequence has to be
observed:
o Disconnect the power supply cable from the power supply. o Disconnect the power supply cable from the display.
Be sure to use a valid colour when creating texts.
Example: Green lettering may not be used with a red, single colour display (no display appears in this case).
When selecting x and y coordinates for the purpose of positioning,
the desired position must actually exist at the display (resolution in pixels).
Graphics, texts and variables to be displayed must properly fit into
the display unit.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 7
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.2 Device Configuration
Itemnumber :_________________________
Number of pixels (horizontal x vertical): ________x________ Type:
for inside use for outside use
Display colour:
red green yellow white blue
View:
single sided double sided
Operating voltage:
230 V / 50 Hz 110 V / 60 Hz 24 V DC
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
Interface:
Profibus-DP RS232 digital output RS485 parallel interface USB
Default settings upon delivery:
Device address: ________ Profibus-DP (slave address)
Device address: 01
D
download interface
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 8
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.3 Display Elements
Alphanumeric display modules with 16 x 16, 64 x 8 or 64 x 16 dot matri­ces are utilized.
Attention: As far as the software is concerned, there is no difference be­tween modules with 16 pixel lines and modules with 8 pixel lines. The last 8 lines are simply not visible at a module with 8 pixel lines.
The following example depicts a module with 64 x 16 pixels including three different character heights:
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 9
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.4 System and Device Start-Up
The large format display performs internal memory and function tests during power-up (duration: less than one second).
If the display is not illuminated (and if the integrated function LED is slow-ly blinking, i.e. 0,5 Hz), the device is in boot mode. This indicates that the software currently stored on the integrated flash memory is in­complete. This may have been caused by a previously interrupted up­load operation. If this is the case, uploading must be repeated (with the help of included PC software MKS).
A configuration message of the serial Interface appears on the display:
Device address (ID) Baud rate Number of data bits Type of parity bit Number of stop bits
After power-up, the macro execution is started with the first macro (if one exists). If the display unit is to be cleared again immediately, a cor­responding macro command must exist!
The display unit then waits for valid data from the user.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 10
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.5 Online Frame Layout
The frame to the large format display consists of 3 parts:
Header
Data Unit
Trail
Frames to the large format display are not evaluated by the device until 3 to 240 ms after the last frame byte has been received (depending up­on baud rate settings). The pause between the individual frame bytes may not exceed this period of time! The pause between the individual frames must exceed this period of time!
The next frame can be transmitted immediately after the response frame has been received.
If no response frame is used, the large format display is not ready to re­ceive a new frame until the last received frame has been completely processed. For example, if a large graphic is displayed, a longer waiting
period is required than would be the case for reading out an “online character”. As a rule, a pause of „receiving timeout“ + 150 ms between
frames is sufficient.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 11
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.5.1 Header
STX
DA
SA
FC
Start of Text
Destination Address
Source Address
Frame Control
00000010B
1XXXXXXXB
1XXXXXXXB
1XXXXXXXB
STX: Start of text: 02H DA: RS232/485 address of the internal controller:
81H (, 82H, 83H) = 80H + device address
This is no Profibus address.
SA: Source address: 80H
This is no Profibus address.
FC: Frame control: Controlling the communication sequence
Bit 7: set permanently to 1 Bits 6-1: reserved (0)
Bit 0: 0 -> do not send response
1 -> send response
3.5.2 Data Unit
Data Unit
Display Data
20H - FFH, 0DH, 0AH, 1BH, 1FH
Data Unit: ASCII characters, control commands
3.5.3 Trail
ETX
End of Text
00000011B
End of text: 03H.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 12
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6 Description of the Data Unit for Online Frames
The display must be configured with the PC software (define character sets, graphics, texts, variables and macros). The individual elements in­cluded in the configuration which is uploaded to the display can then be used by the frames described in this chapter.
The display is delivered with a pre-programmed default configuration. However, you can create an individualised configuration for your own application and upload it to the display unit with the PC software. The existing default configuration is overwritten in the process.
All indices are 0-based, i.e. “000” is transmitted in order to query the first text. The position 0 / 0 (x / y) is the upper left-hand pixel at the display unit. All variables, graphics and texts are written to the display starting at the selected x and y coordinates, and then proceeding down and to the
right. The display’s physical limits may not be exceeded during this pro-
cess (otherwise no display appears).
Note: All indexes of texts, graphics, variables, character set and bargraphs are 0-based (in PC software and at the controlling)!
Frames which contain no online text (ASCII codes 20h through FFh, 0D h, 0A h), start with the escape character (1Bh) as the first data byte.
If response frames are used, the next frame can be transmitted immedi­ately after receipt of the response. However, this may lead to delays in the execution of macros, moving screen texts and scrolling if the frame sequence is to fast.
If response telegrams are not used, a pause must be inserted between the frames as described in chapter “Online Frame Layout”.
Data bytes included in the data unit must be in ASCII format! Example, Specifying Position:
... 31h 32h 33h ... must be transmitted for declaration of position 123D. (ASCII characters “1”, “2” and “3.”) Refer to chapter “Displayable Characters” for a table of displayable ASCII characters.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 13
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6.1 Online Texts
Online texts are transmitted without an escape sequence (ASCII codes 20H - FFH, 0D
H, 0AH).
Transmitted ASCII characters are displayed with the current character set at the current cursor position in consideration of current attributes.
Line breaks are accomplished with the help of ASCII code 0AH or 0DH, or by transmitting the escape sequence for setting cursor position (ESC­“C”).
If the display limits are exceeded, display output is continued at the next line, or at the first line of the display unit.
3.6.1.1 Select Character Set
Byte 1
Byte 2
Byte 3
Byte 4
ESC
Function
Character set no.
tens
Character set no.
ones
1Bh
“Z”: normal character width “z”: monospaced charac-
ters (uniform width for all characters)
“0” – “9”
“0” – “9”
Four character sets are included with the display unit upon delivery:
Character set „Z00“ : Character height 7 pixels (+ 1 pixel descender) Character set „Z01“ : Character height 10 pixels (+ 1 pixel descender) Character set „Z02“ : Character height 14 pixels (+ 2 pixel descender) Character set „Z03“ : Character height 16 pixels (without descender)
Existing character sets are overwritten with the new character sets if a new configuration is downloaded to the display unit.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 14
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6.1.2 Position the Cursor
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
ESC
Function
x Position hundreds
x Position
tens
x Position
ones
y Position
hundreds
y Position
tens
y Position
ones
1Bh
“C”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
3.6.1.3 Configure Attributes
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
ESC
Function
Foreground colour
Background colour
Blinking
1Bh
“A”
“0”: black “1”: green “2”: red “3”: yellow
“0”: black “1”: green “2”: red “3”: yellow “T”: transparent
“0”: static “1”: blinking
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 15
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6.2 Texts, Graphics, Variables and Bargraphs
3.6.2.1 Query Text
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
ESC
Function
Display / Clear
Text no.
hundreds
Text no.
tens
Text no.
ones
1Bh
“T“
“+”: display “-”: clear
“0” – “9”
“0” – “9”
“0” – “9”
When the display is cleared, the surface at which the text is displayed is overwritten with the current online background colour (from the last “ESC-A” frame)! Black is used if the background colour has been set to transparent!
3.6.2.2 Adjust Speed for Moving Screen Texts
Byte 1
Byte 2
Byte 3
ESC
Function
Moving Speed
1Bh
“L”
“0”: static
“1”: 1.8 seconds
:
“9”: 0.2 seconds
All moving screen texts are set into motion at the selected speed. The default setting is “9” (0.2 seconds per step) after power-on.
3.6.2.3 Query Graphics
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
ESC
Function
Display / Clear
Graphic no.
hundreds
Graphic no.
tens
Graphic no.
ones
1Bh
“G”
“+”: display “-”: clear
“0” – “9”
“0” – “9”
“0” – “9”
When the display is cleared, the surface at which the text is displayed is overwritten with the current online background colour (from the last
“ESC-A” frame). “Black” is used if the background colour has been set to “transparent”.
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 16
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.6.2.4 Query Variables
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
ESC
Function
Display / Clear
Var. no.
hundreds
Var. no.
tens
Var. no.
ones
1Bh
“V”
“+”: display “-”: clear
“0” – “9”
“0” – “9”
“0” – “9”
When the display is cleared, the surface at which the variable is dis­played is overwritten with the current online background colour (from the
last “ESC-A” frame). “Black” is used if the background colour has been set to “transparent”.
3.6.2.5 Set Variables
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5.
Byte 6
Byte 7...133
ESC
Function
Set
Var. no.
hundreds
Var. no.
tens
Var. no.
ones
Variable
values
1Bh
“V”
“=”: set
“0” – “9”
“0” – “9”
“0” – “9”
20h...FFh
Variables may include up to 127 characters (the length of the variables is set during configuration).
The same number of characters are overwritten at the variable as are transmitted with the frame.
In order to avoid flickering, the old display is not cleared until after the new display is outputted!
The background colour, used with the variables, may not be transparent, and a character set with uniform character width should be used in order to assure correct display. Otherwise, the variable must be cleared prior to the change, and then displayed once again!
Variable content is stored to RAM only. After the device has been switched off and back on again, the variables are returned to their pre­configured values.
Loading...
+ 35 hidden pages