Supercharge Your Innovation With Domain-Expert AI Agents!

Debugging method and debugging system of PLC configuration program

A debugging method and configuration technology, applied in the direction of program control and program control in control/regulation systems, sequence/logic controllers, etc.

Active Publication Date: 2021-07-27
BEIJING HOLLYSYS AUTOMATION & DRIVE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the increasing complexity of applications in the industrial control industry, the programming volume and complexity of configuration programs (i.e. IEC programs) in PLCs continue to increase, and it is necessary to verify whether the configuration programs are written correctly, whether the operation is reliable and stable, and whether they can achieve Anticipated requirements cannot be met by merely relying on users to perform routine program checks

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
  • Debugging method and debugging system of PLC configuration program
  • Debugging method and debugging system of PLC configuration program
  • Debugging method and debugging system of PLC configuration program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The application discloses a debugging method and a debugging system of a PLC configuration program, which can debug the configuration program online, and enable testers to monitor the details of debugging by setting breakpoints and single-step debugging.

[0049] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0050] see figure 1 , figure 1 It is a flow chart of a debugging method for a PLC confi...

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 application discloses a debugging method and a debugging system for a configuration program of a PLC. The debugging device edits the target code, adds debugging information to each code line of the target code, compiles the edited target code, and generates a configuration program. ;In debug mode, the PLC calls the first function before running any command line in the configuration program, and the first function determines whether the current command line is a valid stop line based on breakpoint information and / or single-step debugging information, if If the current command line is a valid stop line, the second function is called, and the second function controls the task of running the configuration program to enter the sleep state, so as to stop running the configuration program, and run the current command line until the continue operation command is received. Based on the technical solution disclosed in the present application, the configuration program can be debugged online, and by setting breakpoints and single-step debugging, the tester can monitor the details of the debugging.

Description

technical field [0001] The application belongs to the technical field of software debugging, and in particular relates to a debugging method and a debugging system of a PLC configuration program. Background technique [0002] With the increasing complexity of applications in the industrial control industry, the programming volume and complexity of configuration programs (i.e. IEC programs) in PLCs continue to increase, and it is necessary to verify whether the configuration programs are written correctly, whether the operation is reliable and stable, and whether they can achieve The expected demand can no longer be met by relying only on users to conduct routine program checks. [0003] Therefore, how to provide an online debugging method for the configuration program in the PLC to verify whether the configuration software is correct and whether it can meet the expected requirements is a technical problem faced by those skilled in the art. Contents of the invention [000...

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/14106
Inventor 陈幼柏尹俊杰王伟周东红雷志军朱毅明
Owner BEIJING HOLLYSYS AUTOMATION & DRIVE
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