文件名称:PLC_Control
- 所属分类:
- 其他行业
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 70kb
- 下载次数:
- 0次
- 提 供 者:
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
欧姆龙最新PLC CPH1系列hostlink应用例子,用于编写上位机控制软件,通过串口直接控制PLC。用vc编写,方便转化为其他语言。
包括内容:
1:自封装串口类(来源于网络,做了适当修改)
2:多线程,线程间同步,通讯等。
3:生产者消费者模型应用,环形缓冲队列应用
4:欧姆龙hostlink通讯通讯同步处理,FCS校验值计算,各种hostlink指令使用示例。
5:线程消息处理类封装。
6:windows程序中带console调试界面,可把调试信息输出到控制台窗口及文件。
7:windows界面调试工具。(win32多线程程序设计一书中WM_COPYDATA例子封装,运行程序前启动目录中CopyRecv程序。)
8:自封装高精度计时器。(QueryPerformanceFrequency,QueryPerformanceCounter)
9:其他详见代码,此测试程序对初学者非常有帮助,而请大虾多指教。
e-mail:m__point@163.com
-OMRON PLC CPH1 latest series hostlink application examples, for the preparation of PC control software through direct serial control PLC. Prepared using vc facilitate conversion to other languages. Including : 1 : Since Packaging serial category (from the network, so the appropriate modifications) 2 : multiple threads, thread synchronization, communications. 3 : Producer consumer model, a circular buffer queue application 4 : OMRON hostlink synchronous communications Communications, FCS checksum calculation, hostlink various examples of the use of directives. 5 : threaded message processing category Packaging. 6 : windows proceedings with console debugging interface Debugging information can be output to the console window and documents. 7 : windows interface debugging tools. (Win32 multit
包括内容:
1:自封装串口类(来源于网络,做了适当修改)
2:多线程,线程间同步,通讯等。
3:生产者消费者模型应用,环形缓冲队列应用
4:欧姆龙hostlink通讯通讯同步处理,FCS校验值计算,各种hostlink指令使用示例。
5:线程消息处理类封装。
6:windows程序中带console调试界面,可把调试信息输出到控制台窗口及文件。
7:windows界面调试工具。(win32多线程程序设计一书中WM_COPYDATA例子封装,运行程序前启动目录中CopyRecv程序。)
8:自封装高精度计时器。(QueryPerformanceFrequency,QueryPerformanceCounter)
9:其他详见代码,此测试程序对初学者非常有帮助,而请大虾多指教。
e-mail:m__point@163.com
-OMRON PLC CPH1 latest series hostlink application examples, for the preparation of PC control software through direct serial control PLC. Prepared using vc facilitate conversion to other languages. Including : 1 : Since Packaging serial category (from the network, so the appropriate modifications) 2 : multiple threads, thread synchronization, communications. 3 : Producer consumer model, a circular buffer queue application 4 : OMRON hostlink synchronous communications Communications, FCS checksum calculation, hostlink various examples of the use of directives. 5 : threaded message processing category Packaging. 6 : windows proceedings with console debugging interface Debugging information can be output to the console window and documents. 7 : windows interface debugging tools. (Win32 multit
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PLC Control
...........\Base.h
...........\com_class.h
...........\ConsoleDebugOutputWin.cpp
...........\ConsoleDebugOutputWin.h
...........\ControlPLC.aps
...........\ControlPLC.clw
...........\ControlPLC.cpp
...........\ControlPLC.dsp
...........\ControlPLC.dsw
...........\ControlPLC.h
...........\ControlPLC.ncb
...........\ControlPLC.opt
...........\ControlPLC.plg
...........\ControlPLC.rc
...........\ControlPLC1.cpp
...........\ControlPLC1.h
...........\ControlPLCDlg.cpp
...........\ControlPLCDlg.h
...........\CopyRecv.exe
...........\HiperTimer.cpp
...........\HiperTimer.h
...........\mssccprj.scc
...........\PostMsgProcess.cpp
...........\PostMsgProcess.h
...........\ReadMe.txt
...........\res
...........\...\ControlPLC.rc2
...........\...\vssver.scc
...........\resource.h
...........\StdAfx.cpp
...........\StdAfx.h
...........\ThreadTrace.cpp
...........\ThreadTrace.h
...........\vssver.scc
...........\Base.h
...........\com_class.h
...........\ConsoleDebugOutputWin.cpp
...........\ConsoleDebugOutputWin.h
...........\ControlPLC.aps
...........\ControlPLC.clw
...........\ControlPLC.cpp
...........\ControlPLC.dsp
...........\ControlPLC.dsw
...........\ControlPLC.h
...........\ControlPLC.ncb
...........\ControlPLC.opt
...........\ControlPLC.plg
...........\ControlPLC.rc
...........\ControlPLC1.cpp
...........\ControlPLC1.h
...........\ControlPLCDlg.cpp
...........\ControlPLCDlg.h
...........\CopyRecv.exe
...........\HiperTimer.cpp
...........\HiperTimer.h
...........\mssccprj.scc
...........\PostMsgProcess.cpp
...........\PostMsgProcess.h
...........\ReadMe.txt
...........\res
...........\...\ControlPLC.rc2
...........\...\vssver.scc
...........\resource.h
...........\StdAfx.cpp
...........\StdAfx.h
...........\ThreadTrace.cpp
...........\ThreadTrace.h
...........\vssver.scc