10
12.97 Motion-Synchronous Action
10.1 Structure
basic information
10
840 D
NCU 571
840D
NCU 572
NCU 573
FM-NC
810D
CCU2
840Di
ï›™
Siemens AG 2000. All rights reserved
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) – 04.00 Edition
10-345
A specified G code for the condition applies for
assessment of the condition
as well as
for the
action if there is no separate G code specified for the
action.
Only one G code of the G code group may be
programmed for each condition part.
Programming example
WHENEVER $AA_IM[X] > 10.5*SIN(45) DO …
Comparison with an expression
calculated during preprocessing
WHENEVER $AA_IM[X] > $AA_IM[X1] DO …
Comparison with other real-time
variable
WHENEVER ($A_IN[1]==1) OR ($A_IN[3]==0) DO
...
Two logic-gated comparisons
Possible conditions:
•
Comparison of real-time variables
(analog/digital inputs/outputs, etc.)
•
Boolean gating of comparison results
•
Computation of real-time expressions
•
Time/distance from beginning of block
•
Distance from block end
•
Measured values, measured results
•
Servo values
•
Velocities, axis status