Fundamentals
15.5 PLC program
CNC Part 1 (NCK, PLC, drive)
Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0
277
15.5.1 Fundamentals of creating a PLC user program
Introduction
The following points must be observed when creating a PLC user program:
• Software and hardware prerequisites
• Installing the toolbox (PLC basic program, slave OEM, GSD files)
• Editing the blocks in the PLC basic program
Software and hardware prerequisites
• SIMATIC STEP 7 as from Version 5.3, Service Pack 2
• SIMATIC STEP 7 is installed on the PG/PC
Installing the PLC basic program library
To be able to use the blocks of the basic PLC program (OBs, FBs, DBs, etc.) in a SIMATIC
S7 project, the library must first be installed in the SIMATIC manager.
Editing the blocks in the PLC basic program
The individual blocks in the basic PLC program can be processed as follows in the SIMATIC
manager:
• Select the appropriate block, e.g. OB 100 in the folder Blocks of the corresponding
Module
• Use the menu command Edit > Open Object to open the block or double-click the block
with the left mouse button
• Edit the block using the LAD/STL/CSF editor. Switch over to the block display using the
menu command View > LAD or STL or CSF
See also
Overview Creating a PLC program (Page 54)