Siemens SINUMERIK 840D sl Programming Manual page 432

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Motion synchronous actions
10.1 Structure, basic information
Example
No keyword
DO $A_OUTA[1]=$AA_IN[X] ;output the actual value at the analog output
EVERY
ID=1 EVERY $AA_IM[B]>75 DO POS[U]=IC(10) FA[U]=900
; always when the actual value of axis B exceeds the value 75 in machine coordinates,
the U axis should move forwards by 10 with an axial feed.
WHENEVER
WHENEVER $AA_IM[X] > 10.5*SIN(45) DO ...
WHENEVER $AA_IM[X] > $AA_IM[X1] DO ...
WHENEVER ($A_IN[1]==1) OR ($A_IN[3]==0) DO ...
Condition
The condition is a logical expression which can be built up in any way using Boolean
operators. Boolean expressions should always be given in brackets.
The condition is checked in the interpolation cycle.
A G code can be given before the condition. This allows defined settings to exist for the
evaluation of the condition and the action/technology cycle to be executed, independent of
the current parts program status. It is necessary to separate the synchronized actions from
the program environment, because synchronized actions are required to execute their
actions at any time from a defined initial state as a result of fulfilled trigger conditions.
Applications
Definition of the systems of measurement for condition evaluation and action through
G codes G70, G71, G700, G710.
A G code specified for the condition is valid for the evaluation of the condition and for the
action if no separate G code is specified for the action.
Only one G code of the G code group may be programmed for each part of the condition.
10-6
;Comparison with an expression
;calculated during preprocessing
;Comparison with other main run
;variable
;Two logic-gated comparisons
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents