Check patentability & draft patents in minutes with Patsnap Eureka AI!

Development method of PLC graphical editor based on XML technology

An editor and graphical technology, applied in visual/graphical programming, instruments, input/output process of data processing, etc., can solve problems such as error-prone, inflexible, etc., to reduce difficulty, simple logical relationship, and easy to operate. Effect

Pending Publication Date: 2020-10-16
JIANGSU ENDA GENERAL EQUIP
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The current graphical programming method of PLC basically adopts the ladder diagram, but this programming method needs to understand the relevant PLC instruction table, and there are some disadvantages of inflexibility and error-prone when editing the ladder diagram

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
  • Development method of PLC graphical editor based on XML technology
  • Development method of PLC graphical editor based on XML technology
  • Development method of PLC graphical editor based on XML technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] see Figure 1-2 , a development method of a PLC graphical editor based on XML technology, comprising the following steps:

[0064] Step 1: Create a program block in the sketchpad control, specifically through the following steps:

[0065] Step 1.1: Define the attributes of the basic constituent elements and encapsulate and inherit the attribute definition of the realization program block in an object-oriented manner;

[0066] Step 1.2: Define the graphical implementation method of the basic constituent elements and implement the graphical design of the program block by encapsulating and inheriting in an object-oriented manner;

[0067] Step 1.3: Use XML technology to read program blocks and input / output port attributes to generate program blocks;

[0068] Step 2: Realize the drag and drop, zoom function, parameter configuration and automatic line drawing function of the program block in the drawing control;

[0069] Step 3: Use the drawing, drawing board user control...

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 development method of a PLC graphical editor based on the XML technology and belongs to the technical field of computer software, wherein the PLC graphical editing can be carried out on the basis of the XML technology; configuring relevant attributes of the functional blocks and the functional module connection diagram by using the expandability characteristic of the XMLfile; corresponding attribute configuration is carried out according to different program block types; a functional module connection graph can be generated by reading XML file content; the automaticconnection function of the program block is realized; facilitating user operations, the functional module connection diagram can be modified only by modifying the content of the XML file; program block logical relationship simplicity, the difficulty of PLC graphical editing is greatly reduced; finally, the information of each PLC program block used can be analyzed and sent to a lower computer forprocessing; and the sending mode has a direct sending mode and a transfer sending mode, can adapt to different lower computers, can realize cloud backup and real-time downloading and use of analysis data, and provides great convenience for PLC graphical editing of technicians.

Description

technical field [0001] The invention relates to the technical field of computer software, more specifically, to a development method of a PLC graphical editor based on XML technology. Background technique [0002] Programmable controllers are well known and widely used by engineers and technicians. In order to meet the needs and habits of engineers and technicians, programmable controllers do not use the programming language of microcomputers, but use process-oriented and more intuitive programming languages. Programming language, in PLC, the graphical programming language ladder diagram is very easy to use, easy to understand, and consistent with the electrical control schematic diagram, so it has become the main programming language of PLC. However, the ladder diagram cannot be recognized by the programmable controller and cannot be run directly. So how to improve the development efficiency and convert the ladder diagram directly into PLC instructions has become a researc...

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
IPC IPC(8): G06F8/34G06F3/0484G06F3/0486G06F40/14
CPCG06F8/34G06F3/0484G06F3/0486G06F40/14G06F2203/04806
Inventor 姜伟俞贵琴田刚胡国祥
Owner JIANGSU ENDA GENERAL EQUIP
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