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

串口通讯模块CP340在工业称重中的应用
引用本文:朱全松.串口通讯模块CP340在工业称重中的应用[J].兵工自动化,2006,25(12):53-54.
作者姓名:朱全松
作者单位:中国兵器工业第五八研究所,自动化部,四川,绵阳,621000
摘    要:西门子S7-300系统通过串口通讯模块CP340,以点对点的方式实现与赛多利斯电子秤进行通讯.其CPU采用314C-2DP,CP340采用RS-422/485,通讯协议为ASCII driver,接口为15孔串口模块.先定义CP340和电子秤的接口,在组态CP340通讯参数前,先安装CP340的驱动程序并自动集成在PLC编程软件S7中.PLC启动时先执行OB100,然后循环执行OB1.通讯程序编写在功能中,然后在OB1中调用相应的功能.

关 键 词:PLC  CP340  串口通讯  工业称重
文章编号:1006-1576(2006)12-0053-02
收稿时间:2006-06-27
修稿时间:2006-09-14

Application of CP340 Serial Communications Module in Industrial Weighing
ZHU Quan-song.Application of CP340 Serial Communications Module in Industrial Weighing[J].Ordnance Industry Automation,2006,25(12):53-54.
Authors:ZHU Quan-song
Affiliation:Dept. of Automation, No. 58 Research Institute of China Ordnance Industry, Mianyang 621000, China
Abstract:The SIMENS S7-300 system realized Sartorius weighing communication in point-to-point through serial communication module CP340.Its CPU adopted 314C-2DP,the CP340 adopted RS-422/485,the communication protocol was ASCII driver,and the interface was 15-pin connector module.At first,the CP340 and weighting interface were defined.The driver of CP340 was installed,which should be integrated into S7 Program automatically before configuring the parameters of CP340.When PLC starting up,the organization block of OB100 should be executed at first,and then ran the OB1 circularly.The communication program was compiled in some function and executed by OB1.
Keywords:PLC application  CP340  Serial communication  Industrial weighing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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