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

多线程实现上位机与PLC之间通信
引用本文:王大为,陈冬兴.多线程实现上位机与PLC之间通信[J].机械与电子,2005(3):53-56.
作者姓名:王大为  陈冬兴
作者单位:上海大学,上海,200072;上海大学,上海,200072
摘    要:结合Omron CPM2A型PLC与上位机的通信方式,介绍了在Visual C 下用MSComm控件采用多线程机制实现PLC与上位机之间的通信,增加了程序的实时性。并给出详尽的程序设计过程及代码。

关 键 词:PLC  上位机  通信  代码  多线程
文章编号:1001-2257(2005)03-0053-04
修稿时间:2004年12月29

Realizing the Communication between Super-computer and PLC by Multi-thread Method
WANG Da-wei,CHEN Dong-xing.Realizing the Communication between Super-computer and PLC by Multi-thread Method[J].Machinery & Electronics,2005(3):53-56.
Authors:WANG Da-wei  CHEN Dong-xing
Abstract:According to the communication method between Omron CPM2A type PLC and supercomputer.This paper introduces how to realize the communication between supercomputer and PLC by using MSComm ActiveX and multithread technology in Visual C++ environment so as to improve the realtime character of the program.It also gives detailed program design process and codes.
Keywords:PLC  supercomputer  communication  code  multithread  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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