12.97
10
840 D
840D
NCU 571
NCU 572
NCU 573
10.4
Actions within synchronized actions
10.4.1 Auxiliary functions output
Function
If the conditions are fulfilled, up to 10 M, H and S
functions can be output per machining block.
Auxiliary function output is activated using the action
codeword "DO".
The auxiliary functions are output immediately in
the interpolation cycle. The output timing defined in
the machine data for auxiliary functions is not active.
The output timing is determined when the condition
is fulfilled.
Sequence
Auxiliary functions must only be programmed with
the vocabulary words WHEN or EVERY in non
modal synchronized actions (without model ID).
Whether an auxiliary function is active or not is
determined by the PLC, e.g. via NC start.
Notes
Not possible from a motion synchronized action:
• M0, M1, M2, M17, M30: Program halt/end (M2,
M17, M30 possible for technology cycle)
• M70: Spindle function
• M functions for tool change set with M6 or via
machine data
• M40, M41, M42, M43, M44, M45: Gear change
Programming example
WHEN $AA_IW[Q1]>5 DO M172 H510
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10.4 Actions within synchronized actions
FM-NC
810D
840Di
CCU2
Motion-Synchronous Action
Example:
Switch on coolant at a specific axis position:
WHEN $AA_IM[X]>=15 DO M07 G1 X20
F250
If the actual value of axis Q1 exceeds 5 mm,
auxiliary functions M172 and H510 are output to
the PLC.
10
10-359