January 2012 8.33 Cooperative Multitasking 1739
Event bits 16 to 31 are reserved for the operating system:
Bit 16: BREAK, cancels a function. Setting and reading is permitted. If you
transmit this event, the control cancels access to interfaces and the
network!
Bit 17: Reserved, do not use
Bit 18: Reserved, do not use
Bit 19: QUIT, acknowledgment of a request. Use this bit only in the
immediate context of a request.
Bit 20 to bit 31: Reserved, do not use
Call:
PS B/W/D/K <Wait>
0 = Do not wait
–1 = Wait
PS B/W/D/K <AND/OR>
0 = OR-gated, otherwise AND-gated
PS B/W/D/K <Event mask>
0 = Available events
CM 9260
PS B/W/D/K <Events>
Read events
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Event has been read
1 Error code in NN_GenApiModuleErrorCode
(W1022)
NN_GenApiModule
ErrorCode (W1022)
2 Incorrect transfer value for <Wait> parameter
20 Module was not called in a spawn or submit
job