Intelligent gateway controller and control method

文档序号:1345013 发布日期:2020-07-21 浏览:9次 中文

阅读说明:本技术 一种智能网关控制器及控制方法 (Intelligent gateway controller and control method ) 是由 马文涛 蒋雪峰 张颐 于 2019-01-15 设计创作,主要内容包括:本发明提供一种智能网关控制器及控制方法,涉及工业控制领域,所述方法包括步骤1:智能网关控制器连接PLC设备;步骤2:采集PLC设备寄存器变量数据值;步骤3:发送采集的数据值到云端服务器;步骤4:云端服务器发送指令到智能网关控制器,智能网关控制器更改PLC设备寄存器变量数据值。本发明智能网关控制器能够获取各主流厂商的PLC设备数据,并将数据存储于云端服务器,形成大数据,进而形成各种数据模型指标;还能够报警异常设备信息,实时反应在监控图像页面上;可以进行历史数据的保存及分析,通过大数据分析预判设备的运行轨迹。(the invention provides an intelligent gateway controller and a control method, which relate to the field of industrial control, and the method comprises the steps of 1, connecting an intelligent gateway controller with a P-L-C device, 2, collecting a register variable data value of the P-L-C device, 3, sending the collected data value to a cloud server, 4, sending an instruction to the intelligent gateway controller by the cloud server, and changing the register variable data value of the P-L-C device by the intelligent gateway controller.)

1. An intelligent gateway control method, characterized in that the method comprises the following steps:

step 1, connecting a smart gateway controller with a peer-to-Peer (PLC) device;

step 2, collecting a register variable data value of the PLC equipment;

And step 3: sending the acquired data value to a cloud server;

and 4, the cloud server sends an instruction to the intelligent gateway controller, and the intelligent gateway controller changes the variable data value of the register of the PLC equipment.

2. the intelligent gateway control method of claim 1, wherein the intelligent gateway controller and the PLC device are connected to the same LAN via a network cable, and the intelligent gateway controller and the PLC device are connected via RS185 bus or TCP/IP bus.

3. An intelligent gateway controller comprising a computer program stored thereon, a processor, and a computer program stored on a memory and executable on the processor, the intelligent gateway controller comprising: the processor, when executing the computer program, realizes the steps of the method of claims 1-2.

Technical Field

The invention relates to the field of industrial control, in particular to an intelligent gateway controller and a control method.

Background

at present, industrial equipment is mostly controlled by adopting a Programmable Logic Controller (PLC) device, data communication needs an OPC Server interface provided by a hardware manufacturer, and developers can exchange data with the PLC device without considering the PLC devices of different manufacturers so as to read and control information of the hardware device.

Because OPC relies on Microsoft's COM to build technology, can't cross the platform, the data can only be transmitted in the local area network, COM is a outdated technology at the same time, the configuration of communicating on different host computers is very tedious and unsafe; with the rise of the application of the internet of things, a user urgently needs a stable, safe, reliable and cross-platform intelligent controller to control and read data information of industrial equipment and transmit the data information to a cloud server, however, the existing OPC cannot achieve the functions.

Disclosure of Invention

in view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide an intelligent gateway controller and a control method thereof, wherein the controller is embedded with a gateway system, accesses a plc device, converts communication protocol data to achieve bidirectional transmission of data, and stores the data in an offline state.

The invention provides an intelligent gateway control method, which comprises the following steps:

step 1, connecting a smart gateway controller with a peer-to-Peer (PLC) device;

step 2, collecting a register variable data value of the PLC equipment;

And step 3: sending the acquired data value to a cloud server;

and 4, the cloud server sends an instruction to the intelligent gateway controller, and the intelligent gateway controller changes the variable data value of the register of the PLC equipment.

furthermore, the intelligent gateway controller and the PLC device are accessed into the same local area network through a network cable, and the intelligent gateway controller and the PLC device are connected through an RS185 bus or a TCP/IP bus.

An intelligent gateway controller comprising a computer program stored thereon, a processor and a computer program stored on a memory and executable on the processor, the processor implementing the steps of the method as claimed in claims 1-2 when executing the computer program.

As described above, the intelligent gateway controller and the control method of the present invention have the following beneficial effects:

the intelligent gateway controller can acquire the PLC equipment data of each mainstream manufacturer, store the data in the cloud server to form big data and further form various data model indexes, can also alarm abnormal equipment information, reflect the abnormal equipment information on a monitoring image page in real time, can store and analyze historical data, and can analyze and predict the running track of equipment through the big data.

Drawings

Fig. 1 is a schematic diagram illustrating a relationship connection of an intelligent gateway control method disclosed in the embodiment of the present invention.

Detailed Description

The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.

It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.

As shown in fig. 1, an intelligent gateway control method includes the following steps:

step 1, connecting a smart gateway controller with a peer-to-Peer (PLC) device;

step 2, collecting a register variable data value of the PLC equipment;

And step 3: sending the acquired data value to a cloud server;

and 4, the cloud server sends an instruction to the intelligent gateway controller, and the intelligent gateway controller changes the variable data value of the register of the PLC equipment.

furthermore, the intelligent gateway controller and the PLC device are accessed into the same local area network through a network cable, and the intelligent gateway controller and the PLC device are connected through an RS185 bus or a TCP/IP bus.

An intelligent gateway controller comprising a computer program stored thereon, a processor and a computer program stored on a memory and executable on the processor, the processor implementing the steps of the method as claimed in claims 1-2 when executing the computer program.

taking the schneider P L C Modbus communication protocol as an example, the intelligent gateway control method is as follows:

the P L C device uses TCP/IP network to access the local area network, and the intelligent gateway controller also uses network to access the same local area network;

the P L C equipment is connected with an intelligent gateway controller by using an RS485 bus, and one P L C equipment corresponds to one intelligent gateway controller;

3. Starting a switch of the intelligent gateway controller, wherein the working indicator light is green, the operation is normal when the mark is started, and otherwise, the access is failed and the maintenance is needed;

after the start is completed, a service program built in the intelligent gateway controller sends a request data operation aiming at a Modbus communication protocol through a Socket or a serial port, waits for returning the address data information of the register of the P-L-C equipment, records the returned address data information of the register of the P-L-C equipment into a storage directory of the gateway controller, and sends change data to the cloud server;

4. the cloud server sends an instruction to the gateway controller, and the gateway server changes the variable data value of the register of the peer-to-Peer (PLC) equipment.

the intelligent gateway controller is a main module and is responsible for collecting P-L-C equipment data information and controlling the P-L-C equipment, the intelligent gateway controller can be accessed to the P-L-C equipment of mainstream manufacturers to convert communication protocols of the P-L-C equipment, such as a Schneider Modbus communication protocol, a Siemens Profibus communication protocol, an AB Ethernet IP communication protocol and the like, so that bidirectional transmission of data is achieved, and the data is stored in a cloud server.

in summary, the intelligent gateway controller of the invention can acquire the PLC equipment data of each mainstream manufacturer, store the data in the cloud server to form big data and further form various data model indexes, can also alarm abnormal equipment information, reflect the abnormal equipment information on a monitoring image page in real time, can store and analyze historical data, and analyze and predict the running track of the equipment through big data.

The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能网关控制系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类