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

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

来源:网络收集 时间:2026-01-25
导读: 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 应用软件转换工具 1

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字,全部文档内容请下载后查看。喜欢就下载吧 ……

S7-200 到 S7-1200 应用软件转换工具(3).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)