July 2013 8.1 Display and operation 1193
Module 9215 Activate a PLC pop-up window
The module uses the following events:
$01 000 000 Window build-up
$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.
The user can make his selections from a list by using the cursor keys and the
ENTER key, or the hot keys. The module then returns the line number of the
selected menu item. (Line 1 = number 0). You separate the individual entries
with <LF>.
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 characters
10: Medium characters
11: Large characters
Bit 2 – Frame
0: With frame
1: Without frame
Bit 3 – Heading
0: Display heading
1: Do not display heading
Bit 4 – Hot keys
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