Real-time communication method used for programmable logic controller and personal computer

A technology of programming logic and real-time communication, applied in error prevention/detection using return channel, electrical components, transmission system, etc., can solve the problem that the application protocol layer and the communication layer are strongly coupled, and the communication module codes of different products cannot be reused and controlled. Unreliable command transmission, etc., to achieve the effect of saving PC operating resources, real-time and reliable communication, and real-time guarantee

Inactive Publication Date: 2016-07-27
NUCTECH CO LTD
View PDF8 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Unreliable control command transmission: control command transmission needs to be based on a stable and reliable communication protocol, but the existing standard communication ports, such as RS232 serial port (or RS422 / RS485) communication is unreliable transmission, so it needs to be based on this Reliable Data Transfer Protocol
[0005] 2. There is no relevant processing mechanism for abnormal notification protocols such as safety interlocking
[0006] 3. The system modules do not have a unified communication layer, which leads to the inability to reuse the codes of the communication modules of different products, and the coupling between the application protocol layer and the communication layer is too strong

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Real-time communication method used for programmable logic controller and personal computer
  • Real-time communication method used for programmable logic controller and personal computer
  • Real-time communication method used for programmable logic controller and personal computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Now, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Here, it should be understood that: the description of the following embodiments is not to limit the present invention, but to illustrate the present invention.

[0043] figure 1 It is a schematic diagram of the message format of the communication protocol according to the present invention. The communication protocol message includes message header, message serial number, communication message data and checksum, wherein the communication message data includes message type, communication message control word and communication message parameter word, and the communication message control word Words consist of data content and data status.

[0044] In the embodiment according to the present invention, the packet sequence number is used to number the data packets during protocol transmission, and can also be used to distinguish the priorities of different ad...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a real-time communication method used for a programmable logic controller and a personal computer. The real-time communication method is characterized in that every time when the connection between the programmable logic controller and the personal computer is reestablished, the calling part of the programmable logic controller and the personal computer is used to transmit a sequence number reset message, and the confirmation of the called party can be carried out by transmitting a sequence number reset reply message; during the connection period, whether the communication between the calling party and the called party is normal can be determined by the handshake message; only when the communication is normal, the calling party is used to transmit the message according to the priority of the message, and only when the last calling replay message of the called party is received, the calling party is used to transmit the new calling message.

Description

technical field [0001] The present invention relates to the field of industrial communication, and more particularly to the special application of communication between industrial equipment and information technology equipment. Background technique [0002] In the current field of industrial control, there are various communication methods between programmable logic controller (PLC) and personal computer (PC), and the communication protocol can also ensure the real-time and reliability of communication more completely. But the premise is that industrial control software and industrial boards need to be installed in the PC, which will bring certain side effects in some special applications. For example, if the PLC communicates with a PC running image processing, and additionally runs industrial control software or industrial control boards in the PC, on the one hand, the operating capacity of the CPU resources of the PC will be insufficient; brings many changes. [0003] In...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L1/16H04L29/08
Inventor 胡煜孙尚民马媛唐盛喻卫丰
Owner NUCTECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products