S7-200 到 S7-1200 应用软件转换工具(3)
tree. Select the "Compile > Software (rebuild all blocks)" item from the right-click menu.
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool 12Manual, 3/2010
S7-200 到 S7-1200 应用软件转换工具
1BProgram conversion process
2.5 Configure the S7-1200 CPU and I/O modules
2.5
Configure the S7-1200 CPU and I/O modules
Note
The converter tool does not configure the S7-1200 CPU and I/O modules.
Do not rename any tags until after you get the project to compile without errors. Otherwise, the 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.
● Use the STEP 7 Basic Device configuration to either detect the configuration of the connected S7-1200 system or specify the system components from the Hardware
catalog. All S7-200 programs are initially converted to the unspecified S7-1200 CPU type. ● S7-200 system Block CPU parameters and CPU status and control functions that are programmed by SM memory addresses are not converted. You must set up the corresponding S7-1200 CPU properties using STEP 7 Basic Device configuration
settings. CPU options that your S7-1200 program will use must be properly configured, before your program can access or operate those CPU options. ● It is also helpful to enable the System and Clock memory bits to replace the commonly used SMB0 bits in your project. Use an M byte above MB32 so as to not conflict with the M memory usage in the S7-200 project. ● If you are an OEM, then change the Startup mode from "Warm restart – Operating mode before POWER OFF" to "Warm restart – RUN". Otherwise, if the CPU goes to stop because of a program update from a memory cartridge or an error, you will have to provide software to put the CPU back into Run mode.
Table 2- 2
S7-1200 Device configuration options compared to S7-200
S7-1200 Device configuration S7-1200 parameter
S7-200 parameter
Location of system memory byte (MBx)
Fixed SM (Special memory) address Always 1 bit SM0.0 Always_On Enable System and clock memory
System memory byte
First cycle bit
SM0.1 First_Scan_On Clock memory bits
Location of clock memory byte (MBx) SM0.5 Clock-1s
Configurable address Fixed address Input filters
Digital input filters Enable rising edge interrupt Fixed assignment Enable falling edge interrupt Fixed assignment
Configure Digital I/O Digital inputs
Pulse catch
Pulse catch bits
Configurable address Fixed address Digital outputs
RUN-to-STOP output state Digital output table Configurable address
Fixed address
Noise reduction No support Configure Analog I/O
Analog inputs
Measurement type
Hardware setup
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool Manual, 3/2010
13
S7-200 到 S7-1200 应用软件转换工具
1BProgram conversion process
2.5 Configure the S7-1200 CPU and I/O modules
S7-1200 Device configuration S7-1200 parameter
S7-200 parameter
Voltage range Hardware setup Smoothing
Analog input filters
Configurable address Fixed address Output type
Hardware setup Analog outputs
RUN-to-STOP output state Analog output table Configurable address Fixed address
Type of counting Counting type only Operating phase HDEF instruction Mode parameter Input source
Fixed assignment Count direction control Mode selection and SM address Initial count direction SM address Initial values SM address
Reset options Mode selection and SM address
Enable High-speed counters HSC 1, 2, 3, 4, 5, 6
Interrupt OB event configuration
ATCH instruction event parameter
Configurable address Fixed address Generator type SM address Enable Pulse generators PTO1/PWM1, PTO2/PWM2
Output source Fixed Time base SM address Pulse width format milliseconds Cycle time SM address Initial pulse width SM address
Hardware output
Built-in I/O
Retentive range setting System block setting The Tag table can retain a range of
M memory (2048 byte maximum)
Retentive Memory
Internal flash memory
A D
B editor can retain a block of DB data. The 2048 byte total is shared between M and DB memory.
Six ranges in V, T and C actual values, or M
SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool
14
Manual, 3/2010
S7-200 到 S7-1200 应用软件转换工具
1BProgram conversion process
2.6 Compare the program blocks in the original program and the converted program 2.6Compare the program blocks in the original program and the
converted program
The purpose of the comparison is to identify the subroutines, interrupt routines, and data
block data that were 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 POU (Program Organizational Unit) block
structure of original S7-200 program with the converted STEP 7 Basic program.
●Use the STEP 7-Micro/WIN Instruction tree and open the "Program Block" and "Data
Block" branches.
●Use the STEP 7 Basic Project tree and open the "Project blocks" branch.
The subroutines, interrupt routines, and V memory data groups (data block tabs) created by
STEP 7-Micro/WIN wizards and library usage are protected and are not converted. Also
user-protected POUs or V memory tabs are not converted.
If S7-200 code blocks are n …… 此处隐藏:5294字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [教学研究]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篇




