
migra MPB PB
Large Format, Graphics Compatible Display with Profibus Interface
Page 40
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach
+49 9681 91960-0,
+49 9681 91960-10, [email protected], www.microsyst.de
3.11.6
Complete Example: Display Online Text “ABC“
1.
Start of Profibus DP Communication (32 I/O-Bytes in this case)
Output: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Input : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2.
Enter Control Frame
Output: 00 1D 02 81 80 81 1B 46 30 1B 43 30 30 30 30 30 30 1B 5A 30 30 1B 41 33 30 30 1F 41 42 43 03 00
\/ \_________/ \______/ \_____________________/ \_________/ \____________/ \/ \______/ \/
| | | | | | | | |
| Header ESC-F0 ESC-C000000 ESC-Z00 ESC-A300 Sepa- Text Trail
| (Request (Fill (Cursor to X-Pos.0 (Char (Yellow signs rator (ABC)
| response) display and Y-Pos.0) set 0) at black
| black) background,
| not blinking)
Length Byte = Frame Length = 29
D
= 1D
H
3.
Change Toggle Byte = Transmit Control Frame
Output: 01 1D 02 81 80 81 1B 46 30 1B 43 30 30 30 30 30 30 1B 5A 30 30 1B 41 33 30 30 1F 41 42 43 03 00
\/
|
Changed Toggle Byte
4.
Wait for Response Frame
Input : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
…
Input : 01 06 02 80 81 80 30 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
\/ \/ \_______________/
| | |
| Length Response
| Byte Frame
|
Toggle Byte