Supercharge Your Innovation With Domain-Expert AI Agents!

Programmable logic controller and event-driven programming method thereof

A programming logic and event-driven technology, applied in the direction of program control, program control, and program control design in sequence/logic controllers, can solve problems such as difficulty in maintenance, poor legibility of user application programs, and poor application program structure , to achieve the effects of easy maintenance, reducing the difficulty of writing and the probability of errors, and improving the response speed

Inactive Publication Date: 2014-06-25
SCHNEIDER ELECTRIC IND SAS
View PDF11 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] - User applications are poorly readable and difficult to maintain
For programmable logic controllers based on scan cycles, users need to integrate the processing of various events such as input / output (I / O) events, diagnostic events, system events, etc. in a single program, so the structure of the user application program is relatively Difference

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
  • Programmable logic controller and event-driven programming method thereof
  • Programmable logic controller and event-driven programming method thereof
  • Programmable logic controller and event-driven programming method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] figure 1 is a flowchart illustrating an event-driven programming method of a programmable logic controller according to an embodiment of the present invention.

[0035] refer to figure 1 , in step S101, register at least one event to be detected in the programmable logic controller. According to an embodiment, several predefined events can be pre-defined, such as input / output events, communication events, diagnostic events, system error events, system idle events, etc., so that interested events can be selected from these predefined events as events to be detected . In addition, as a supplement to the predefined events, the user can also input user-defined events as the events to be detected. User-defined events can be logical combinations of predefined events. For example, assuming that the predefined events include: (E1) input channel 1 receives data; (E2) network port receives message; and (E3) system is idle, you can define the following user-defined events: E1A...

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 an event-driven programming method of a programmable logic controller. The method comprises the following steps: registering at least one to-be-detected event; storing at least one event processing program segment respectively corresponding to the at least one to-be-detected event; detecting the occurrence of the at least one to-be-detected event; placing the detected event into an event queue; extracting the event from the event queue; and executing an event processing program segment corresponding to the extracted event.

Description

technical field [0001] The present invention relates to a programmable logic controller, and more particularly, relates to an event-driven programmable logic controller and an event-driven programming method thereof. Background technique [0002] Programmable logic controller (PLC) plays an important role in the field of industrial control because of its user-programmable flexibility. Current programming methods for PLCs and corresponding user applications are based on scan cycles. A scan cycle consists of several steps: updating input values, executing the user application, and refreshing output values. [0003] However, the scan cycle-based programming method has the following disadvantages: [0004] - Slow incident response. The user needs to detect input events in the application and wait until the end of the scan cycle before outputting a response. [0005] - The user application program is complex and difficult to write. For scan-cycle based PLCs, the detection an...

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/056G06F9/542G06F30/34G06F9/546
Inventor 王海峰
Owner SCHNEIDER ELECTRIC IND SAS
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More