P3: Basic PLC Program for SINUMERIK 840D sl
13.5 Starting up the PLC program
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
853
Compatibility with STEP 7
There are no dependencies between the basic program and current STEP7 versions.
13.5.3
Version codes
Basic Program
The version of the basic program is displayed on the HMI version screen along with the controller type.
The controller type is encoded as follows:
User Program
Users can also display their own PLC version codes on the HMI version screen. For this purpose, a data of type
STRING containing a maximum of 54 characters must be defined in any data block. The data can contain a text
of the user's choice. Parameter assignments for this string are made via a pointer in FB 1. Parameterization
requires symbolic definition of the data block.
See also section "block descriptions" > "FB 1: RUN_UP Basic program, startup section [Page 925] ".
13.5.4
Machine program
The machine manufacturer creates the machine program using the library routines supplied with the basic
program. The machine program contains the logic operations and sequences on the machine. The interface
signals to the NC are also controlled in this program. More complex communication functions with the NCK, e.g.
read/write NC data, tool-management acknowledgments, etc., are activated and executed via blocks FCs and
FBs of the basic-program).
The machine program can be created in various STEP 7 creation languages, e.g. AWL, KOP, FUP, S7-
HIGRAPH, S7GRAPH, SCL. The complete machine program must be generated and compiled in the correct
sequence.
This means that blocks that are called by other blocks must generally be compiled before these blocks.
If blocks that are called by other blocks are subsequently modified in the interface (VAR_INPUT, VAR_OUTPUT,
VAR_IN_OUT, VAR) as the program is developed, then the call block and all blocks associated with it must be
compiled again. This general procedure applies analogously to instance data blocks for FBs. If these sequence
of operations is not maintained, time-stamp conflicts occur when the data retranslated into STEP 7. As such, the
recompilability of the blocks is not ensured and with the function "Status of block" unnecesary conflicts can also
appear. It is, moreover, advisable to generate blocks in ASCIISTL by means of the STEP 7 editor when they
have been created in Ladder Diagram or in single statements (incremental mode).
Left-justified decade
of DB 17 DBD 0 (byte 0)
Controller type
03
SINUMERIK 840D (561,571, 572, 573)
04
SINUMERIK 840Di
03
SINUMERIK 840D sl (NCU 7x0)
SINUMERIK 840Di sl
Содержание 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 ...