Detailed description
2.7 Programming
Basic logic functions: Auxiliary Function Output to PLC (H2)
40
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.7
Programming
Syntax
An auxiliary function is programmed in a part program block with the following syntax:
< type > [ < address extension > = ] < value >
Address expansion
If no address extension is programmed, address extension = 0 is implicitly set.
Symbolic addressing
The values for the "address extension" and "value" parameters can also be specified
symbolically. The symbolic name for the address extension must then be stated in brackets.
Example
Symbolic programming of the auxiliary function
M3
(spindle right) for the first spindle:
Programming syntax
Meaning
DEF SPINDEL_NR = 1
; 1. spindle in the channel
DEF DREHRICHTUNG = 3
; Clockwise rotation
N100 M[SPINDEL_NR] = DREHRICHTUNG
; in accordance with: M1=3
Note
If you use symbolic names to program an auxiliary function, the symbolic name is not
transferred when the auxiliary function is output to the PLC. The corresponding numeric
value is transferred instead.
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 ...