Table of Contents

MP STUDIO 2 Phase 7 · Monitoring and the Data Table

한국어 | English

Monitoring shows the state of the program running on the device on the MP STUDIO 2 screen in real time. You can check values on the ladder canvas, in the Data Table, on the Watch card and in the Value Trend graph, and change values on the device with value writes and forced I/O.

Figure 1. What the PC and the device exchange during monitoring

Starting and Stopping Ladder Monitoring

  1. Download the current project to the device.
  2. Click Monitoring in the top band or press Ctrl+M (Run → Monitoring).
  3. To stop monitoring, press Esc or Ctrl+M.

Figure 2. The ladder canvas during monitoring

If you edit the ladder while monitoring, monitoring is turned off with the notice Monitoring stopped because the program changed. To check the edited program, download it again and then turn monitoring back on.

Device Program Differs

If you edit the ladder after downloading and then turn monitoring on, the device pill shows Device program differs. The device is still running the previous program, so a value on the screen may belong to a different cell. When you see this tag, download again.

Figure 3. The Device program differs tag

No Response

If the device stops responding during monitoring, the device pill and the status pills show No response. Check the cable, the device power and the communication port settings.

Write Value to Memory

During monitoring, right-click a word cell and select Write Value to Memory, or select the cell and press Alt+Enter, to open the Write Value to Memory window.

Figure 4. The Write Value to Memory window

  1. Check ① the address and data type and ② the current value.
  2. Enter the value to write in ③ Value and click ④ Write.

A value outside the range of the data type is not sent, and the reason is shown. The program may overwrite the written value on the next scan.

Force ON and Force OFF

During monitoring, right-click a bit cell and use Force ON or Force OFF to force that point on or off. The Force buttons in the Inspector do the same. You can check and release all forced points at once in the FORCE INPUT / OUTPUT window.

Figure 5. The right-click menu of a cell during monitoring

During monitoring, the cell menu contains Monitoring Off, the value display formats (Signed Decimal, Unsigned Decimal, Hexadecimal, Binary and Floating Point), Write Value to Memory, Force ON and Force OFF, and Add to Watch (address).

Data Table

Select Run → Data Table to open the Data Table window. Register addresses to see their values in a table, write values or record a trend.

Figure 6. The Data Table during monitoring

  1. Enter an address such as D10, M0 or R1 in the ① Address column and press Tab to move to the next cell. If the address has a symbol, it is shown in the Symbol column.
  2. ② Format shows the data type of the address (BIT, WORD and so on). For word values, choose the display format, such as signed decimal, in the drop-down next to Value.
  3. Click ③ Monitoring to start reading values. While monitoring, the button changes to Stop Monitoring.
  4. To change a value, enter it in ④ Modify and click Force Write. You can enter decimal, 0x (hexadecimal) or 0b (binary) values.

Add to Watch

You can add the address of a ladder cell to the Data Table directly.

If the Data Table is closed, it opens and the address is added. An address that is already registered is shown as Watching in the Inspector.

Figure 7. The Add to Watch button in the Inspector

Watch Card

The addresses and values registered in the Data Table are also shown on the Watch card in the right column. If monitoring is on, the values on the Watch card keep updating even after you close the Data Table window.

Figure 8. The Watch card during monitoring

Value Trend Graph

Click Trend in the Data Table to open the Value Trend panel, which shows how the values of the registered addresses change over time.

Figure 9. The Value Trend panel

Bit addresses (M0 in the figure) are shown as ON/OFF waveforms below the graph.

Recording stops automatically when the number of recorded rows reaches the limit. Nothing is drawn while monitoring is off.

Forced Input and Output

Select Run → FORCE INPUT / OUTPUT to open the FORCE INPUT / OUTPUT window. Forced I/O makes an input point read a set value instead of its real signal, or makes an output point send a set value regardless of the ladder result.

Figure 10. The FORCE INPUT / OUTPUT window

  1. In ① the input points and ② the output points, choose ON or OFF for the points to force. Dimmed points do not exist on this model.
  2. Click ③ Apply Force to send them to the device.
  3. Click ④ Read Status to read the force state of the device again. The number of points forced ON and OFF is shown at the top of the window.
  4. Read ⑤ the notice for how Apply Force works and how to release forced points.
Caution: Applied force values are stored in the device and stay in effect after a power cycle or a program re-download. To release them, press Clear, then Apply Force.

If both ON and OFF are set for one point, the device applies OFF. When points are forced, the device pill shows Forced N during monitoring; click it to open this window. Click Show Frames to see the communication frames that will be sent to the device.

← Back to the MP STUDIO 2 User Manual