1742 HEIDENHAIN Technical Manual MANUALplus 620
Module 9264 Wait for a condition
Module 9264 enables a spawn process or submit job to wait for a specific 
condition. This module call replaces the procedure of the event list used by 
earlier HEIDENHAIN contouring controls.
You can call Module 9264 only in a submit job or spawn job.
The condition is a logical expression in accordance with the C language 
convention with the following syntax:
<memory operand>[<comparison operator><value>]
If at least one bit in the event mask is set, the process is continued 
immediately, and the event signalizes that the condition has been fulfilled. 
Module 9260 must wait for this. If the event mask equals zero, the process is 
paused until the condition is fulfilled. Only then is the module call ended.
The following relational operators may be used as conditions:
 == : Equal to
 <> : Not equal to
 < : Less than
 > : Greater than
 <= : Less than or equal to
 >= : Greater than or equal
If you do not specify a relational operator, the condition is fulfilled if the content 
of the memory operand is not equal to 0.
Constraints:
 If the value 0 is transferred for the event mask, the job waits for the 
condition to be fulfilled. There is always a change in context when another 
spawn process or the PLC queue is executable. If there are several other 
executable PLC processes, the CPU is allocated to the process that has 
been waiting for allocation the longest. If there is no other executable PLC 
process and the wait condition is not fulfilled, the NC software is allocated 
the CPU time that is not required.
 Module 9260 can be used to check if the condition has been fulfilled or to 
wait for the condition to be fulfilled if a value that is not equal to 0 is 
transferred for the event mask. Calling the Module 9264 does not cause a 
change in context in this case.