P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
890
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
If the NC program is started at this point and the expanded M function (e.g.
M3=17
) is processed by the NCK, this
M function will be decoded and bit 2.5 set in DB 76 (see decoding list DB 75). At the same time, the basic
program sets the read-in disable and the processing of the NC program is halted (in the corresponding NC-
channel DB the entry "expanded address M function" and "M function no." is made).
The readin disable in the channel is reset once the user has reset and, therefore, acknowledged, all the bits
output by this channel in the signal list (DB 76).
13.8.10
PLC machine data
General
The user has the option of storing PLCspecific machine data in the NCK. The user can then process these
machine data after the power-up of the PLC (OB 100). This enables, for example, user options, machine
expansion levels, machine configurations, etc., to be implemented.
The interface for reading these data lies in the DB 20. However, DB20 is set up by the basic program during
powerup only when user machine data are used i.e. sum of GP parameters "UDInt", "UDHex" and "UDReal" is
greater than zero.
The sizes of the individual areas, and hence the total length of the DB 20, is set by the following PLC machine
data:
MD14504 $MN_MAXNUM_USER_DATA_INT
MD14506 $MN_MAXNUM_USER_DATA_HEX
MD14508 $MN_MAXNUM_USER_DATA_FLOAT
These settings are specified to the user in the GP parameters "UDInt", "UDHex" and "UDReal".
The data is stored in the DB 20 by the BP in the sequence:
1. Integer-MD
2. Hexa-fields MD
3. Real-MD
The integer and real values are stored in DB 20 in S7 format.
Hexadecimal data are stored in DB20 in the order in which they are input (use as bit fields).
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...