EasyManua.ls Logo

HEIDENHAIN MANUALPLUS 620 - Page 1743

HEIDENHAIN MANUALPLUS 620
1818 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
January 2012 8.33 Cooperative Multitasking 1743
Call:
PS B/W/D/K/S<Condition>
e.g. "ML_TestMemory[0] = 1"
Syntax corresponds to the NC syntax from FN20: WAIT FOR:
(see the User’s Manual).
Following conditions are permissible:
== : Equal to
<> : Not equal to
< : Less than
> : Greater than
<= : Less than or equal to
>= : Greater than or equal
PS B/W/D/K <Event bit mask>
0 : Process is paused until condition is fulfilled
Bit#1 to bit#15: Reserved, do not use
Bit#16: BREAK – causes cancellation of a function.
Can be set and read. Access to interfaces and networks
is aborted by sending this event in the case of waiting
states!
Bit#17: Reserved, do not use
Bit#18: Reserved, do not use
Bit#19: QUIT – acknowledgment of a request.
Quitting a request may only be used in direct context
with a request. Therefore: Delete QUIT event, set
request to another process, wait for QUIT event.
Bit#20..#31: Reserved, do not use
CM 9264
Error recognition:
Marker Value Meaning
NN_GenApiModule
Error (M4203)
0 Condition is waited for
1 Error code in NN_GenApiModuleErrorCode
(W1022)
NN_GenApiModule
ErrorCode (W1022)
2 Syntax error in the condition
3 Address for string outside value range
20 Module was not called in a spawn or submit
job

Table of Contents

Other manuals for HEIDENHAIN MANUALPLUS 620

Related product manuals