首页 | 本学科首页   官方微博 | 高级检索  
     

使用STEP 7 SCL语言编写Dongle替代程序
引用本文:王浩宇,姚纵为,李琳.使用STEP 7 SCL语言编写Dongle替代程序[J].化工文摘,2011(6):44-49,51.
作者姓名:王浩宇  姚纵为  李琳
作者单位:[1]深圳水务集团红木山水厂,深圳518131 [2]深圳水务集团工程建设部,深圳518131
摘    要:由于SIEMENS公司提供的Modbus硬件狗驱动Dongle价格昂贵且无法应用于CP340模块,试图编写相对应的替代程序。通过比较,选定SCL语言作为编程工具。介绍了Modbus串行通信的两种方式,依据编程的步骤对各部分功能程序的编写作以说明,演示了功能程序的使用方法和相关数据块的结构。多个工程应用证明替代程序完全能够实现Dongle的功能。

关 键 词:CP341  SCL  PLC  Dongle  Modbus通信

A STEP 7 SCL-Programming Solution in Substitution for Dongle
Authors:WANG Hao-yu  YAO Zong-wei  LI Lin
Affiliation:1.Hongmushan Water Plant,Shen Zhen Water Group,Shen Zhen 518131,China;2.Engineering Department of Shen Zhen Water Group,Shen Zhen 518031,China)
Abstract:Aiming at avoiding the high cost and inconvenience for applicating Dongle to Modbus communication,a software solution is studied.SCL language is selected as programming tool.The two modes are introduced for Modbus communication via serial port.Different functions are programmed and explained in order of being called.The methods of calling functions are demonstrated,and the structures of correlative data blocks are listed.Some applications prove that the solution could implement the function of Dongle completely.Difference between Dongle and solution is analyzed,and suggestion for application is given.
Keywords:CP341  SCL  PLC  Dongle  Modbus communication
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号