H2: Auxiliary function outputs to PLC
8.13 Behavior during block search
AUXFUMSEQ(VAR INT _NUM_IN, VAR INT _M_IN[], VAR INT _EXT_IN[], VAR
INT _NUM_OUT, VAR INT _M_OUT[], VAR INT _EXT_OUT[])
Input parameters:
VAR INT _NUM_IN:
VAR INT _M_IN[]:
VAR INT _EXT_IN[]:
Output parameters:
VAR INT _NUM_OUT:
VAR INT _M_OUT[]:
VAR INT _EXT_OUT[]:
The function determines the sequence in which the M auxiliary functions, which have been
collected on a group-specific basis, are output for the predefined M codes. The sequence is
determined from the collection times $AC_AUXFU_M_TICK[<n>] (see Section "Time stamp of
the active M auxiliary function (Page 421)").
A particular M code is only taken into account once, even if it belongs to more than one group.
If the number of relevant M commands is less than or equal to 0, all the collected M codes are
output. The number of relevant M commands is limited to 64.
Example
M commands for coolant output:
● M7: Coolant 2 ON
● M8: Coolant 1 ON
● M9: Coolants 1 and 2 OFF
Group assignment:
● Group 5: M7, M9
● Group 6: M8, M9
Part program (section):
Program code
...
N10 ... M8
N20 ... M9
N30 ... M7
...
422
Number of relevant M commands
Field of relevant M codes
Field of relevant M address extensions
Number of determined M codes
Field of determined M codes
Field of determined M address extensions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions