Programming the PLC
3.5 Correcting OB1
The dialog offers you the following ways of rectifying the conflict:
– You can cancel the copy process, search for the duplicate blocks in the project tree
– You can copy the master copy to the project and overwrite duplicate blocks without
The other possibility mentioned in the dialog, "Rename and add objects", does not
resolve the conflict in this case.
3.5
Correcting OB1
When inserting the blocks from a master copy of the library, the existing organization block
OB1 is duplicated because it has a different name in the library than in the newly created
PLC.
● Block in project tree: Main [OB1] or the name of your migrated block.
● Block in library: OB1 [OB1]
When the project is compiled, a message is displayed that there may only be one object of
the type "OB1".
Procedure
To identify the not required version of the OB1 and to rectify the problem, proceed as
follows:
1. Delete one of the duplicated OB1 blocks in the "program blocks" folder:
– If the "program blocks" folder prior to the insertion contained only the empty Main
– If you have already programmed your own instructions in the OB1, this block normally
64
and delete them before you initiate the copy process again. In this case, click in the
"Cancel" dialog box.
knowing which blocks have caused the conflict. In this case, select in the dialog box
"Replace existing objects and move to this location" and confirm with "OK".
[OB1] standard block, you can delete it.
already contains the call for the basic program and you can delete the newly added
"OB1 [OB1]" block.
SINUMERIK STEP 7 Toolbox V14 SP1
Configuration Manual, 05/2017