Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method of realizing one-way one-line communication between two plcs through i/o ports

A single-wire communication, one-way technology, applied in sequence/logic controller program control, general control system, control/regulation system, etc., can solve problems such as increased equipment cost, consumption, large PLC port, etc., to achieve control The effect of convenience, good practicability and simple communication

Active Publication Date: 2018-04-03
UNION OPTECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The communication module can realize the transmission of a large number of signals, and the accuracy is relatively high, but the cost is high; the one-to-one transmission signal accuracy of the I / O port is extremely high, and the transmission speed is fast, but as the amount of transmitted signals increases, the communication between two PLCs The number of I / O ports required for communication continues to increase, which consumes a large number of PLC ports and increases equipment costs

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
  • A method of realizing one-way one-line communication between two plcs through i/o ports

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The features of the present invention and other related features will be further described in detail below in conjunction with the accompanying drawings through embodiments, so as to facilitate the understanding of those skilled in the art:

[0019] A method for realizing one-way single-line communication between two PLCs through an I / O port, wherein an I / O sending port of the first PLC is connected to an I / O receiving port of the second PLC through a communication line, The method includes a first PLC signal sending step, a second PLC receiving and processing signal step, and a second PLC confirming signal step,

[0020] The first PLC sending signal step includes: when the first PLC sends a communication signal, start timer T1 and timer T2 at the same time, timer T1 starts as the time for sending the signal, timer T2 as the deadline for sending the signal, timer T2 The timing time difference between timer T1 and timer T1 is recorded as the unit maximum sending time △T....

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 present invention discloses a method for realizing the one-way single-wire communication between two PLCs through an I / O port. The method comprises the steps that: a first PLC sends a signal, a second PLC receives and processes the signal, and the second PLC confirms the signal. In the step that the first PLC sends the signal, a certain number range of pulses in a unit maximum transmission time Delta T expresses a signal and has a certain communication fault tolerance function. In the step that the second PLC receives and processes the signal, a result M(n) is outputted when K(n) number of pulses is counted, and the data loss caused by high speed counter zero clearing when the time of a receiving signal timer is up can be prevented. In the step that the first PLC sends the signal, two timers are employed, a timer T1 is used as sending signal time start, a timer T2 is used as a sending signal deadline, and the control of a pulse sending time is facilitated. And when the first PLC continuously transmits a signal, the timer T1 plays a role of time interval, and the receiving and processing of the signal and confirming the signal by the second PLC are facilitated.

Description

technical field [0001] The invention relates to a method for realizing one-way single-line communication between two PLCs through I / O ports. Background technique [0002] With the continuous development of science and technology, the functions and flexibility of automation equipment are required to be continuously enhanced. The communication between traditional PLCs mainly relies on communication modules or I / O ports to transmit signals one-to-one. The communication module can realize the transmission of a large number of signals, and the accuracy is relatively high, but the cost is high; the one-to-one transmission signal accuracy of the I / O port is extremely high, and the transmission speed is fast, but as the amount of transmitted signals increases, the communication between two PLCs The number of I / O ports required for communication continues to increase, which consumes a large number of PLC ports and increases equipment costs. [0003] Therefore, it is necessary to sol...

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 Patents(China)
IPC IPC(8): G05B19/05
CPCG05B19/054
Inventor 张宝蔡斌李全宗孔祥锐肖阳阳
Owner UNION OPTECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products