Detailed description
2.7 Structure and functions of the basic program
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
65
2.7.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 size of the individual areas and thus also the total length of DB20
is set by PLC machine data:
MD14504 MAXNUM_USER_DATA_INT
MD14506 MAXNUM_USER_DATA_HEX
MD14508 MAXNUM_USER_DATA_FLOAT
is set and 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:
Integer-MD, Hexa-Fields-MD, 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).
'%
8VHUPDFKLQH
GDWDW\SH,17
1RRI8',QW
1RRI8'+H[
1RRI8'5HDO
8VHUPDFKLQH
GDWDW\SH%<7(
8VHUPDFKLQH
GDWDW\SH5($/
Figure 2-14 DB 20
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 ...