en-us_products:mp_studio:simulation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en-us_products:mp_studio:simulation [2026/10/30 11:27] – created - external edit 127.0.0.1en-us_products:mp_studio:simulation [2026/11/12 20:37] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== MP STUDIO 2 Phase 8 · Simulation ====== ====== MP STUDIO 2 Phase 8 · Simulation ======
  
-[[products:mp_studio:simulation|한국어]] | **English** +Simulation runs the ladder on a virtual PLC on your PC, without real hardware. You can turn inputs on and off yourself and watch the outputs, timers and counters, which makes it a good way to check a program before downloading it to the PLC.
- +
-Simulation runs the ladder on a virtual device on your PC, without real hardware. You can turn inputs on and off yourself and watch the outputs, timers and counters, which makes it a good way to check a program before downloading it to the device.+
  
 {{ :en-us_products:mp_studio:sim-running-marked.svg?1200 |Figure 1. The screen during simulation }} {{ :en-us_products:mp_studio:sim-running-marked.svg?1200 |Figure 1. The screen during simulation }}
  
-**① The simulation bar**, **② a purple dashed frame** and **③ the current values in the Inspector** are shown. The device pill shows **Monitoring · SIM**.+**① The simulation bar**, **② a purple dashed frame** and **③ the current values in the Inspector** are shown. The PLC status indicator shows **Monitoring · SIM**.
  
 ===== Starting and Stopping ===== ===== Starting and Stopping =====
Line 15: Line 13:
   - To stop, click **Stop simulation** at the right end of the bar, or click **Simulate** again.   - To stop, click **Stop simulation** at the right end of the bar, or click **Simulate** again.
  
-Simulation and device monitoring cannot run at the same time. Turning on simulation while monitoring turns monitoring off.+Simulation and PLC monitoring cannot run at the same time. Turning on simulation while monitoring turns monitoring off.
  
 ===== Simulation Bar ===== ===== Simulation Bar =====
Line 21: Line 19:
 {{ :en-us_products:mp_studio:sim-bar-marked.svg?1200 |Figure 2. The simulation bar }} {{ :en-us_products:mp_studio:sim-bar-marked.svg?1200 |Figure 2. The simulation bar }}
  
-  * **① State:** shows **Running**, **Paused** or **Halted**, and the reason it stopped.+  * **① State:** shows **Running**, **Paused** or **Stopped**, and the reason it stopped.
   * **② Pause and Resume:** pauses or resumes scanning.   * **② Pause and Resume:** pauses or resumes scanning.
   * **③ Step one scan:** runs a single scan while paused.   * **③ Step one scan:** runs a single scan while paused.
Line 29: Line 27:
   * **⑦ Stop simulation**   * **⑦ Stop simulation**
  
-If the program has such cells, a **virtual sensor cell(s)** button and a **cell(s) not simulated** button, each with the number of cells, appear at the right end of the bar. Click one to go to those cells in turn.+If the program has such cells, the buttons **N virtual sensor cell(s)** and **N cell(s) not simulated** appear at the right end of the bar. Click one to go to those cells in turn.
  
 ===== Changing Inputs ===== ===== Changing Inputs =====
Line 38: Line 36:
 {{ :en-us_products:mp_studio:sim-input-toggle-marked.svg?1100 |Figure 3. Input P0 turned on, switching output P32 on }} {{ :en-us_products:mp_studio:sim-input-toggle-marked.svg?1100 |Figure 3. Input P0 turned on, switching output P32 on }}
  
-In Figure 3, **① the P0 chip** was turned on, so **② the P0 contact** carries power, and output ''P32'' turned on, so **③ the P32 self-holding contact** has also changed to the power-flow color. Output coils and wires are shown in the same power-flow color as in monitoring, and the **Current value** in the Inspector shows the value. Input chips that are forced also show a force mark.+In Figure 3, **① the P0 chip** is on, so **② the P0 contact** carries power, and output ''P32'' is on, so **③ the P32 self-holding contact** has also changed to the power-flow color. Output coils and wires are shown in the same power-flow color as in monitoring, and the **Current value** in the Inspector shows the value. Input chips that are forced also show a force mark.
  
 ===== Virtual Sensors ===== ===== Virtual Sensors =====
  
-Function cells that read signals from outside the device, such as ''ADC'' and ''NTEMP'', work as **virtual sensors** and are shown with a dotted pattern. Click the **virtual sensor cell(s)** button on the bar to go to those cells in turn. Click a virtual sensor cell, or put the cursor on it in the canvas and press ''Enter'', to open the **Write Value to Memory** window for the OUT address of that function. The value you enter is reflected in the ladder from the next scan.+Function cells that read signals from outside the PLC, such as ''ADC'' and ''NTEMP'', work as **virtual sensors** and are shown with a dotted pattern. Click the **N virtual sensor cell(s)** button on the bar to go to those cells in turn. Click a virtual sensor cell, or put the cursor on it on the canvas and press ''Enter'', to open the **Write Value to Memory** window for the OUT address of that function. The value you enter is reflected in the ladder from the next scan.
  
 {{ :en-us_products:mp_studio:sim-virtual-sensor.png?930 |Figure 4. Virtual sensor cells (ADC and NTEMP) with a dotted pattern, and the virtual sensor button at the right end of the bar }} {{ :en-us_products:mp_studio:sim-virtual-sensor.png?930 |Figure 4. Virtual sensor cells (ADC and NTEMP) with a dotted pattern, and the virtual sensor button at the right end of the bar }}
Line 50: Line 48:
 ===== What Simulation Cannot Check ===== ===== What Simulation Cannot Check =====
  
-The simulator calculates the behavior of the device on your PC. Check the following on the real device:+The simulator calculates the behavior of the PLC on your PC. Check the following on the real PLC:
  
-  * The actual responses of serial communication (Modbus, CNET, IBUS and so on) and external devices (I2C, LCD, RTC and so on)+  * The actual responses of serial communication (Modbus, CNET, IBUS and so on) and external devices (I2C, LCD, RTC and so on). Devices registered in the Modbus RTU master's device table run as virtual Modbus slaves and the RTC runs as a virtual clock, but they do not respond exactly like real devices.
   * The actual I/O wiring and scan time   * The actual I/O wiring and scan time
   * Cells the simulator cannot run (shown with diagonal hatching). Those rows are skipped and the rest is run.   * Cells the simulator cannot run (shown with diagonal hatching). Those rows are skipped and the rest is run.
en-us_products/mp_studio/simulation.1793327274.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki