한국어 | English
The ladder you write is converted into device code and downloaded to the device. This page describes the program check to look at before downloading, the communication port settings, downloading and checking the firmware, and checking the mnemonics and program memory.
MP STUDIO 2 checks the whole program every time you edit it. The results appear on the canvas right away, without a separate compile step.
P200 in the figure), an address outside the data memory size, or a function argument with the wrong data type.P1 in the figure is a row that does not end in a coil or function, so it does nothing.| Shortcut | Menu | Action |
|---|---|---|
Ctrl+. / Ctrl+, | Search → Next Error / Previous Error | Moves between error cells. |
Alt+. / Alt+, | Search → Next Warning / Previous Warning | Moves between warning cells. |
While there are error cells, you can neither download nor monitor. Correct all error cells before downloading.
Select Setting → Communication Port or click the Communication button in the top band to open the Communication Setting window. The upper part is the link used for downloading, and the lower part is the communication settings of the device's serial channels.
ETHERNET. The list shows each COM number together with the device name. Click the button on the right to read the PC's COM port list again.ETHERNET is selected, enter the IP address of the device (for example 192.168.0.123) and the port number.Ethernet download is available when the device supports an Ethernet connection. Check the product page to see whether your device supports it.
Choose a channel in the ③ Serial 1, Serial 2 and Serial 3 tabs, then set ④ the communication parameters and ⑤ the Mode. The number of channels depends on the model. MPS-8A4R(T)-S, MPS-8A8R(T)-S, MPS-16A8R(T)-R2 and MPS-16A16R(T) have only Serial 1.
| Item | Choices |
|---|---|
| Mode | Normal · Modbus RTU Slave · Cubloc Modbus RTU Slave · CNET (XBC/LINK) · IBUS Master · IBUS Slave · Modbus RTU Master |
| Baud Rate | 2400 · 4800 · 9600 · 14400 · 19200 · 28800 · 38400 · 57600 · 76800 · 115200 |
| Data Bits, Parity, Stop Bits | Set them to match the device you connect to. |
| Slave ID | The station number of this device in a slave mode. |
| ⑥ Use this channel for download | When on, programs can be downloaded through this channel. The baud rate must then be 115200. |
The baud rate, data bits, parity and stop bits must match the device at the other end. A Modbus RTU Master channel cannot be used for downloading, so turn off Use this channel for download for it. The Modbus master list is described in Phase 9 · Modbus RTU Master.
When the download channel is ETHERNET, a Connect button appears in the top band.
Serial (COM) channels do not need a separate connection. The port is opened for each download or monitoring command.
Ctrl+T).Caution:Ctrl+Tand Download in the cell menu download immediately, without a confirmation window. If the device is connected to running equipment, its outputs may change, so put the equipment in a safe state before you continue.
Select Run → Firmware Version to read the firmware version of the connected device. A notice such as The firmware version is 0.2.6. appears at the bottom right of the screen. While monitoring, the status pills also show the firmware version (FW).
Run → Firmware Download updates the firmware of the device. Use it when a window asking you to update the firmware appears during a download. Do not turn off the device or disconnect the cable while the firmware is being updated.
Select Run → Mnemonic or click the Mnemonic button in the top band to open the Mnemonic Viewer window, which shows the ladder converted into a list of instructions (mnemonics).
AND NOT P1 line clicked, moving to the P1 (NC) cell.Select Run → Program Memory to convert the current program into device code and show how much of the device's program memory is left. If the program exceeds the capacity, the number of excess bytes is shown, and you cannot download in that state.
Run → Clear EEPROM erases all retentive (EEPROM) values in the device. Erased values cannot be restored, so a confirmation window is shown before it runs. This command is available only on a serial (COM) download channel.