Axis couplings
9.6 Master/slave group (MASLDEF, MASLDEL, MASLON, MASLOF, MASLOFS)
Job planning
546 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Examples
Example 1: Dynamic configuration of a master/slave coupling
Dynamic configuration of a master/slave coupling from the part program:
The axis relevant after axis container rotation must become the master axis.
Program code Comments
MASLDEF(AUX,S3) ; S3 master for AUX
MASLON(AUX) ; Close coupling for AUX
M3=3 S3=4000 ; Clockwise direction of rotation
MASLDEL(AUX) ; Delete configuration and open the coupling
AXCTSWE(CT1) ; Container rotation
Examples
Example 2: Actual-value coupling of a slave axis
Actual value coupling of a slave axis to the same value of the master axis using
PRESETON.
For a permanent master/slave coupling, the actual value at the SLAVE axis is to be changed
using
PRESETON.
Program code Comments
N37262 $MA_MS_COUPLING_ALWAYS_ACTIVE[AX2]=0 ; Briefly switch-out the
permanent coupling.
N37263 NEWCONF
N37264 STOPRE
MASLOF(Y1) ; Temporary coupling open.
N5 PRESETON(Y1,0,Z1,0,B1,0,C1,0,U1,0) ; Set the actual value of
the non-referenced slave
axes as these are
activated with power on.
N37262 $MA_MS_COUPLING_ALWAYS_ACTIVE[AX2]=1 ; Activate permanent
coupling.
N37263 NEWCONF