Reading And Writing Of Sd/Md From Synchronized Actions - Siemens SINUMERIK 828D Function Manual

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

Advertisement

Examples

3.2 Reading and writing of SD/MD from synchronized actions

3.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
...
; WHEN current position of the oscillating axis in the WCS == reversal position 1,
; THEN override of the oscillation axis = 100%, override of the infeed axis = 0%
; This cancels the second synchronized action once!
N670 ID=7 WHEN $AA_IM[Z] == $SA_OSCILL_REVERSE_POS1[Z] DO $AA_OVR[Z]=100 $AA_OVR[X]=0
...
; Setting data whose value changes during machining (e.g. by means of
; operator input or synchronized action) must be programmed with $$S...:
; Example: Oscillation from synchronized actions with change of the oscillation
; position via the user interface
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
142
Function Manual, 07/2012, 6FC5397-5BP40-3BA0
Synchronized actions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d slSinumerik 840de sl

Table of Contents