Examples
4.1 Defining auxiliary functions
Basic logic functions: Auxiliary Function Output to PLC (H2)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
61
•
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 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
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...