Siemens SINUMERIK 840D sl Programming Manual page 442

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

Advertisement

Motion synchronous actions
10.3 Main run variables for synchronized actions
Arithmetic parameters
Using arithmetic parameters allows for:
• storage of values that you want to retain beyond the end of program, NC reset, and
• display of stored value in the R parameter display.
Examples
WHEN $AA_IM[X]>=40.5 DO $R10=$AA_MM[Y]
G01 X500 Y70 F1000
STOPRE
IF R10>20
WHEN $AA_IM[X]>=40.5 DO $R10=$AA_MM[Y]
WHEN $AA_IM[X]>=6.7 DO
$R[$AC_MARKER[1]]=30.6
SYG_AS[2]=X
SYG_IS[1]=1
WHEN $AA_IM[SGY_AS[2]]>10 DO $R3=$AA_EG_DENOM[SYG_AS[1]], SYG_AS[2]]
WHEN $AA_IM[SGY_AS[2]]>12 DO $AA_SCTRACE[SYG_AS[2]]=1
SYG_AS[1]=X
SYG_IS[0]=1
WHEN $AA_IM[SGY_AS[1]]>10 DO $R3=$$MA_POSCTRL_GAIN[SYG_IS[0]],SYG_AS[1]]
WHEN $AA_IM[SGY_AS[1]]>10 DO $R3=$$MA_POSCTRL_GAIN[SYG_AS[1]]
WHEN $AA_IM[SGY_AS[1]]>15 DO $$MA_POSCTRL_GAIN[SYG_AS[0]], SYG_AS[1]]=$R3
10-16
Power On
;Use of R10 in synchronized actions
;Preprocessing stop
;Evaluation of the arithmetic variable
;Read access to the R parameter 10
;Read access to the R parameter
;whose number is contained in marker 1
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents