Method and device for realizing PLC control logic through circuit simulation and storage medium
The invention discloses a method and device for achieving PLC control logic through circuit simulation and a storage medium, and relates to the technical field of circuit simulation, and the method comprises the steps that a circuit description file of a target circuit is obtained, and the target ci...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method and device for achieving PLC control logic through circuit simulation and a storage medium, and relates to the technical field of circuit simulation, and the method comprises the steps that a circuit description file of a target circuit is obtained, and the target circuit comprises a function module; generating a circuit tree structure of the target circuit according to the circuit description file; calculating node voltage of each node in the target circuit according to the circuit tree structure; and simulating the operation of the PLC control logic of the functional module according to the calculated node voltage. The problems of long time, low efficiency and high software complexity of circuit simulation in the prior art are solved, and the effects of saving time overhead and improving efficiency without program compiling are achieved. Meanwhile, the method does not need to depend on a compiler, and the effect of reducing the software complexity can be achieved.
本申请公开了一种通过 |
---|