Siemens Sinumerik 840D sl Programming Manual page 564

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

Advertisement

Motion synchronous actions
10.1 Basics
Examples
Example 1: No keyword
Program code
DO $A_OUTA[1]=$AA_IN[X]
Example 2: WHENEVER
Program code
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 ...
Example 3: EVERY
Program code
ID=1 EVERY $AA_IM[B]>75 DO POS[U]=IC(10) FA[U]=900
Further Information
Conditions
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 part 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.
564
Comments
; Actual value output to analog output.
Comments
; 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.
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Comments
; Comparison with an
expression calculated
during preprocessing
; Comparison with other main
run variable.
; Two comparison operations
that are gated with one
another.
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents