教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 教学研究 >

S7-200 到 S7-1200 应用软件转换工具(4)

来源:网络收集 时间:2026-01-25
导读: partially converted, newly created, or not converted. ●Open the original program in STEP 7-Micro/WIN and open the converted program in STEP 7 Basic, at the same time. ●Compare the STEP 7-Micro/WIN

partially converted, newly created, or not converted.

●Open the original program in STEP 7-Micro/WIN and open the converted program in

STEP 7 Basic, at the same time.

●Compare the STEP 7-Micro/WIN program symbols with the converted STEP 7 Basic

program tags (symbolic references).

Global symbols

●STEP 7-Micro/Win global symbols are defined in the Symbol table.

●The converted STEP 7 Basic global symbols (I, Q, and M memory only) are located in the

PLC Tag table or in data block DB1 (converted S7-200 V memory symbols).

Local symbols

●STEP 7-Micro/Win local symbols are defined in the Local variable tables of the main

routine, subroutines, and interrupt routines.

●The converted STEP 7 Basic local symbols are defined in the Block interface table of the

corresponding OBs (Organizational blocks) and FCs (Functions).

Note

Do not rename any tags until after you get the project to compile without errors.

Otherwise, any changes will only take effect in the blocks that are opened in the program

editor. For example, you want to change the tag "SM0_0" that the converter created to

"Always_On". When the project compiles without errors, the system automatically

updates the modified tag names in all the blocks for you.

SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool 16Manual, 3/2010

S7-200 到 S7-1200 应用软件转换工具

1BProgram conversion process

2.7 Compare the symbols/tags in the original program and the converted program

Table 2- 4

Symbol conversion rules

STEP 7-Micro/WIN program symbolic reference Converts to this STEP 7 Basic PLC tag STEP 7 Basic programming issues I, Q, or M memory symbol

PLC Tag table I, Q, and M memory tags AIW and AQW (Analog I/O symbols) PLC Tag table I and Q memory tags

The I/O base addresses can be modified

by PLC Device configuration and can make the converted S7-200 address

incorrect. HC symbol name (High-speed counter) PLC Tag table I memory tag ? Make a Tag table entry (I, Q, M, or

constant): In the program editor, right-click on

the parameter name and select

"Define tag". SM and S memory symbols

Undefined program parameter

The S7-1200 does not have SM or S

memory. Define the parameter name in

substitute program logic. In the program editor, a red squiggle underline indicates an undefined parameter name. ? Make a data block reference: Change the undefined symbol name to a data block address.

Ex. DB1.SymV0_1

V memory symbol

The V memory symbol name becomes a DB1 data block element name, or the S7-200 V memory symbol is discarded because it overlapped the address of another V memory symbol.

A discarded S7-200 V memory symbol creates an undefined parameter in converted program logic. You must assign a new symbol name and DB1 address.

T (timer memory) and C (counter memory

? In S7-1200 LAD programs, The Q

output of counter and timer boxes replaces the function of the S7-200 counter and timer bit addresses.

? Timer and counter bits/current values

can also be accessed as data

elements within the associated DB. Timer and counter symbol names become the DB names of the data blocks associated with the converted timer and counter instructions.

L memory symbol (Local variable table) L memory symbol (Block interface table)

Note

STEP 7-Micro/WIN wizard and library symbols

The symbols used in subroutines, interrupt routines, and V memory data groups (data block tabs) created by STEP 7-Micro/WIN wizards or library usage are not converted. Also, symbols used in user-protected POUs or V memory tabs are not converted.

Unconverted code blocks and data block tabs (data groups) can create undefined symbols in POU blocks that were successfully converted. You must define these symbols to use symbolic addressing in substitute program logic.

SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool Manual, 3/2010

17

S7-200 到 S7-1200 应用软件转换工具

1BProgram conversion process

2.8 Complete the STEP 7 Basic program and verify the run-time operation

SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool 18 Manual, 3/2010 2.8

Complete the STEP 7 Basic program and verify the run-time operation 1. Complete all program parameters and program logic. 2. Some S7-1200 CPU I/O channel assignments may use a different I/O channel number compared to the I/O channel numbers used in the S7-200 program. Reassign and rewire the terminal block connections as needed. 3. Compile and download the user program to the S7-1200 CPU 4. Debug and verify the run-time operation the S7-1200 program.

Note Monitoring program variables with STEP 7 Basic STEP-7 Micro/WIN status charts are not converted. You must create the corresponding STEP 7 Basic watch tables to monitor run-time data values.

WARNING Due to functional differences between the S7-200 and S7-1200, your user program may not have been completely converted An incomplete or improper conversion of your user program may cause unexpected machine or process operation which could cause death, serious injury, or property damage.You must review and check the converted program to ensure proper and safe operation in your application.

S7-200 到 S7-1200 应用软件转换工具

P rogram structure conversion 3 3.1Program structure conversion overview

Table 3- 1 S7-200 program components that are converted

S7-200 to S7-1200 software conversion tool action

STEP 7-Micro/WIN

Program structure

POU code blocks 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-Mi …… 此处隐藏:5489字,全部文档内容请下载后查看。喜欢就下载吧 ……

S7-200 到 S7-1200 应用软件转换工具(4).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wenku/50404.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)