microSYST migra Ethernet/IP 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 Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP Interface
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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 APPLICATION EXAMPLE 5
3 TECHNICAL DATA 6
3.1 Tips and Tricks 7
3.2 Device Configuration 8
3.3 Display Elements 9
3.4 System and Device Initialisation 10
3.5 Configuration of the Ethernet/IP Interface 11
3.6 Configuration of the migra with software “micon” 12
3.7 General Frame Description 14
3.8 Online Frame Layout 15
3.8.1 Header 16
3.8.2 Data Unit 17
3.8.3 Trail 17
3.9 Displays with a Vertical Resolution > 64 Pixels 18
3.10 Description of the Data Unit for Online Frames 19
3.10.1 Online Texts 20
3.10.1.1 Selecting a Character Set 20
3.10.1.2 Positioning the Cursor 21
3.10.1.3 Configuring Attributes 21
3.10.2 Texts, Graphics and Variables 22
3.10.2.1 Querying Text 22
3.10.2.2 Adjusting Speed for Moving Screen Texts 22
3.10.2.3 Querying Graphics 22
3.10.2.4 Querying Variables 23
3.10.2.5 Setting Variables 23
3.10.2.6 Increasing and Decreasing Variables 24
3.10.2.7 Positioning Variables 24
3.10.2.8 Querying Bar Graphs 25
3.10.2.9 Setting Bar Graph Values 25
3.10.2.9.1 ASCII Coded Decimal Values 25
3.10.2.9.2 Signed Integer Coded Values 26
3.10.3 Direct Graphic Control 28
3.10.3.1 Clear Display and Fill 28
3.10.3.2 Setting the Decimal Point 28
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.10.3.3 Reading Out the Decimal Point from the Display 28
3.10.3.4 Drawing a Rectangle 29
3.10.3.5 Scrolling 30
3.10.3.5.1 Displays with vertical Resolution < 64 Pixels 30
3.10.3.5.2 Displays with vertical Resolution > 64 Pixels 31
3.10.4 General Functions 32
3.10.4.1 Selecting Blinking Period Duration 32
3.10.4.2 Adjusting Brightness 32
3.10.5 Digital Inputs and Outputs 33
3.10.6 Macros 34
3.10.6.1 Start Macro Execution 34
3.10.6.2 Input-dependent Macro Jump 35
3.10.6.3 Pause during Macro Execution 37
3.10.6.4 Stop Macro Execution 37
3.11 Response Frames 38
3.12 Multiple ESC-Sequences 39
3.13 Examples 40
3.14 Parallel Interface 41
3.14.1 Timing at the Parallels Inputs 41
3.14.2 Input Level at the Parallel Inputs 41
3.14.3 Querying Text 42
3.14.4 Querying Graphics 43
3.14.5 Setting Variables 44
3.14.6 Querying Macros 45
4 CONNECTOR PIN ASSIGNMENTS 46
4.1 Control Board (intern) 49
4.2 HMS-Interface 52
5 APPENDIX 54
5.1 Displayable Characters 54
5.2 Maintenance and Care 55
5.3 Declaration of Conformity 56
5.4 Guarantee 57
5.5 Versions Overview 58
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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 displaying production data, or as an information board.
Its modular design allows for cost-effective variants of various size, as well as different character heights and numbers of digits.
Especially important information can be colour-highlighted with the multicolour model (MC).
Functions
Data transmission: Ethernet/IP interface Configuration with PC software Text (different font sizes and types) and graphics can both be
displayed.
Standard font, flashing font, moving screen text, scrolling, inverse
display
Monitor display, stored texts and graphics can be queried, variables
can be displayed and macros can be executed
Variable size thanks to modular display design.
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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
2 Application Example
Schematic diagram of the display unit at the interface:
SPS
(Control)
PC
(Configuration)
Ethernet/IP
Interface
Display
Controlling
Display
Unit
migra Ethernet/IP
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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 Technical Data
General Specifications
Display type: LED dot matrix display Display: ASCII characters (Windows character set), 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 % Protocol: Ethernet/IP Connection: RJ45, 10/100 MBit/s, configuration via RS232 interface Housing: powder coated aluminium Housing dimensions: see chapter “device configuration” Mounting: articulated arm or hanging mount bracket for wall mounting Protection: IP 54 or IP 65 Operating temperature: 0 to +50 C (optionally –20 to +50 °C) Storage temperature: -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, character sets and macros depends on the vertical resolution of the display:
Vertical resolution 64 Pixel: 64 KByte Vertical resolution > 64 Pixel: 448 KByte
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.1 Tips and Tricks
When putting on the power supply, the following sequence has to be
observed:
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 be positioned
such that they fit properly into the display unit.
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.2 Device Configuration
Number of pixels (horizontal X vertical): ________x________
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:
IP 54 IP 65
Temperature range:
0 to +50 °C -20 to +50 °C
Housing dimensions: _______x_______x_______mm
_______x_______x_______inches
Housing colour: RAL _____________ Housing material: Aluminium profile
Stainless steel Sheet metal
Interface:
Ethernet/IP Parallel interface
Configuration:
RS232 RS485
Device address: ______.______.______.______
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.3 Display Elements
Alphanumeric display modules with 16 x 16, 64 x 8 or 64 x 16 dot matrices are utilized.
Attention: As far as the software is concerned, there is no difference between 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 Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.4 System and Device Initialisation
Internal memory and function tests are performed at the large format display during power-up (duration: less than 1 second).
If the display is not illuminated (and if the integrated function LED blinks slowly, i.e. 1 Hz), the device is in the boot mode. This indicates that the software or the configuration data currently stored to the integrated flash memory are incomplete. This may result from a previously interrupted download operation. If this is the case, downloading must be repeated (with the help of included PC software).
After power-up, the first macro is executed (if one exists). If the display unit is to be cleared again immediately, a corresponding macro must exist!
The display unit then waits for valid output data from the user (via the interface).
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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 Configuration of the Ethernet/IP Interface
The software “Anybus Configuration Manager” of the company HMS serves for the configuration of the interface. You can find this tool at the web page of the interface manufacturer www.anybus.com in the area SUPPORT -> Anybus Communicator -> Ethernet Serial Gateway.
Connect the display with a RS232 null modem cable (pins 2<->3, 3<->2,
5<->5) to a PC / Laptop.
Start the software. Close the window “Konfiguration auswählen” with the button “Cancel”. Press button “Verbinden” and after that button “Upload”.
Change only the marked fields according to your requirements Click button “Download” to transmit the configuration to the interface. Now the interface configuration is completed.
You can find the original configuration at our home page www.microsyst.de in the area “Downloads & Support” -> “migra” -> “Ethernet IP” -> “Configuration File for HMS Interface”.
Upload
Verbinden
Download
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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 Configuration of the migra with software “micon”
The enclosed software “micon 5” serves for the configuration of the display’s variables and graphics.
Connect a PC / Laptop via Ethernet with the display (1 : 1 cable if using a
switch/hub; crosslink cable at direct connection).
Installation Execute the enclosed file “setup.exe” in the path “MICON” of the enclosed
CD and follow the instructions.
Start After the start, the dialog “Properties” appears.
The IP address of the display must be specified by the user.
Interface must be set to
“HMS-Interface (64kb Flash)“.
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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
Select the folder “migra”.
Adjust the display modules depending on the display type. One module
(smallest unit) has 64x16 pixels resolution.
Click at the button “OK”.
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.7 General Frame Description
The frames to be transmitted to the display have the following structure:
Offset
Designation
Content
Description
0
TB
0 ... 255
Toggle byte (*0)
1
LB
Length byte = frame length
2
Migra frame
2…3
See chapter “Online Frame Layout”
*0: Toggle byte:
The toggle byte must be increased by 1, if the frame shall be processed However the toggle byte must only be changed if the lock-byte = 0 (see chapter
“General Frame Description”). Otherwise there is a lock from the configuration
software MICON (because it controls the display at the moment). The lock-byte is read from address 0x3FE of the display interface (with “explicit
messaging”). The transmit-bytes are written as of the address 0x202 into the display
interface.
Response Frame:
The display writes the response frame as of the address 0x160.
Offset
Designation
Content
Description
0
TB
0 ... 255
Toggle byte (*0)
1
LB
Length byte = frame length
2
Response frame
2…3
See chapter “Response Frame”
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.8 Online Frame Layout
Each of the frames transmitted to the large format display unit consists of 3 parts:
Header
Data Unit
Trail
Frames transmitted to the MIGRA are not evaluated by the device until 3 to 240 ms after the last frame byte has been received (depending upon baud rate and HEX switch 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 MIGRA is not ready to receive 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 Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP 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.8.1 Header
STX
DA
SA
FC
LEN-H
(optional)
LEN-L
(optional)
Start of Text
Destination
Address
Source
Address
Frame
Control
High Nibble
Number of
Data Bytes
Low Nibble
Number of
Data Bytes
00000010B
1XXXXXXXB
1XXXXXXXB
1XXXXXXXB
1111XXXXB
1111XXXXB
STX: Start of Text: 02H DA: Destination Address:
(normally set to 81H when an Ethernet interface is utilised)
SA: Source Address:
(normally set to 80H when an Ethernet interface is utilised)
FC: Frame Control: control for the communications
sequence Bit 7: set permanently to 1 Bits 6 - 2: reserved (0)
Bit 1: 0 -> do not use checksum
(do not use LEN-H/L, CHK-H/L) 1 -> use checksum (use LEN-H/L, CHK-H/L)
Bit 0: 0 -> do not send response
1 -> send response
LEN-H: High nibble length: number of high nibble data bytes,
bits 4 through 7 must be set
(e.g. number of data bytes = 26H
high nibble = 2 11110010B) LEN-L: Low nibble length: number of low nibble data bytes,
bits 4 through 7 must be set
(e.g. number of data bytes = 26H
low nibble = 6 11110110B) LEN-H und LEN-L only need to be transmitted if a checksum is
used. If bit 1 in the FC byte is not set, LEN-H and LEN-L may not be transmitted!
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP Interface
Page 17
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.8.2 Data Unit
Data Unit
Display Data
1BH , 0A
H ,
0DH , 20H - FFH
Data Unit: Data bytes (ASCII characters, control commands)
3.8.3 Trail
If bit 1 is not set in the FC byte (no checksum):
ETX
End of Text
00000011B
End of Text: 03H. If bit 1 is set in the FC byte (use checksum):
CHK-H
CHK-L
ETX
High nibble from sum of all
previous bytes
(without STX)
Low nibble from sum of all
previous bytes
(without STX)
End of Text
1111XXXXB
1111XXXXB
00000011B
Checksum = low byte for sum of DA, SA, FC, LEN-H, LEN-L and all data bytes
CHK-H: High nibble for checksum: bits 3 through 0,
bits 4 through 7 must be set (1) CHK-L: Low nibble for checksum: bits 3 through 0,
bits 4 through 7 must be set (1)
migra Ethernet/IP
Large Format, Graphics Compatible Display with Ethernet/IP Interface
Page 18
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach +49 9681 91960-0, +49 9681 91960-10, info@microsyst.de, www.microsyst.de
3.9 Displays with a Vertical Resolution > 64 Pixels
If a display has a vertical resolution of more than 64 pixels, two controller boards are integrated. The first board controls the module lines 1 to 4. The second board controls the remaining lines.
Example: Large format display with a resolution of 3x6 display modules
1
Controller board 1
2
3
4
Controller board 2
5
6
There are two possibilities to control the large format display:
1. The controller boards of the large format display are accessed separately (with two different addresses). Bit 0 of the Byte “FC” must be set (see chapter “Header”).
Example: Querying graphics Transmit frame: 02 81 80 81 1B 47 2B 30 30 30 03 Wait for response: 02 80 81 80 30 03 Transmit frame: 02 82 80 81 1B 47 2B 30 30 30 03 Wait for response: 02 80 82 80 30 03
2. The large format display is accessed with one address. Bit 0
of the header byte “FC” must not be set (see chapter “Header”). Then, all controller boards evaluate the frame,
not depending on the address. However, no response frame is transmitted to the master. Therefore, there must be taken
a break after frame transmission (see chapter “Online Frame Layout”).
Example: Querying graphics Transmit frame: 02 81 80 80 1B 47 2B 30 30 30 03 Take a break: see chapter “Online Frame Layout”
Loading...
+ 40 hidden pages