Examples; Examples Of Conditions In Synchronized Actions; Reading And Writing Of Sd/Md From Synchronized Actions - Siemens SINUMERIK 840D sl Function Manual

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Examples

4.1

Examples of conditions in synchronized actions

Condition
Path distance-to-go ≤ 10 mm (WCS)
Distance-to-go of the X axis ≤ 10 mm (WCS)
Path distance to start of block ≥ 20 mm (BCS)
Actual value of the Y axis (MCS) > 10 * SIN(R10)
Input 1 changes from 0 to 1
Input 1 == 1
4.2

Reading and writing of SD/MD from synchronized actions

Infeed and oscillation for grinding operations
Setting data, whose values remain unchanged during machining, are addressed by name as
in the part program.
Example: Oscillation from synchronized actions
Program code
N610 ID=1 WHENEVER $AA_IM[Z] > $SA_OSCILL_REVERSE_POS1[Z] DO $AC_MARKER[1]=0
...
; ALWAYS WHEN current position of the oscillating axis in the MCS < start of reversal area 2,
; THEN override of the infeed axis = 0%
N620 ID=2 WHENEVER $AA_IM[Z] < $SA_OSCILL_REVERSE_POS2[Z] - 6 DO
$AA_OVR[X]=0 $AC_MARKER[0]=0
...
; ALWAYS WHEN current position of the oscillating axis in the MCS == reversal position 1,
; THEN override of the oscillation axis = 0%, override of the infeed axis = 100%
; This cancels the previous synchronized action!
N630 ID=3 WHENEVER $AA_IM[Z] == $SA_OSCILL_REVERSE_POS1[Z] DO
$AA_OVR[Z]=0 $AA_OVR[X]=100
...
; ALWAYS WHEN distance-to-go of the partial infeed == 0,
; THEN override of the oscillation axis = 100%
; This cancels the previous synchronized action!
N640 ID=4 WHENEVER $AA_DTEPW[X]==0 DO $AA_OVR[Z]=100 $AC_MARKER[0]=1 $AC_MARKER[1]=1
N650 ID=5 WHENEVER $AC_MARKER[0]==1 DO $AA_OVR[X]=0
N660 ID=6 WHENEVER $AC_MARKER[1]==1 DO $AA_OVR[X]=0
Synchronized actions
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Programming
... WHEN $AC_DTEW <= 10 DO ...
... WHEN $AA_DTEW[X]<= 10 DO ...
...WHEN $AC_PLTBB >= 20 DO ...
... WHEN $AA_IM[y] > 10*SIN (R10) DO...
... EVERY $A_IN[1]==1 DO ...
... WHENEVER $A_IN[1]==0 DO ...
4
137

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents