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

Free port communication polling system and method based on PLC and communication module

A communication module, free technology, applied in general control systems, control/regulation systems, program control in sequence/logic controllers, etc., can solve the problem of sensor data not being collected, and achieve simplified program structure and code size, Avoid uncollected data and reduce the effect of timeout reset link

Active Publication Date: 2020-04-14
杭州易闻科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The disadvantage is that if a sensor in the middle reports an error and does not receive correct data, the communication will be interrupted. Therefore, it is generally necessary to add a timeout reset program so that the program can jump back to the sensor No. 1 for re-execution in the event of a long-term failure, but it will result in the data of other sensors in this period. also uncollected

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0023] Embodiment: based on the free port communication polling system of PLC and communication module, comprise sensor; The sensor here is the sensor that adopts in the PLC control system, is used for collecting data in the work;

[0024] Addition loop module: the addition loop module outputs status registers, the number of the status registers is the same as that of the sensor, the status registers have one and only one state that remains on at the same time, and the remaining status registers are in the off state, all The registers are alternately turned on / off;

[0025] Data loading module: multiple registers are used in turn to start the data loading module as a normally open contact, and the data loading module is used to load and transmit the reading instruction of the sensor;

[0026] A sending module; the sending module is used to send sensor data; the sending module is provided with a buffer, and the buffer is used to receive the reading instruction of the sensor loa...

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 discloses a free port communication polling system and method based on a PLC and a communication module. The free port communication polling system based on the PLC and the communicationmodule comprises sensors, an addition cycle module, a data loading module, a sending module and a receiving module. The addition cycle module outputs state registers, the number of the state registers is the same as that of the sensors, only one of the state registers is kept in an on state at the same time, and the rest of the state registers are in an off state; the registers are used as normally open contacts to start the data loading module, and the data loading module is used for loading and transmitting reading instructions of the sensors; the sending module is provided with a buffer area, and the buffer area is used for receiving the reading instructions of the sensors loaded by the data loading module; and the receiving module is used for receiving sensor data. According to the invention, serial communication between the plurality of sensors and a plc is realized, and conflicts generated when data communication is carried out between a single communication module and the plurality of sensors are avoided.

Description

technical field [0001] The invention relates to the technical field of sensor data transmission, in particular to a free port communication polling method based on a PLC and a communication module. Background technique [0002] At present, the traditional polling method adopts timer polling or counter polling, which is characterized in that the data sending module SEND-PTP is triggered by the cycle output rising edge, and the enabling terminal REQ of the data receiving module is in the normally open state; its cycle The judgment method of switching is the address bit of the sensor receiving the data, that is, after the receiving buffer receives the return data of the first sensor, the communication of the second sensor is carried out, and so on, until the last sensor returns to the first sensor to continue the cycle; [0003] The disadvantage is that if a sensor in the middle reports an error and does not receive correct data, the communication will be interrupted. Therefore...

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): G05B19/05
CPCG05B19/054G05B2219/1103
Inventor 江雪山
Owner 杭州易闻科技有限公司
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