gk-auto 发表于 2021-11-7 10:48:21

如何把S7-200的库文件导入到200SMART

今天给大家说说如何将 Micro/WIN 的库文件导入到 Micro/WIN SMART 中,一步步来操作,每个人都能看懂。

1. 打开S7-200 库文件 选择要导入的库文件,并将其放在程序编辑器的子程序中。https://p5.toutiaoimg.com/img/pgc-image/d27978a4b6be49e5be1bd9bf6afd57a1~tplv-tt-shrink:640:0.image

图1. 指令库2. 配置相应参数。https://p3.toutiaoimg.com/img/pgc-image/881660cdb38648b2a9f22d81c219d5ed~tplv-tt-shrink:640:0.image

图2. 编程窗口

3. 编译并保存。https://p26.toutiaoimg.com/img/pgc-image/349a4c20736a4e478cdfe7880a805b18~tplv-tt-shrink:640:0.image

图3. 编译按钮4. S7-200SMART编程软件,打开刚刚保存的文件。(与200不同,200smart模拟量输入的量程为0-27648。)https://p26.toutiaoimg.com/img/pgc-image/17f8c71f79af496bb01571d7df31cabb~tplv-tt-shrink:640:0.image

图4. 编程窗口5.在符号表中给VW0和VD100设置符号名。https://p26.toutiaoimg.com/img/pgc-image/38615c1c747c4cb49d7b72e1580d6cde~tplv-tt-shrink:640:0.image

图5. 设置符号名6. 鼠标右击 “库” 选择 “创建库”。https://p26.toutiaoimg.com/img/pgc-image/baccdcc7c4e34549a5c423998230f04d~tplv-tt-shrink:640:0.image

图6. 指令库

7. 对库进行命名,点击 “浏览” 将库存到指定位置,设置完成后单击“下一页”。https://p6.toutiaoimg.com/img/pgc-image/7e79e6df022f4895bcc1f30e62db99f6~tplv-tt-shrink:640:0.image

图7. 名称和路径8. 将要添加的内容添加到项目中,单击“下一页”。https://p26.toutiaoimg.com/img/pgc-image/e43b01b3980f42d08adbd0ba7f473399~tplv-tt-shrink:640:0.image

图8. 添加窗口9. 设置密码保护(可选),完成后单击“下一页”。https://p6.toutiaoimg.com/img/pgc-image/4fe29d7c0eb34332a21f0886e51baaab~tplv-tt-shrink:640:0.image

图9. 密码保护10. 设置库的版本,完成后单击“下一页”。https://p3.toutiaoimg.com/img/pgc-image/bc6f18a9251742458b32fcdf8485869a~tplv-tt-shrink:640:0.image

图10. 版本生成11. 单击“创建”,完成创建库。https://p26.toutiaoimg.com/img/pgc-image/469cb2212da84843b99eaf30510f8492~tplv-tt-shrink:640:0.image

图11. 完成创建12. 关闭软件后,以管理员身份重新运行,选择“库”即可找到添加的库文件。https://p9.toutiaoimg.com/img/pgc-image/6d6ecbf319aa4b2d91e89900a4c8a8bb~tplv-tt-shrink:640:0.image

图12. 指令库13. 将其添加到程序编辑器中,为其分配库存储区。https://p5.toutiaoimg.com/img/pgc-image/abde7b4d7a5a47289672ae0a49188f6a~tplv-tt-shrink:640:0.image

https://p3.toutiaoimg.com/img/pgc-image/9adc471c4a5a4cd89b14f6d8a53c8d4e~tplv-tt-shrink:640:0.image

图13. 分配库存储区
14.编译后无报错,即可使用。https://p5.toutiaoimg.com/img/pgc-image/632cda68612c420580aa8f4ef4411763~tplv-tt-shrink:640:0.image

图14. 编程窗口
工控PLC学习

系一米阳光 发表于 2025-11-12 16:40:57

浅评一下:内容优质,值得推荐~

fyd1139265989 发表于 2025-11-12 17:10:44

原来还有这种操作,长见识了!

zgxjshzzl 发表于 2025-11-12 17:20:18

评论区人才辈出,笑到停不下来😂

hui309397621 发表于 2025-11-12 17:40:00

浅蹲一个后续,楼主更新踢我一下

laoyao523 发表于 2025-11-12 18:02:56

这波反向操作,我属实没想到!

hanf 发表于 2025-11-12 19:27:00

路过混个脸熟,顺便为优质内容打 call~

15547333755 发表于 2025-11-14 16:35:21

楼主太会说了,字字句句都在理

delphi 发表于 2025-11-14 16:49:40

笑不活了,评论区比正文还精彩
已转发给朋友,一起快乐一下

18384036385 发表于 2025-11-14 16:53:12

同款经历!简直是世另我
页: [1] 2
查看完整版本: 如何把S7-200的库文件导入到200SMART