SIA OpenIR  > 水下机器人研究室
PLC逻辑控制器串行通讯数据的读取、配置方法及装置
Alternative TitleReading and configuration method and device of serial communication data of PLC (programmable logic controller)
孙凯; 李智刚; 秦宝成
Department水下机器人技术研究室
Rights Holder中国科学院沈阳自动化研究所
Patent Agent沈阳科苑专利商标代理有限公司 21002
Country中国
Subtype发明授权
Status有权
Abstract本发明涉及一种PLC逻辑控制器串行通讯数据的读取、配置方法及装置,方法为:将RS232串口模块的RTS和CTS短接;将RS485串口模块的TxD和RxD短接;将RS485串口模块的-TxD和-RxD短接;通过双定时器耦合的方法周期性不间断触发PLC与串行通讯设备的数据交换,使PLC与串行通讯设备连续不间断通讯;将串口数据整理并存放在PLC内部输出变量区域,在CanOpen主站中进行配置并读取;每次读取一组数据后,将PLC串行数据缓冲区索引及数据都清零,使每次均从缓冲区的索引零开始读取数据。本发明解决了和目前市场上使用广泛的无握手等待信号类型的串行通讯设备的硬件连接问题。保证了通讯的实时性。
Other Abstract

The invention relates to a reading and configuration method and device of serial communication data of a PLC (programmable logic controller). The method comprises the following steps: the RTS (Request To Send) and CTS (Clear To Send) of a RS232 serial port module are in short connection the TxD and RxD of a RS485 serial port module are in short connection -TxD and -RxD of the RS485 serial port module are in short connection the data exchange of the PLC and serial communication equipment is periodically and continuously triggered by a double-timer coupling method so that the PLC is continuously communicated with the serial communication equipment serial data is compiled and stored in the internal output variable region of the PLC, and configured and read in a CanOpen master station and after a group of data is read each time, the index and data of the serial data buffer region of the PLC are completely reset and the data is started to read from the index zero of the buffer region each time. By using the reading and configuration method and device of the serial communication data of the PLC, the hardware connection problem of non-handshake waiting signal type serial communication equipment widely used in the current market is solved, thus ensuring the real time of communication.

PCT Attributes
Application Date2010-12-04
2012-06-06
Date Available2013-08-28
Application NumberCN201010573914.9
Open (Notice) NumberCN102486639B
Language中文
Contribution Rank1
Document Type专利
Identifierhttp://ir.sia.cn/handle/173321/14420
Collection水下机器人研究室
Affiliation中国科学院沈阳自动化研究所
Recommended Citation
GB/T 7714
孙凯,李智刚,秦宝成. PLC逻辑控制器串行通讯数据的读取、配置方法及装置[P]. 2012-06-06.
Files in This Item:
File Name/Size DocType Version Access License
CN201010573914.9授权.p(371KB)专利 开放获取ODC PDDLView Application Full Text
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[孙凯]'s Articles
[李智刚]'s Articles
[秦宝成]'s Articles
Baidu academic
Similar articles in Baidu academic
[孙凯]'s Articles
[李智刚]'s Articles
[秦宝成]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[孙凯]'s Articles
[李智刚]'s Articles
[秦宝成]'s Articles
Terms of Use
No data!
Social Bookmark/Share
File name: CN201010573914.9授权.pdf
Format: Adobe PDF
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.