S7-200 到 S7-1200 应用软件转换工具(4)
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字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [教学研究]2012西拉科学校团少队工作总结
- [教学研究]建筑工程公司档案管理制度
- [教学研究]小学数学人教版六年级上册圆的周长和面
- [教学研究]ERP电子行业解决方案
- [教学研究]钢支撑租赁合同范本
- [教学研究]预应力自动张拉系统用户手册Rev1.0
- [教学研究]MOOC课程:金瓶梅人物写真(每章节课后
- [教学研究]追加被执行人申请书(适用追加夫妻关系)
- [教学研究]2014年驾考科目一考试最新题库766
- [教学研究]2013-2014学年度九年级物理第15章《电
- [教学研究]新版中日交流标准日本语初级下26课-客
- [教学研究]小导管注浆施工作业指导书
- [教学研究]一般财务人员能力及人岗匹配评估表
- [教学研究]打1.2.页 小学一年级暑假口算100以内加
- [教学研究]学习贯彻《中国共产党党和国家机关基层
- [教学研究]2012年呼和浩特市中考试卷_35412
- [教学研究]最简易的电线电缆购销合同范本
- [教学研究]如何开展安全标准化建设
- [教学研究]工作分析与人岗匹配
- [教学研究]2016-2017学年高中历史第七单元现代中
- 山东省义务教育必修地方课程小学三年级
- 台湾宜兰大学互联网交换技术课程 01_In
- 思想品德:第一课《我知我家》课件(人
- SAR合成孔径雷达图像点目标仿真报告(附
- 利辛县“十三五”规划研究报告
- 2015-2020年中国手机APP行业市场发展趋
- 广告策略、创意表现、媒体方案
- 企业如何申请专利的的几点思考
- 《中国教育简史》网上作业
- 高中历史第二单元西方人文精神的起源及
- 年终晚会必备_精彩的主持稿_精心整理_
- 信息工程专业自荐书
- 2019高考历史人教版一轮练习:第十二单
- JAVA俱乐部管理系统软件需求规格说明书
- 2016-2021年中国小型板料折弯机行业市
- (人教新课标)六上_比的基本性质课件PPT
- 辽宁省公务员考试网申论备考技巧:名言
- 神经阻滞麻醉知情同意书
- 施工企业信息填报、审核和发布的相关事
- 初一(七年级)英语完形填空100篇




