Subroutine 54 - Turret2_3_Tooldir (Tool Change Direction) - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

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

Advertisement

6.6.28

Subroutine 54 - Turret2_3_ToolDir (tool change direction)

Purpose
Subroutine 54 is used to find out the direction of searching for an adjacent tool and the pre-indexing position (this is, the
previous position of the desired tool in the direction of an adjacent tool). To find out the direction, you need to know the max.
tool number of the turret and the programmed tool number.
You can use this subroutine to control the turret to search for an adjacent tool on a turning machine or a machine centre.
The turret tool position ranges from 2 to 64.
For example:
Tool position
Current position
number
1
7
2
7
3
3
4
1
5
6
Local variable definition
Inputs
Name
Type
Tmax
DWORD
Pnum
DWORD
Tcurr
DWORD
Outputs
Name
P_INDXo
DIR
Assigned global variables
None
Relevant PLC machine data
None
Example for calling subroutine 54
This subroutine is called by subroutine 52 and subroutine 53.
192
Programmed tool number
2
5
8
4
8
Description
Possible positions of the turret
Programmed tool number
Current tool number
Type
Description
DWORD
Pre-indexing position: the previous tool position of the desired tool in the direction of
an adjacent tool
BOOL
Direction for tool change
1: for turret CW; 0: for turret CCW
Pre-indexing position
1
6
1
3
7
Commissioning Manual
Direction
CCW
CW
CW
CCW
CCW
01/2017

Advertisement

Table of Contents
loading

Table of Contents