S1: Spindles
16.6 Selectable spindles
Basic Functions
1328
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Example
Spindle configurations:
• Assignment, spindle number and machine axis:
• Accepting a machine axis in a channel:
• Specifying the master spindle:
Spindle number converter:
MD35000 $MA_SPIND_ASSIGN_TO_MACHAX [AX4] = 1
MD35000 $MA_SPIND_ASSIGN_TO_MACHAX [AX5] = 2
MD35000 $MA_SPIND_ASSIGN_TO_MACHAX [AX6] = 3
MD35000 $MA_SPIND_ASSIGN_TO_MACHAX [AX7] = 5
MD20070 $MC_AXCONF_MACHAX_USED[0] = 4
MD20070 $MC_AXCONF_MACHAX_USED[1] = 5
MD20070 $MC_AXCONF_MACHAX_USED[2] = 6
MD20070 $MC_AXCONF_MACHAX_USED[3] = 7
MD20090 $MC_SPIND_DEF_MASTER_SPIND = 1
MD20092 $MC_SPIND_ASSIGN_TAB_ENABLE=1
;
Activate spindle number converter
SD42800 $SC_SPIND_ASSIGN_TAB[0]=
1
;
Master spindle as configured
SD42800 $SC_SPIND_ASSIGN_TAB[1]=1
;
Basic setting of the table
SD42800 $SC_SPIND_ASSIGN_TAB[2]=2
SD42800 $SC_SPIND_ASSIGN_TAB[3]=3
SD42800 $SC_SPIND_ASSIGN_TAB[4]=0
;
Logical spindle not assigned
M3 S1000
;
Address extension=
1
, M1=3 S1=1000 is output
The spindle with configured No. "1" (No. of the physical master
spindle) rotates.
...
...
SD42800 $SC_SPIND_ASSIGN_TAB[1]=5
;
Assignment of logical spindle 1 to
physical spindle 5
SD42800 $SC_SPIND_ASSIGN_TAB[2]=3
;
Assignment of logical spindle 2 to
physical spindle 3.
Notice:
physical spindle 3 has now been
assigned twice. When programming
logical spindles 2 and 3, physical
spindle 3 is always addressed. In the
basic machine displays, both spindles
rotate.