Detailed description
2.13 Scan and display of output M-auxiliary functions
Basic logic functions: Auxiliary Function Output to PLC (H2)
54
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
2.13.1.2
Programming a status check
System variables
System variables are available for the status check of group-specific, modal M-auxiliary
functions.
The following variables can be used to scan M-auxiliary functions on a group-specific basis
in the part program and via synchronous actions. The requirements and conditions described
in "Status display on user interface" are applicable.
•
Value of the collected or output M auxiliary function of the n+1 group:
INT $AC_AUXFU_M_VALUE[n]
•
Address extension of the collected or output M auxiliary function of the n+1 group:
INT $AC_AUXFU_M_EXT[n]
•
Output status of the M auxiliary function of the n+1 group:
INT $AC_AUXFU_M_STATE[n]
0: No auxiliary function
1: M-auxiliary function was collected via a search
2: M-auxiliary function has been output to the PLC
3: M-auxiliary function has been output to the PLC and the transport acknowledgement
has taken place.
4: M-auxiliary function is managed by the PLC and has been applied by the PLC.
5: M-auxiliary function is managed by the PLC, and the function acknowledgement has
taken place.
Example
All M-auxiliary functions of the 1st group will be stored in the order they were output.
id=1 every $AC_AUXFU_M_STATE[0] == 2 do $AC_FIFO[0,0] = $AC_AUXFU_M_VALUE[0]
Additional information on the system variables can be found in:
Reference
/PGA1/ Lists of System Variables.
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 ...