Example: Gear Stage Change - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

System variable
$P_SUB_SPOSA
$P_SUB_M19
$P_SUB_SPOSIT
$P_SUB_SPOSMODE
$P_SUB_STAT
9.17.3.5

Example: Gear stage change

In the subprogram, all commands to change the gear stage M40, M41 ... M45 are replaced.
Parameterization
Machine data
MD15700 $MN_LANG_SUB_NAME = "LANG_SUB"
MD15702 $MN_LANG_SUB_PATH = 0
MD22080 $MC_AUXFU_PREDEF_SPEC[12] = 'H21'
MD22080 $MC_AUXFU_PREDEF_SPEC[13] = 'H21'
MD22080 $MC_AUXFU_PREDEF_SPEC[13] = 'H21'
MD22080 $MC_AUXFU_PREDEF_SPEC[15] = 'H21'
MD22080 $MC_AUXFU_PREDEF_SPEC[16] = 'H21'
MD30465 $MA_AXIS_LANG_SUB_MASK[AX5] =
'H0001'
Main program
Programming
PROC MAIN
N110 COUPON(S2,S1)
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
K1: Mode group, channel, program operation, reset response
Meaning
TRUE, if the SPOSA replacement is active
TRUE, if the M19 replacement is active
Contains the programmed spindle position
Note
If the variable is called outside the replacement subprogram, program pro‐
cessing is cancelled with an alarm.
Contains the position approach mode for the programmed spindle position:
Value
Meaning
0
No change of the position approach mode
1
AC
2
IC
3
DC
4
ACP
5
ACN
6
OC
7
PC
Note:
If the variable is called outside the replacement subprogram, program pro‐
cessing is cancelled with an alarm.
Block-related time when the replacement subprogram is called
Comment
; Close the synchronous spindle coupling
9.17 Replacing functions by subprograms
Meaning
Subprogram
Manufacturer's folder
M41: Output prior to motion
M42: Output prior to motion
M43: Output prior to motion
M44: Output prior to motion
M45: Output prior to motion
Replace gear change commands
633

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents