6 – 216 HEIDENHAIN Technical Manual TNC 426, TNC 430
MP4020 PLC compatibility
Format: %xxxxxxxx
Input: Bit 5 — Single- or double-spindle operation
0: Single-spindle operation
1: Double-spindle operation
Module 9175 Spindle switchover
With this module you can switch between spindle 1 and spindle 2. When
switching via an M strobe, MP7440 bit 2 must not be set. When switching via
an S or G strobe, MP3030 or MP13030, respectively, must not be set. The
module only needs to be called once.
Call:
PS B/W/D/K <Spindle number>
0: First spindle
1: Second spindle
CM 9175
Error recognition:
MP13010 to MP13520 Machine parameter block for the second spindle
Input: Function and input range are identical to MP3010 to MP3520
PWM output of the second spindle Machine parameters of the second
spindle
X51 MP2020.0 to MP2930.0
X52 MP2020.1 to MP2930.1
X53 MP2020.2 to MP2930.2
X54 MP2020.3 to MP2930.3
X55 MP2020.4 to MP2930.4
X56 MP2020.5 to MP2930.5
X57 MP2020.6 to MP2930.6
X58 MP2020.7 to MP2930.7
X59 MP2020.8 to MP2930.8
Note
Axis-specific parameters must be set to zero. Machine parameters that are
available for the first spindle may not be available for a second spindle.
Marker Value Meaning
M4203 0 Specified spindle active
1 Error code in W1022
W1022 2 Invalid spindle number
6 M4157 = 1 (RESTORE POSITION active)
20 Module was called in a spawn job or submit job
21 Missing strobe in M4176 = 1