Version Codes; Machine Program - Siemens SINUMERIK 840D sl Function Manual

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

13.7.3

Version codes

Basic program
The version of the basic program is displayed on the Version screen of the user interface along
with the controller type.
The controller type is encoded as follows:
Leftjustified decade of DB17.DBD0 (byte 0)
03
User program
Users can also display their own PLC version codes in the 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. The parameterization on this string is
done via a pointer on FB1. For this, the data block must be defined symbolically.
See also section "block descriptions" > "FB1: RUN_UP - basic program, start section
(Page 914) ".
13.7.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).
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
P3: Basic PLC program for SINUMERIK 840D sl
13.7 Starting up the PLC program
Controller type
SINUMERIK 840D sl (NCU 7x0)
827

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents