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 and a free technology, which is applied in general control systems, control/regulation systems, and program control in sequence/logic controllers, etc., can solve the problem of sensor data not being collected, etc., to simplify the amount of code and reduce timeout resets Links, the effect of simplifying the structure of the program

Active Publication Date: 2021-06-04
杭州易闻科技有限公司
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 a PLC and a communication module includes a sensor; an addition cycle module: the output status register of the addition cycle module, the The number of status registers is the same as that of the sensor, and the status registers have and only one state that remains on at the same time, and the remaining status registers are in a closed state; data loading module: the registers are used as normally open contacts to start data Loading module, the data loading module is used to load and transmit the reading instruction of the sensor; the sending module; the sending module is provided with a buffer, and the buffer is used to receive the reading instruction of the sensor loaded by the data loading module; receiving Module: the receiving module is used to receive sensor data. The invention realizes the serial communication between a plurality of sensors and the plc, and avoids conflicts between a single communication module and a plurality of sensors in data communication.

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 Patents(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