December 2001 Display and Operation 6 – 279
Module 9215 uses the following events:
n $01 000 000 Window build-up
n $00 010 000 Closing the pop-up window
The event for window build-up is generated internally and must not be started
externally. If the event for closing the pop-up window is transferred, the
module closes without waiting for keyboard input.
Module 9215 Activating a PLC pop-up window
Call only in a submit job.
Call:
PS B/W/D/K/S <String with window heading>
PS B/W/D/K/S <String with file name of the list>
[complete path or only file name]
PS B/W/D/K <Start position>
[line in which the highlight is located]
PS B/W/D/K <Mode>
Bit 0/Bit 1 – Character size
00: Automatic
01: Small character
10: Medium character
11: Large character
Bit 2 – Frame
0: With frame
1: Without frame
Bit 3 – Heading
0: Display heading
1: Do not display heading
Bit 4 – Positioning error
0: No hot keys
1: Hot keys (0 to 9 and A to Z) before menu items
Bit 5 – Vertical / Horizontal
0: Vertical arrangement
1: Horizontal arrangement (bit 4 = 0)
CM 9215
PL B/W/D <Selected line>
0 to n: Line number from list
–1: No selection made (END, NOENT)
2: For error see W1022
Error recognition:
Marker Value Meaning
M1022 0 Incorrect mode transferred
3 Not a valid string for file name or heading
6 Window cannot be displayed (internal error, e.g.
problems with memory or operating system)
20 Module was not called in a spawn job
28 Another PLC pop-up window is open
36 File with the list could not be found