Siemens SINUMERIK 840D sl Programming Manual page 399

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

Advertisement

Actions
The actions that occur include, for example, the following synchronized actions:
• Activate coupling, LEADON(following axis, leading axis, curve table
• Deactivate coupling, LEADOF(following axis, leading axis)
• Set actual value, PRESETON(axis, value)
• Set marker, $AC_MARKER[i]= value
• Coupling type: real/virtual master value
• Approaching axis positions, POS[axis]=value
Conditions
Fast digital inputs, real-time variables $AC_MARKER and position comparisons are linked
using the Boolean operator AND for evaluation as conditions.
Note
In the following example, line change, indentation and bold type are used for the sole
purpose of improving readability of the program. To the control, everything that follows a line
number constitutes a single line.
Comment
; Defines all static synchronized actions.
; **** reset marker
N2 $AC_MARKER[0]=0 $AC_MARKER[1]=0
$AC_MARKER[2]=0 $AC_MARKER[3]=0
$AC_MARKER[4]=0 $AC_MARKER[5]=0
$AC_MARKER[6]=0 $AC_MARKER[7]=0
N10 IDS=1 EVERY ($A_IN[1]==1) AND
($A_IN[16]==1) AND ($AC_MARKER[0]==0)
DO LEADON(X,LV,1) LEADON(YL,LV,2)
LEADON(ZL,LV,3) $AC_MARKER[0]=1
N20 IDS=11 EVERY ($A_IN[1]==1) AND
($A_IN[5]==0) AND ($AC_MARKER[5]==0)
DO LEADON(U,LV,4) PRESETON(U,0)
$AC_MARKER[5]=1
N21 IDS=12 EVERY ($A_IN[1]==1) AND
($A_IN[5]==0) AND ($AC_MARKER[6]==0)
DO LEADON(V,LV,4) PRESETON(V,0)
$AC_MARKER[6]=1
N22 IDS=13 EVERY ($A_IN[1]==1) AND
($A_IN[5]==0) AND ($AC_MARKER[7]==0)
DO LEADON(W,LV,4) PRESETON(W,0)
$AC_MARKER[7]=1
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
number)
9.4 Axial leading value coupling (LEADON, LEADOF)
; **** E1 0=>1 coupling transfer ON
; **** E1 0=>1 coupling roller feed ON
; **** E1 0->1 coupling guide head ON
; **** E1 0->1 coupling greasing ON
Path traversing behavior
9-33

Advertisement

Table of Contents
loading

Table of Contents