06.03
8.2 PLC program
8-251
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
8.2
PLC program
The PLC program has a modular structure and is differed by:
–
Basic program
–
User program.
The basic PLC program provides the data and function blocks for the basic
communication between PLC and NC.
The modules of the basic PLC program are part of a SIMATIC S7 library sup-
plied with SINUMERIK 840Di. Before you can use it in an S7 project, the library
must be installed in the SIMATIC Manager STEP7.
The PLC user program is the user-specific part of the PLC program by which
the basic PLC program has been added or extended.
The user memory provided for basic PLC and user programs of the PLC inte-
grated on the MCI board: AS315-2 DP, amounts to 64KB by default.
Optionally, a user memory of up to 288KB is possible.
8.2.1
Performance data of the PLC315-2DP
The PLC315-2DP complies with the following performance data regarding the
max. number of blocks and their max. length:
Table 8-1
Block performance data of the PLC315-2DP
Block type
Max. no.
Max. length per block
FC
192
16420 bytes
FB
192
16420 bytes
DB
255
16420 bytes
8.2.2
Installing the basic PLC program
The basic PLC program is part of the PLC toolbox supplied with SINUMERIK
840Di. To be able to use the blocks of the basic PLC program in a SIMATIC S7
project, the library has to be installed in SIMATIC Manager STEP7 first.
PLC program
Basic PLC
program
PLC user program
User memory
Installation
8 PLC Start-Up