Detailed description
2.4 Starting up the PLC program
Power Line Basic PLC Program (P3)
2-16 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2.4.2 Application of basic program
A new CPU program (e.g., "Turnma1") must be set up in a project by means of the STEP7
software for each installation (machine).
Comment
The catalog structures of a project and the procedure for creating projects and user
programs are described in the relevant SIMATIC documentation.
STEP7 V1
A network link to the PLC must be activated for the machine CPU program under menu
items "Edit", "Configuration". This is done in the "Services", "Parameterize" menu followed by
selection of the MPI parameters.
Default:
• "Networked"
• "MPI subnetwork number = 0"
• "CPU MPI Addr = 2"
The following must be copied into the CPU program for the machinespecific program files:
1. The basic-program blocks (FCs, FBs, DBs, OBs, SFCs, SFBs, and UDTs) ("File",
"Manage Project" menu in the Step7 program editor).
2. File GPOB840D.AWL (or GPOB810D.AWL or GPOBFMNC.AWL) and other STL (AWL)
files if appropriate must also be copied from the basic program catalog into the CPU
program. The OBs contained in this file are the basis for the user program with the
associated basic program calls. Existing user blocks must be copied as STL files to the
newly created CPU program (catalog name CPU1.S7D) and compiled.
3. We also recommend that the symbolic names are transferred with the files from the basic
program package using the symbol editor.
STEP7 V2
The basic-program blocks are copied using the SIMATIC Manager and
"File"/"Open"/"Library".
The following sections must be copied from the library:
AP off: FCs, FBs, DBs, OBs, SFC, SFB, UDT and the SDB container.