首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到17条相似文献,搜索用时 93 毫秒
1.
介绍了一种基于西门子PLC ASCII通信协议的PtP通信模块的设计实现;给出了实际应用中小数点不确定的ASCIl数据转化为十六进制数的程序实现算法及程序流程.  相似文献   

2.
介绍了扭矩仪以及S7-22×PLC在该系统开发中的应用。根据系统功能要求分析和介绍了系统的控制功能图、系统软件编程思路以及PLC程序功能模块。在开发中主要采用了基于PC的控制系统,但是PC机不能直接驱动电机,需要借助于PLC或单片机。而后两者在数据处理、存储、显示等方面的功能又不及前者。实践中采用了PLC。自由口协议就是在自由口模式下用户可以自己定义协议来与其他智能设备进行通信。自由口模式支持ASCII和二进制协议,实践中采用了ASCII协议,即通信中发送的是ASCII码。自由口通信把PC机和PLC的优点结合在了一起,只需要PC机向PLC发送相关指令,PLC即可按照要求去驱动电机。而这并不妨碍数据采集和处理模块的并行运行,提高了系统的可靠性和响应及时性。  相似文献   

3.
工业控制过程中,对于由一主机和若干从机所构成的网络,可以采用Modbus协议实现主从机之间的信息传递,在实现主从通信的基础上,提高信息交换的准确性和速率显得十分重要.通过定制WinCE操作系统和串口驱动编程,分析Modbus ASCII通信协议的原理,设计了EVC下Modbus ASCII通信协议的主从通信程序,并且将...  相似文献   

4.
针对基于可编程控制器(PLC)的气动测量系统中,气动量仪串行通信数据输出格式不紧凑、占用存储空间大以及实时运算处理困难等问题,提出一种有效的串行通信数据压缩算法.采用逻辑运算先将数据单字节处理,再将单字节从ASCII码转换成十进制数,最后加权整合得到完整数据.实验表明,该方法能将数据存储空间减少到原来的1/7,而且使PLC中测量数据的实时处理得以实现.  相似文献   

5.
介绍了通过使用CP341实现S7-300 PLC与多台XK-2000动态称重显示控制器之间的Modbus ASCII通信,重点阐述了PLC的通信网络配置和仪表通信协议的编写实现等关键问题。  相似文献   

6.
针对西门子CP341/CP441实现MODBUS RTU Master/Slave通信需要单独购买硬件驱动狗的问题,提出基于CP341/CP441硬件自带的ASCII通信物理介质,用软件编程的方式实现MODBUS RTU通信,免驱动的MODBUS RTU方式和第三方设备进行数据交换。实际应用结果表明,该方案免除了购买西门子MODBUS硬件驱动狗的开销,具有值得推广的经济效益。  相似文献   

7.
PCB的开放式数控雕刻加工   总被引:2,自引:0,他引:2  
提出了一种基于开放式数控技术,实现Protel电路图机械加工的新方法.通过Protel等EDA软件的数据交换接口,可输出ASCII或Excel格式的PCB设计数据;应用VC++开发程序,生成标准G代码NC文件.以"PC机+运动控制卡"构建开放式数控雕刻加工控制系统,实现少量PCB的快速制板,成本低,精度高,能大大缩短电子产品的研发周期.  相似文献   

8.
本文介绍一种在组态软件与进行多个单片机通讯的方法,不需要附加任何设备,直接利用组态软件中提供单片机ASCII码协议来进行通信。 本文给出了调试成功的单片机程序及相应的PC机中软件的设置。  相似文献   

9.
液显LCD1602模块的应用   总被引:2,自引:0,他引:2  
LCD1602应用于智能仪表、通信和办公自动化等领域,它的主要作用是屁示ASCII码字符,因此又被称作“字符型显示器件”。利用点阵字形特点可自定义汉字字库让其显示汉字。  相似文献   

10.
鲍庆龙 《衡器》2014,(4):7-10
本文简单介绍了称重AD模块的功能、结构,重点介绍了模块相应的上位机软件的开发,包括所需实现的串口设置、自动扫描、参数读取与设置、ASCII文本和十六进制方式的指令发送与接收等功能,并比较了本公司自由口协议和Modbus RTU协议的区别。  相似文献   

