EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
K1: Mode group, channel, program operation, reset response
9.15 Replacing functions by subprograms
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
653
9.15.3.5 Example: Gear stage change
In the subprogram, all commands to change the gear stage M40, M41 ... M45 are replaced.
Parameterization
Main program
Machine data Meaning
MD15700 $MN_LANG_SUB_NAME = "LANG_SUB" Subprogram
MD15702 $MN_LANG_SUB_PATH = 0 Manufacturer's folder
MD22080 $MC_AUXFU_PREDEF_SPEC[12] = 'H21' M41: Output prior to motion
MD22080 $MC_AUXFU_PREDEF_SPEC[13] = 'H21' M42: Output prior to motion
MD22080 $MC_AUXFU_PREDEF_SPEC[13] = 'H21' M43: Output prior to motion
MD22080 $MC_AUXFU_PREDEF_SPEC[15] = 'H21' M44: Output prior to motion
MD22080 $MC_AUXFU_PREDEF_SPEC[16] = 'H21' M45: Output prior to motion
MD30465 $MA_AXIS_LANG_SUB_MASK[AX5] =
'H0001'
Replace gear change commands
Programming Comment
PROC MAIN
N110 COUPON(S2,S1) ; Close the synchronous spindle coupling
N120 G01 F100 X100 S5000 M3 M43 ; Subprogram call due to M43
N130 M40 ; Switch-on automatic gear stage change
N140 M3 S1000 ;
;
;
Subprogram call due to S1000
and as a result initiated automatic
gear stage change
N9999 M30

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals