January 2012 8.6 M Functions (M Strobe) 1555
Synchronization of
the M function with
the NC program
MP_sync defines the synchronization of the M function with NC program run.
MP_sync
Synchronization of function with the NC
Format: Selection menu
Selection: SYNC_EXEC
The function is synchronized with program run. The output of
movement by the interpolator is stopped; then the function is
executed.
Please note:
After this function has been executed, the look-ahead
calculation continues using the position values that were active
before execution of the function. This setting is not suitable, for
example, for M functions executing PLC positioning
movements!
SYNC_CALC
The function is synchronized with program calculation. The
interpretation of the NC program is stopped and the path is
calculated internally; then the function is executed. The M
function is completely executed. After successful execution has
been acknowledged, calculation continues with new position
values.
ASYNC
The function is output without synchronization.
Default: SYNC_EXEC
Access: LEVEL3
Reaction: RESET
Calling an NC
macro with an
M function
An NC subprogram can be executed instead of transferring an M function to
the PLC. The path and name of the NC subprogram are entered in the
parameter MP_macro.
M functions that call an NC subprogram are not sent to the PLC.
MP_macro
Call of an NC subprogram instead of the M function
Format: String
Input: Max. 260 characters
Path and file name of the NC subprogram
Example: %OEM%\programs\MMacro10.ncs
Default: No entry, value optional
Access: LEVEL3
Reaction: RESET
A maximum of six NC programs can be nested (subprograms, cycles,
macros).