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

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

来源:网络收集 时间:2026-01-25
导读: program. However, there are programming methods allowed in Micro/WIN that are not allowed in STEP 7 Basic. The program elements that are not allowed are not converted. They must be corrected later in

program. However, there are programming methods allowed in Micro/WIN that are not

allowed in STEP 7 Basic. The program elements that are not allowed are not converted.

They must be corrected later in the STEP 7 Basic program.

You may want to modify the Micro/WIN program to avoid the common problems listed below

and recompile before performing the conversion. This reduces the effort required to correct

the converted STEP 7 Basic program.

●Overlapping addresses: Program references to overlapping addresses in V and L

memory are partially converted (for example, if VB10 and VW10 are used in the project).

Only the largest sized data element is put in the converted DB1 data block. The other

overlapping address references are not converted. You must assign new DB1 addresses

to these program variables. If there is M memory available, then consider changing the

overlapping addresses to M memory which supports overlapping addresses.

V bit addresses: Most V memory bit addresses will not convert. Consider changing all V bits

to M memory addresses.

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

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

1BProgram conversion process

2.2 Know the cause and fix for V memory conversion problems

2.2.2Common V memory problems you can fix after conversion

The conversion process converts Micro/WIN program V memory references to a single

STEP 7 Basic DB1 (data block 1). Differences in the programming methods for S7-200 V

memory and a S7-1200 data block will cause the common conversion problems listed below.

You must correct these problems in the STEP 7 Basic program, after the program is

converted.

●V memory and corresponding DB1 addresses: The converter tool inserts unused data

arrays in DB1 to make DB1 data start address offsets match the original V memory

address offsets. Due to different restrictions on the starting address (Micro/Win allows

VW or VD locations to start at any location, but Step 7 Basic requires them to start on a

multiples of 2 bytes or 4 bytes) the conversion is not always correct. You can easily

adjust unused array ending addresses and make the DB1 data addresses match the

original V addresses. This makes it easier to verify the correspondence between the

original V memory addresses and the converted DB1 addresses.

●Cross reference and HMI data usage: The DB1 that is created does not use the standard

defaults for some hidden element attributes. This will prevent you from seeing the data in

the STEP 7 Basic cross reference or using the data in an HMI panel.

To workaround this issue:

– 1. Create a temporary DB with "Symbolic access only" attribute disabled.

– 2. Open the DB1 created by the converter tool.

– 3. Select the first location in the upper left corner of the table (just below the Static

row).

– 4. Without moving the cursor box from the top left cell, move the mouse cursor to the comment field of the last row in the table.

– 5. Hold down the shift key and select this location (this should select all visible

columns).

– 6. Do a copy command.

–7. Select the Static row in the temporary DB you created and perform a right-mouse

paste (this will not work if a blank row is selected).

–8. Do a Ctrl-A (select all) and Copy the data in this DB.

–9. Go back to DB1, do a Ctrl-A, and Delete to remove everything from the DB.

–10. Go to the Static row in DB1 and paste (this should recreate the original DB without any hidden attributes for the elements)

–11. Delete the Temporary DB

●HMI panels and retentive data: Make sure to consider the HMI panel while making any

changes to support the required retentive memory locations. To simplify the discussion of

DB access type, a DB created with the "Symbolic access only" DB attribute disabled

allows both symbolic and direct (absolute) addressing is called "symbolic/direct" access

type. A DB that was created with the "Symbolic access only" DB attribute enabled is

called "symbolic only" access type. The DB1 created by the converter tool is a

symbolic/direct DB and so must either be all retentive or none of it is retentive. This may

force you to create a second DB for the retentive memory. If you are using a Basic Panel

HMI in the same project, then you can change DB1 from a symbolic/direct DB type to a

symbolic only DB type. The advantage is that each element in a symbolic only DB type

can be selectively marked as retentive. However, HMI projects created with WinCC Flex

can only use the symbolic/direct DB type. A procedure to change the DB access type is

shown below.

SIMATIC S7-200 to SIMATIC S7-1200 software conversion tool

Manual, 3/2010 9

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

1BProgram conversion process

2.2 Know the cause and fix for V memory conversion problems

– 1. Do not do the following DB access type conversion if you have changed the project to access any DB location using only a direct address, are using the

FieldRead/FieldWrite instructions, or use an HMI panel programmed with WinCC Flex.

– 2. Create a temporary symbolic only access DB with the "Symbolic access only"

attribute enabled.

– 3. Select the first location in the upper left corner of the table (just below the Static

row).

– 4. Without moving the cursor box from the top left cell, move the mouse cursor to the comment field of the last row in the table.

– 5. Hold down the shift key and select this location (this should select all visible

columns).

– 6. Select …… 此处隐藏:5316字,全部文档内容请下载后查看。喜欢就下载吧 ……

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