11.
This paper proposes the use of voice commands expressed in natural language for part program generation for pulsed fiber laser micromachining. Traditionally, according to ISO G-code, a part program is an ordered list of program blocks in an ASCII formatted computer file. Each block identifies a machine operation and defines its parameters, following a predefined syntax. Under the proposed approach, such a file is replaced by natural language voice commands without any particular syntax constraints. Such an approach has the potential to facilitate the generation of part programs in domains (laser micromanufacturing, rapid prototyping, desktop computer numerical control) where traditional ISO G-code programming seems inappropriate, and the adoption and implementation of complex solutions such as STEP-NC or CAD/CAM systems could be unjustified. The input system is responsible for the recognition and interpretation of voice commands according to a statistical knowledge base learnt from examples. The proposed approach has been implemented in a prototype computer system, named smart programming system that has been validated by an application to the programming of pulsed fiber laser micromachining.  相似文献   

12.
介绍了汽车废气检测系统串口通讯原理。系统利用VB6.0的MSComm通信控件,开发出由主控计算机对汽车废气检测设备进行实时控制和数据采集的串口通讯程序。具体介绍了VB环境下串行通讯程序的编制,测试系统与主控计算机通讯的串口设计,给出了通信模块部分源代码。  相似文献   

13.
A microprocessor-based pulse programmer for pulsed NMR applications employing digital integrated circuit and microprocessor techniques is described. The pulse programmer was designed to be completely general with the capability to quickly and easily program any desired pulse sequence. Pulse sequenching and timing information is entered through any standard ASCII terminal using a programming language developed specifically for NMR. A resident text editor provides for easy pulse sequence modifications as well as a program library feature. A language translator and run-time monitor transform this general hardware system into a 'smart' pulse programmer capable of extended programming functions.  相似文献   

14.
唐清春  吴汉夫 《机械》2010,37(2):43-45,69
通过分析MasterCAM X软件后置处理程序的结构、设计方法,得出其机床特性文件是用ASCII代码编写的,其扩展名为pst,称为pst文件。Pst文件由11个部分组成,该文件提供了更改NC代码的方法,以适用于选定的数控系统和机床。根据选用的数控加工中心以及数控系统的编程特点,通过修改Pst文件可以开发专用的后置处理程序,使MasterCAM X生成的程序能够直接应用于加工中心的加工,而不需要进行修改。  相似文献   

15.
介绍了如何利用MCS-51系列单片机来组建直线电机的伺服控制系统的功能通讯接口,研究了如何组建伺服控制系统的硬件电路和编制软件算法.描述了基于MCS-51系列单片机的最小应用系统、按键接口、显示接口,以及参数设置和保存等部分的硬件电路设计,并在此硬件电路基础之上,给出了软件程序设计的基本思想以及各个子部分功能的软件实现.  相似文献   

16.
Real time data-acquisition from fieldbuses strongly depends on the network type and protocol used. Currently, there is an impressive number of fieldbuses, some of them are completely defined and others are incompletely defined. In those from the second category, the time variable, the main element in real-time data acquisition, does not appear explicitly. Examples include protocols such as Modbus ASCII/RTU, M-bus, ASCII character-based, and so on. This paper defines a flexible acquisition cycle based on the Master-Slave architecture that can be implemented on a Master station, called a Base Station Gateway (BSG). The BSG can add a timestamp for temporal location of data. It also presents a possible extension for the Modbus protocol, developed as simple and low cost solution based on existing hardware.  相似文献   

17.
杨洪涛 《机电工程》2003,20(2):9-12
介绍了Win2000环境下利用Delphi和VB的通信控件MSComm实现温度巡回检测仪与PC机的串行通信方法,详细描述了温度巡回检测仪与PC机之间通信涉及的通信端口初始化、串口捕捉、串口读写、数据库和各功能窗口的设置,并给出了部分串行通信的源程序。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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