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:

Figure 1. PLC Simulation

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.

Figure 2. Config0.Res0.instance0

The current values of each point can be seen from the Debugger bar on the right side:

Figure 3. Debugger Bar