January 2012 7.3 PLC Soft Keys 1311
Module 9203 Activate PLC soft-key menu
Module 9203 activates a soft-key menu that is indicated in the current soft-key
resource file *.XRS (machine parameter MP_softkeyProject).
The PLC soft-key project can be defined in such a way that it is effective only
for specific modes of operation. This might be useful, for example, if you want
to use different PLC soft-key projects for the machine and programming
modes of operation.
Call:
PS D <Resource handle>
0 when it is called for the first time, otherwise
Resource handle from Module 9203
PS B/W/D/K/S<Reserved>
Transfer 0 or ""
PS B/W/D/K <Number of PLC soft-key menu>
Number of the soft-key menu
PS B/W/D/K <Mode>
Bit 0 = 0: Not allowed
Bit 0 = 1: Vertical soft-key row
Bit 1 = 0: A new soft-key menu is set up
Bit 1 = 1: Return to the previous menu level.
The value <number of PLC soft-key menu> is not
evaluated.
PS B/W/D/K <Mode of operation>
0: Programming modes of operation
1: Machine modes of operation
2: Programming and machine modes of operation
3: Manual operating mode
4: Automatic operating mode
5: Editing operating mode
6: Control operating mode
CM 9203
PL D <Resource handle>
0: Error code in NN_GenApiModuleErrorCode
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error
0 No error
1 Error code in NN_GenApiModuleErrorCode
NN_GenApiModule
ErrorCode
2 Resource-handle overflow, incorrect
resource handle, incorrect mode, incorrect
operating mode or number of PLC soft-key
root menu negative.
20 Module was not called in a spawn or
submit job
44 Error in the resource file