PLC Simulation
After programming, it is necessary to determine whether the logic is correct and the function is complete, and then upload it to run in PLC, the simulation function of the OpenPLC editor can be used to show how a program is performing at every step. Take the ‘single program’ mentioned before as an example:
![](media/image16.png)
As shown in the figure above, click Start PLC Simulation and Debug instance, and a new tab Config0.Res0.instance0 will appear. Then the value of input point I0 can be changed and the variation of point Q0 can be observed.
![](media/image17.png)
The current values of each point can be seen from the Debugger bar on the right side:
![](media/image18.png)