H2: Auxiliary function outputs to PLC
8.11 M function with an implicit preprocessing stop
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
437
8.11 M function with an implicit preprocessing stop
Function
Triggering a preprocessing stop in conjunction with an auxiliary function can be programmed explicitly via the
STOPRE part program command. Always triggering a preprocessing stop in M function programming can be
parameterized for each M function via the following machine data:
MD10713 $MN_M_NO_FCT_STOPRE[<n>] (M function with preprocessing stop)
Example
The user-defined M function M88 is intended to trigger a preprocessing stop.
Parameter assignment:
MD10713 $MN_M_NO_FCT_STOPRE [ 0 ] = 88
Application:
Parts program (extract)
Boundary conditions
If a subroutine called indirectly via an M function in a part program in one of the following ways, no preprocessing
stop is performed:
• MD10715 $MN_M_NO_FCT_CYCLE (M function to be replaced by subroutine)
• M98 (ISO dialect T / ISO dialect M)
Program code Comment
...
N100 G0 X10 M88 ; Traversing motion and implicit preprocessing stop via M88
N110 Y=R1 ; N110 is only interpreted after the traversing motion has
been completed and the M function has been acknowledged.
...