H2: Auxiliary function outputs to PLC
8.3 Userdefined auxiliary functions
Basic Functions
422
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
8.3
Userdefined auxiliary functions
There are two uses for user-defined auxiliary functions:
• Extension of predefined auxiliary functions
• User-specific auxiliary functions
Extension of predefined auxiliary functions
Because there is only one set of machine data for the predefined auxiliary functions, they can only ever be used
to address one spindle of the channel. To address further spindles, user-defined auxiliary functions must be
parameterized to supplement the predefined auxiliary functions.
Extension of predefined auxiliary functions refers to the "address extensions" parameter. The number of the
spindle that the auxiliary function refers to is entered in the "address extension" parameter.
The relevant predefined auxiliary functions can be extended for the following system functions:
Example:
Extension of the predefined auxiliary function for the system function "spindle right" for the second and third
spindle of the channel.
System function
Type
Address extension
1)
Value
Tool change
M
1
6
Spindle right
M
1
3
Spindle left
M
1
4
Spindle stop
M
1
5
Position spindle
M
1
19
Axis mode
M
1
70
Automatic gear stage
M
1
40
Gear stage 1
M
1
41
Gear stage 2
M
1
42
Gear stage 3
M
1
43
Gear stage 4
M
1
44
Gear stage 5
M
1
45
Spindle speed
S
1
-1
Tool selection
T
1
-1
1)
Address extension = 1 is the default value used in the auxiliary functions predefined in the machine
data
Auxiliary function "spindle right" for the second spindle of the channel:
MD22010 $MC_AUXFU_ASSIGN_TYPE[ n ]
= "M"
MD22020 $MC_AUXFU_ASSIGN_EXTENSION[ n ]
= 2
MD22030 $MC_AUXFU_ ASSIGN_VALUE[ n ]
= 3
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...