A method for realizing logic breakpoint debugging function of industrial control system

An industrial control system and debugging function technology, applied in the direction of comprehensive factory control, comprehensive factory control, electrical program control, etc., can solve problems such as high risk, logic operation existence, hidden safety hazards, etc., to reduce the possibility of errors and improve The effect of debugging efficiency and ensuring correctness

Active Publication Date: 2018-06-26
BEIJING SIFANG JIBAO AUTOMATION
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has a high risk of replacing instructions during the logic operation process, and there are safety hazards in the logic operation. At the same time, if the lower computer is abnormal after the interruption, the instruction may not be restored to the normal execution state.

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 for realizing logic breakpoint debugging function of industrial control system
  • A method for realizing logic breakpoint debugging function of industrial control system
  • A method for realizing logic breakpoint debugging function of industrial control system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiment is only one embodiment of the present invention, not all embodiments.

[0028] This specific embodiment is an application scheme of the method in configuration software meeting the IEC61131-3 standard.

[0029] figure 1 It is a schematic flow diagram of the realization of the logic breakpoint debugging function of an industrial control system provided by the present invention, and the implementation method of the logic breakpoint debugging function specifically includes the following steps:

[0030] Step 1. Define atomic operations and generate logic stubs: define logic execution atomic operations as non-divisible operations and function calls. Each atomic operation corresponds to a logic stub, which can trigger program interruption before the...

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 implementation method of a logic breakpoint debugging function for an industrial control system. The implementation method comprises the steps: utilizing logic minimum execution units to divide algorithm logic, and setting debugging state variables at each minimum execution unit; and completing logic interruption by calling the related functional functions, and maintaining the interface display during the process for running and debugging by debugging the corresponding relationship between the state variables and the minimum execution units. The implementation method specifically includes the steps: realizing setting and deleting of breakpoints in the algorithm program, including breakpoint setting and deleting of the text and graphical algorithm logic; during the executing process of the program, providing a debugging method for running to a breakpoint Run to and a single step Step In / Step Over; and displaying the running state in the configuration interface of the algorithm program. The implementation method of a logic breakpoint debugging function for an industrial control system can realize the logic breakpoint debugging function for an industrial control system, and can guarantee the correctness and stability of algorithm logic.

Description

technical field [0001] The invention belongs to the technical field of industrial automation control systems, and more specifically relates to a method for realizing a logic breakpoint debugging function of an industrial control system. Background technique [0002] In industrial automation control, the control system composed of configuration software and controller (also known as upper computer and lower computer) is widely used in various control fields: such as distributed control system (DCS), programmable logic controller (PLC) )Wait. The configuration software is responsible for generating the algorithm program, and the controller is responsible for executing the program to realize the control function. In many applications, the algorithm program has a certain complexity, and the correctness of the algorithm program is directly related to the correctness and safety of industrial control. Therefore, it is of great significance to provide a set of accurate and efficie...

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/418
CPCY02P90/02
Inventor 张志东丁柏玲师嘉李维王沿海耿哲
Owner BEIJING SIFANG JIBAO AUTOMATION
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