Saltar al contenido principal

How to launch the PLC program simulation for EasyPLC

Follow these steps to load, compile, and simulate the proposed solutions using the EasyPLC and Machines Simulator.

Step 1: Loading the Solution

  1. In the Tutorial Manager, select your exercise and click the See EasyPLC Solution button.
  2. EasyPLC Editor will launch automatically, loading the specific PLC project for that exercise.
EasyPLC Solution

Step 2: Compiling and Preparing the Virtual PLC

  1. Inside the EasyPLC Editor, click the Compile & Send Project icon on the toolbar.
  2. If prompted to launch the Virtual PLC, choose YES.
  3. The Virtual PLC CPU will start in Run Mode, indicating it is ready to execute the logic.
Exercises Workflow

Step 3: Launching the 3D Simulation

  1. Return to the Tutorial Manager and click the Launch MS3 Simulation button.
  2. Machines Simulator will start and automatically load the industrial environment (3D scene) required for the exercise.
  3. You can now test the program's behavior by interacting with the machine.
EasyPLC Simulation

Advanced: Debugging the Logic in Real-Time

To identify errors or analyze specific logic conditions while the simulation is running, use the Online Monitoring mode:

  1. In the EasyPLC Editor, click the Connect On-Line with PLC toolbar icon.
  2. In the project tree (left panel), navigate to:
    Software -> Program -> Main -> Main_Sequence_1.
  3. The editor will display the logic with live status updates:
    • Red Color: Indicates contacts or coils that are currently ON / TRUE.
    • Blue Color: Indicates contacts or coils that are currently OFF / FALSE.
EasyPLC Simulation Realtime
TIP

Using the debug mode is the most effective way to troubleshoot your code and understand how the PLC interacts with the 3D sensors and actuators in real-time.