Subroutine 42 - Spindle (Spindle Control) - Siemens SINUMERIK 808D ADVANCED Series Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED Series:
Table of Contents

Advertisement

Example for calling subroutine 41
6.6.16

Subroutine 42 - SPINDLE (spindle control)

Purpose
Subroutine 42 is used for spindle control, including the spindle braking function and spindle speed selection.
Spindle braking function
When the braking function is activated (MD14512 [19].1 = 1), the spindle brakes in the following cases:
● In "JOG" mode, after you perform the following operations:
● In "AUTO" or "MDA" mode, when the spindle changes the rotating direction or is stopped with M05/M02 during rotation
When the spindle brakes, the corresponding output becomes active; meanwhile, the spindle does not accept any rotary
command until the braking completes.
Spindle speed selection in "JOG" mode
You can define the spindle speed selection when the spindle is activated with the following spindle control keys in "JOG"
mode via MD14512[19].4:
/
● MD14512[19].4 = 0 (default): the spindle runs with the speed set in MD32020.
● MD14512[19].4 = 1: the spindle runs with the speed set last time. In this case, if the spindle runs for the first time after
the control system powers on, then you must specify a spindle speed in "MDA" mode or the "T, S, M" window.
Local variable definition
Inputs
Name
DELAY
DrvEn
SP_EN
IsBrake
Outputs
Name
SP_brake
Commissioning Manual
6FC5397-4EP10-0BA8, 07/2018
Type
Description
WORD
Spindle brake delay time (unit: 0.1 s)
BOOL
Drive enable
BOOL
Condition for spindle operation (1: allowed; 0: not allowed)
BOOL
Brake for spindle (1: enabled; 0: forbidden)
Type
Description
BOOL
Spindle brake contactor
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 808d advanced t

Table of Contents