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

自动称重系统中PLC与上位机串口通信的实现
引用本文:张继燕,王海瑞,李婷. 自动称重系统中PLC与上位机串口通信的实现[J]. 微型电脑应用, 2008, 24(10): 48-49
作者姓名:张继燕  王海瑞  李婷
作者单位:昆明理工大学信息工程与自动化学院,云南昆明,650051
摘    要:利用西门子CP340自带的串口通讯协议394R,并根据自动称重系统中重量数据格式的要求自定义应用层协议,用VC++60编写应用程序,实现自动称重系统中计算机实时从PLC中读取重量数据。

关 键 词:PLC  串口通信  通信协议  实时多任务  多线程

Realization of PLC and the Position Machine Serial Communication in Automatic Weighing System
ZHANG Ji-yan,WANG Hai-rui,LI Ting. Realization of PLC and the Position Machine Serial Communication in Automatic Weighing System[J]. Microcomputer Applications, 2008, 24(10): 48-49
Authors:ZHANG Ji-yan  WANG Hai-rui  LI Ting
Abstract:We used the Siemens CP340 with its serial communication protocol 394R,customized the application layer protocol according to the weight data format in the automatic weighing system,and use VC 6.0 to compose programs,to realize the real-time reading of weight data from PCL in the automatic weighing system.
Keywords:PLC  Serial communication  Communication protocols  Real-time multi-task  Multi-threaded
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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