Method for converting ladder diagram into PLC (Programmable Logic Controller) program command
A technology of program instructions and ladder diagrams, applied in the direction of electrical program control, sequence/logic controller program control, etc., can solve the problems of limited conversion range, complex conversion program structure, lack of optimization of results, etc., to save search time , Improve the speed of conversion, simplify the effect of the conversion method
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.
[0027] like figure 1 Shown, the present invention converts ladder diagram into the method for PLC program instruction and comprises the steps:
[0028] 1. Use the directed graph to represent the topology of the ladder diagram, and process the directed graph
[0029] 1) Initialize the vertices of the directed graph
[0030] like Figure 2-9 As shown, the ladder diagram used by the PLC controller (such as figure 2 , Figure 4 , Image 6 , Figure 8 shown) can be seen as a directed graph composed of different vertices corresponding to the ladder diagram (such as image 3 , Figure 5 , Figure 7 , Figure 9 ), the present invention utilizes G L Represents this directed graph.
[0031] like image 3 As shown, the directed graph G L The vertices in include the following types: start vertex X0, series vertices X1, X2, X3, X4, X5, X6, parallel ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 