한국어 | English
This page is for first-time users of MP STUDIO 2. You will select a model in a new project, create a rung in which output P32 turns ON when input P0 is ON, and then save it, set up communication, download it and monitor it.
| Software | Model used | Result |
|---|---|---|
| MP STUDIO 2 | MPS-8A8R(T)-S | P0 NO contact → P32 output coil |
Have the following ready:
We recommend disconnecting the output loads the first time, while you write and download the program. If you do not have a device, you can run the same circuit on your PC with Phase 8 · Simulation.
When the program starts, ① an empty ladder opens. The top band has ② the file and tool buttons and ③ the device pill, and the row below it has ④ the menus and ⑤ the program tabs. Choose contacts and coils from ⑥ the symbol rail on the left, and check the selected cell in ⑦ the Inspector on the right.
The first time you run the program, a notice about error reports is shown once. When an error occurs, diagnostic information (logs and system info) is sent to the developer automatically; a project file is sent only if you attach it yourself to a problem report. You can turn this off at any time with Help → Send Error Reports Automatically.
To look at the bundled example program first, select Project → Open Example.
Ctrl+N. If you have unsaved changes, choose whether to save them in the confirmation window.MPS.MPS-8A8R(T)-S.When you change the series, the option Reset the data memory sizes to this model's defaults. appears. If you check it, the memory area sizes change to the defaults of the new model; if you leave it unchecked, the current settings are kept.
A new project takes over the model setting of the previous project. Check the model shown in the device pill in the top band to make sure it matches your actual device. Changing the model also changes the available I/O addresses and memory sizes.
Select a cell on the ladder canvas first, then press a function key or a symbol rail button to place an element in that cell.
F2 or click ① F2 (NO) on the symbol rail to place an NO contact.Enter or double-click the cell to open the Edit Contact window, enter P0 in Address and click OK.→ to select the second cell and press F9 to place an output coil. The coil is placed at the right end of the row, and the contact and coil are joined with a horizontal line automatically.Enter to open the Edit Coil window and enter P32 as the address.
If you start typing an address such as P0 directly on an empty cell, the Insert Contact (NO) window opens, and clicking OK places an NO contact with that address.
The ① F2 button does the same as the F2 key. In ② the finished rung, check that the contact and coil addresses are correct. If an address does not exist on the model or has the wrong format, the cell turns red. While there is a red cell you can neither download nor monitor, so correct the address. For example, the I/O addresses available on MPS-8A8R(T)-S are P0 to P9 and P32 to P39.
Ctrl+S..mpl file.
To save under a different name, use Ctrl+Alt+S (Save As).
The communication port setting is saved with the project. Ethernet connections and the serial channel modes are described in Phase 6.
Ctrl+T.Caution:Ctrl+Tdownloads the program to the device immediately, without a confirmation window. First make sure the communication port is the device you intend to connect to.
Ctrl+M.Esc or Ctrl+M.Figure 7 shows the bundled example (Project → Open Example) running in simulation. Monitoring a real device uses the same colors, and the device pill shows Monitoring · port.
| Shortcut | Action |
|---|---|
Ctrl+N | New Project |
F2 | Place an NO contact |
F9 | Place an output coil |
Enter | Edit the selected cell |
Ctrl+S | Save Project |
Ctrl+T | Download |
Ctrl+M | Turn monitoring on or off |
You have completed Phase 1 when all of the following are true:
P0 contact and a P32 coil, and there are no red cells..mpl project has been saved.| Model | First digital input | First digital output |
|---|---|---|
MPS-8A4R(T)-S · MPS-8A8R(T)-S · MPS-8A8R · MPS-16A8R(T) · MPS-16A16R(T) · MPS-16A8R8T | P0 | P32 |
MPA-8A8R(T) to MPA-32A32R(T) | P0 | P32 |
MPA-48A48R(T) · MPA-64A64R(T) | P0 | P64 |
MPS-16A8R(T)-R2 | P0 | P20 |
For the I/O addresses of your model, see Phase 5 · Memory and Symbols and the product page.