Subroutine 42 - Spindle (Spindle Control) - Siemens SINUMERIK 808D Operating Instructions Manual

Plc subroutines manual
Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

3.15

Subroutine 42 - SPINDLE (spindle control)

Purpose
Subroutine 42 is used for spindle control, including the spindle braking function. When the
braking function is activated, in the JOG mode press the "SPINDLE LEFT" key or "SPINDLE
RIGHT" key and then press the "SPINDLE STOP" key, after that, the spindle brakes. In the
AUTO mode, the spindle brakes when it changes rotating direction or coasts down. When
the spindle brakes, corresponding output becomes active; meanwhile, the spindle does not
accept rotary command until braking completes.
Local variable definition
Table 3- 7
Name
DELAY
DrvEn
SP_EN
IsBrake
Table 3- 8
Name
SP_brake
SP_LED
Assigned global variables
SP_B_CMD
T11
Relevant PLC machine data
No.
14510 [13]
14510 [19].1
PLC Subroutines Manual
Operating Instructions, 12/2012, 6FC5397-2EP10-0BA0
Inputs
Type
Description
WORD
Spindle braking duration (unit: 0.1s)
BOOL
Drive enable
BOOL
Spindle action condition (1: allowed; 0: not allowed)
BOOL
Spindle braking function (1: enabled; 0: forbidden)
Outputs
Type
Description
BOOL
Spindle braking output
BOOL
Spindle running state
BOOL
Spindle braking command
TIMER
Spindle braking timer
Type
BOOL
BOOL
Descriptions of the PLC subroutines
3.15 Subroutine 42 - SPINDLE (spindle control)
Description
Spindle braking duration (unit: 0.1s)
Selection of spindle braking function (1: enabled; 0:
forbidden)
47

Advertisement

Table of Contents
loading

Table of Contents