Siemens SINUMERIK 840D Function Manual page 818

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

S1: Spindles
18.7 Programming
Statement
SPI(<n>):
M40:
M<n>=40:
M41 to M45:
M<n>=41 to M<n>=45:
Note
M functions M3, M4, M5, and M70 are not output in DB21, ... DBB194 and DBB202 if a spindle
is configured in a channel. These M functions are offered as extended M functions in DB21, ...
DBB68 ff. and in the relevant axis DBs, DB31, ... DBB86 ff.
Further information
More detailed explanations for programming the spindle can be found in:
● Programming Manual, Fundamentals
818
Description
With SPI(<n>) a spindle number is converted into the data type AXIS according to
machine data
MD35000 $MA_SPIND_ASSIGN_TO_MACHAX[ ]
.
SPI is used if axis functions are to be programmed with the spindle.
The following commands are possible with SPI:
● Frame commands:
CTRANS()
CFINE()
CMIRROR()
CSCALE()
● Velocity and acceleration values for following spindles:
FA[SPI(<n>)]
ACC[SPI(<n>)]
OVRA[SPI(<n>)]
● System variables:
$P_PFRAME[SPI(<n>),TR]=<value>
$P_PFRAME=
CTRANS(X,<axis value>,Y,<axis value>,SPI(<n>),<axis value>)
$P_PFRAME=
CSCALE(X,<scale>,Y,<scale>,SPI(<n>),<scale>)
$P_PFRAME=CMIRROR(S<n>,Y,Z)
$P_UBFR=CTRANS(A,10) : CFINE (19,0.1)
For further explanations about the programming of SPI, see:
Further information
Programming Manual Advanced
Automatic gear stage selection for the master spindle
Automatic gear stage selection for spindle number <n>
Select gear stage 1 to 5 for the master spindle
Select gear stage 1 to 5 for spindle number <n>.
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents