SIMATIC
S7-1200
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Manual
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation for the specific task, in particular its warning notices and
safety instructions. Qualified personnel are those who, based on their training and experience, are capable of
identifying risks and avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The pe
rmissible
ambient conditions must be adhered to. The information in the relevant documentation must be observed. Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG Copyright © Siemens AG 2010.
Industry Sector Ⓟ 03/2010 Technical data subject to change
Postfach 48 48
90026 NÜRNBERG
Table of contents
1 Prerequisites and installation (5)
2 Program conversion process (7)
2.1 Conversion steps overview (7)
2.2 Know the cause and fix for V memory conversion problems (8)
2.2.1 Common V memory problems you can fix before conversion (8)
2.2.2 Common V memory problems you can fix after conversion (9)
2.3 Run the converter tool (11)
2.4 Rebuild all blocks and links between blocks (12)
2.5 Configure the S7-1200 CPU and I/O modules (13)
2.6 Compare the program blocks in the original program and the converted program (15)
2.7 Compare the symbols/tags in the original program and the converted program (16)
2.8 Complete the STEP 7 Basic program and verify the run-time operation (18)
3 Program structure conversion (19)
3.1 Program structure conversion overview (19)
3.2 Memory addresses (20)
3.3 Symbol table (22)
3.4 Data block (22)pdf转html
3.5 Interrupt events (24)
3.6 Wizards (26)
3.7 Libraries (27)
4 S7-200 LAD instruction conversion (29)
4.1 Bit logic (29)
4.2 Timers (30)
4.3 Counters (30)
4.4 Compare (31)
4.5 Integer math (31)
4.6 Floating-point math (32)
4.7 Move (32)
4.8 Convert (33)
4.9 Program control (34)
4.10 Logical operations (34)
4.11 Shift and Rotate (35)
4.12 Clock and Calendar (35)
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Table of contents
4.13 String (35)
4.14 Communication (36)
4.15 Interrupts (36)
4.16 Table (36)
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
1 P rerequisites and installation
Prerequisites
The following software must be installed on your computer or programming device:
●SIMATIC STEP 7-Micro/WIN V4.0 SP6 (or later)
●SIMATIC STEP 7 Basic V10.5 SP2
●SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
Hardware recommendation: It is very helpful to use two monitors and open the Micro/Win
and Step 7 Basic projects on separate monitors. This makes it easier to compare and correct
the program elements that are not converted.
The STEP 7-Micro/WIN program that you want to convert must have these properties:
●The program must have been created using STEP 7-Micro/WIN V4.0 SP7 or an earlier
version of STEP 7-Micro/WIN.
●The program must have been created using SIMATIC programming mode. IEC
programming mode is not supported.
●The program must have been saved in LAD (ladder editor) format.
●The program must compile with no errors.
●All user-defined password block protection must have been removed from the
STEP 7-Micro/WIN program. Remove the password protection from the main routine,
subroutines, interrupt routines, and all data pages in the data block. Any program block
that is password protected will not be converted.
Note
If a STEP 7-Micro/Win wizard has generated and protected program blocks, then the
block protection cannot be removed and these program blocks are not converted.
Install the converter software
●STEP 7 Basic V10.5 SP2 and STEP 7-Micro/WIN V4.0 SP7 (or later) must already be
installed or your computer or programming device.
●Double-click file that installs the SIMATIC S7-200 to SIMATIC S7-1200
software conversion tool. You can run file from any directory.
●After you install the conversion tool, a new command "Convert S7-200 Project" appears
in the "Project" menu.
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool