EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 517

Siemens SINUMERIK 840DE SL
2050 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Examples
4.1 Defining auxiliary functions
Auxiliary Function Output to PLC (H2)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
4-3
Parameterization of the machine data
The machine data are parameterized by appropriate programming within a part program.
Programming Remarks
$MN_AUXFU_MAXNUM_GROUP_ASSIGN = 21 Number of user-defined auxiliary functions per
channel
$MN_AUXFU_GROUP_SPEC[1] = 'H22' Output behavior of auxiliary function group 2
$MN_AUXFU_GROUP_SPEC[2] = 'H22' Output behavior of auxiliary function group 3
$MN_AUXFU_GROUP_SPEC[8] = 'H21' Output behavior of auxiliary function group 9
$MC_AUXFU_ASSIGN_TYPE[0] = "M" Description of auxiliary function 1: M40
$MC_AUXFU_ASSIGN_EXTENSION[0] = 0
$MC_AUXFU_ASSIGN_VALUE[0] = 40
$MC_AUXFU_ASSIGN_GROUP[0] = 9
. . . (and analogously for aux. functions 2 to 5)
$MC_AUXFU_ASSIGN_TYPE[5] = "M" Description of auxiliary function 6: M45
$MC_AUXFU_ASSIGN_EXTENSION[5] = 0
$MC_AUXFU_ASSIGN_VALUE[5] = 45
$MC_AUXFU_ASSIGN_GROUP[5] = 9
$MC_AUXFU_ASSIGN_TYPE[6] = "M" Description of auxiliary function 7: M1 = 40
$MC_AUXFU_ASSIGN_EXTENSION[6] = 1
$MC_AUXFU_ASSIGN_VALUE[6] = 40
$MC_AUXFU_ASSIGN_GROUP[6] = 9
. . . (and analogously for aux. functions 8 to 11)
$MC_AUXFU_ASSIGN_TYPE[11] = "M" Description of auxiliary function 12: M1 = 45
$MC_AUXFU_ASSIGN_EXTENSION[11] = 1
$MC_AUXFU_ASSIGN_VALUE[11] = 45
$MC_AUXFU_ASSIGN_GROUP[11] = 9
$MN_AUXFU_GROUP_SPEC[9] = 'H22' Output behavior of auxiliary function group 10
$MC_AUXFU_ASSIGN_TYPE[12] = "M" Description of auxiliary function 13: M2 = 3
$MC_AUXFU_ASSIGN_EXTENSION[12] = 2
$MC_AUXFU_ASSIGN_VALUE[12] = 3
$MC_AUXFU_ASSIGN_GROUP[12] = 10
$MC_AUXFU_ASSIGN_TYPE[13] = "M" Description of auxiliary function 14: M2 = 4
$MC_AUXFU_ASSIGN_EXTENSION[13] = 2
$MC_AUXFU_ASSIGN_VALUE[13] = 4
$MC_AUXFU_ASSIGN_GROUP[13] = 10

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals