Program Structure Conversion; Program Structure Conversion Overview - Siemens SIMATIC S7-200 Manual

Software conversion tool
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Program structure conversion

3.1

Program structure conversion overview

Table 3- 1
S7-200 program components that are converted
STEP 7-Micro/WIN
Program structure
POU code blocks
Ladder networks
Box instructions
Main routine
Subroutines
Interrupt routines
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Manual, 1/2010
S7-200 to S7-1200 software conversion tool action
The original program block organization is preserved. All blocks that are convertible will
be converted whether or not any convertible code exists in a block. STEP 7-Micro/WIN
programs do not support the STEP 7 Basic block type FB (function block) with an
associated DB (data block). Therefore, all STEP 7-Micro/WIN program blocks are
converted to an equivalent OB (organization block) or a FC (function).
STEP 7-Micro/WIN network numbering, titles, and comments are preserved. If there is
an empty network or complete network that cannot be converted, then an empty or
partially converted STEP 7 Basic network is created.
Box instruction placement is preserved. If a box instruction cannot be converted, then a
corresponding generic box is created as a place holder. If the box has more than one
power flow connection, then the additional power flow connections are left open for you
to connect.
The STEP 7-Micro/Win program Main POU is converted to the STEP 7 Basic program
cycle OB1.
STEP 7-Micro/WIN program SBR subroutines are converted to FC functions. FCs are
created with or without local parameters. FC local parameters appear in the block
interface table of the STEP 7 Basic block editor and correspond to the local variable
table parameters of a STEP 7-Micro/WIN subroutine. The converted FC numbering is
offset by 1 compared to the S7-200 SBR number (SBR0 converts to FC1).
STEP 7-Micro/WIN program INT (interrupt routines) are converted to hardware interrupt
OBs or cyclic interrupt OBs. The S7-200 interrupt attach (ATCH) and detach (DTCH)
instructions are converted to generic box instruction placeholders. You must enable S7-
1200 interrupt events with the CPU device configuration. Then, replace the generic box
instructions with S7-1200 ATTACH and DETACH instructions that use a configured
interrupt event.
3
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents