![Siemens SINUMERIK 808D ADVANCED M Скачать руководство пользователя страница 58](http://html.mh-extra.com/html/siemens/sinumerik-808d-advanced-m/sinumerik-808d-advanced-m_user-manual_1266035058.webp)
PLC Subroutines Manual
58
6FC5397-0FP40-0BA0, 08/2013
Tool position
number
Current position
Programmed tool number
Pre-indexing position
Direction
1
7
2
1
CCW
2
7
5
6
CW
3
3
8
1
CW
4
1
4
3
CCW
5
6
8
7
CCW
Local variable definition
Table 3-32
Inputs
Name
Type
Description
Tmax
DWORD
The max. turret tool position number
Pnum
DWORD
Programmed tool number
Tcurr
DWORD
Current position of the turret
Table 3-33
Outputs
Name
Type
Description
P_INDXo
DWORD
Pre-indexing position: the previous tool position of the desired tool in the direction of
an adjacent tool.
DIR
BOOL
Tool change direction:
1: CW; 0: CCW
Assigned global variables
None
Relevant PLC machine data
None
Example for calling subroutine 54
This subroutine is called by subroutine 52 and subroutine 53.