Siemens SINUMERIK 840D sl Function Manual page 448

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

H2: Auxiliary function outputs to PLC
8.17 Examples
Cooling water
● It is not permissible to switch the cooling water on and off in one part program block. After
a block search, the cooling water will be switched on or off. For this purpose, the following
auxiliary functions are assigned, for example, to auxiliary function group 12 or 13:
– Auxiliary function group 12: M50, M51
– Auxiliary function group 13: M52, M53
● The auxiliary functions M50, M51 (auxiliary function group 12) and M52, M53 (auxiliary
function group 13) should have the following output behavior:
– Output duration one OB1 cycle (normal acknowledgment)
– Output prior to motion
Parameterization of the machine data
The machine data are parameterized by appropriate programming within a parts program.
Program code
$MN_AUXFU_MAXNUM_GROUP_ASSIGN=21
$MN_AUXFU_GROUP_SPEC[1]='H22'
$MN_AUXFU_GROUP_SPEC[2]='H22'
$MN_AUXFU_GROUP_SPEC[8]='H21'
$MC_AUXFU_ASSIGN_TYPE[0]="M"
$MC_AUXFU_ASSIGN_EXTENSION[0]=0
$MC_AUXFU_ASSIGN_VALUE[0]=40
$MC_AUXFU_ASSIGN_GROUP[0]=9
$MC_AUXFU_ASSIGN_TYPE[5]="M"
$MC_AUXFU_ASSIGN_EXTENSION[5]=0
$MC_AUXFU_ASSIGN_VALUE[5]=45
$MC_AUXFU_ASSIGN_GROUP[5]=9
$MC_AUXFU_ASSIGN_TYPE[6]="M"
$MC_AUXFU_ASSIGN_EXTENSION[6]=1
$MC_AUXFU_ASSIGN_VALUE[6]=40
$MC_AUXFU_ASSIGN_GROUP[6]=9
$MC_AUXFU_ASSIGN_TYPE[11]="M"
$MC_AUXFU_ASSIGN_EXTENSION[11]=1
$MC_AUXFU_ASSIGN_VALUE[11]=45
$MC_AUXFU_ASSIGN_GROUP[11]=9
448
Comment
; Number of user-defined auxiliary functions
per channel
; Output behavior of auxiliary function group 2
; Output behavior of auxiliary function group 3
; Output behavior of auxiliary function group 9
; Description of auxiliary function 1: M40
; ... (and analogously for aux. functions 2 to
5)
; Description of auxiliary function 6: M45
; Description of auxiliary function 7: M1=40
; . . . (and analogously for aux. functions 8 to
11)
; Description of auxiliary function 12: M1=45
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents