en-us_products:mpino_studio2:menus_settings

MPINO STUDIO 2 Phase 7 · Menus and Preferences

This page explains how to use the top menus to manage project files, editing views, builds and uploads, communications, project settings, and application preferences.

How to understand menus and settings

The menu bar contains File, Edit, View, Run, Settings, and Help. Use File for project files, Edit for ladder-cell operations, and View to show or hide areas of the window.

The actual MPINO Studio 2 menu bar

Marker Menu Use it for
① File Creating, opening, saving, and printing projects; opening Preferences; quitting the application
② Edit Undoing and redoing edits; cutting, copying, pasting, and deleting ladder cells
③ View Showing or hiding the sidebar, bottom panel, and ladder monitoring
④ Run Building, uploading, resetting the program and EEPROM, creating an uploader, configuring communications, writing memory values, and setting the device clock
⑤ Settings Configuring memory areas, ladder design, pin maps, the board, EEPROM retention, CLCD, and the RTC (clock)
⑥ Help Reporting bugs, requesting improvements, checking for updates, and viewing application information

File → Preferences opens settings used on this PC. The top-level Settings menu combines project settings with an entry to the shared Ladder Design preferences.

2. OpenㆍSaveㆍPrint Projects

Use the File menu to create, open, and save projects. The same menu prints the content associated with the active tab.

File menu items and shortcuts

Marker Item Default shortcut Action
① New Ctrl + N Select a board and create a project.
② Open Ctrl + O Open a saved .mp2 project.
③ Save Ctrl + S Save the current project to its existing path.
④ Save As Ctrl + Shift + S Choose a new path and project filename.
⑤ Print Ctrl + P Print Arduino Code or ladder logic according to the active tab.
⑥ Preferences - Open the General tab in Settings.
⑦ Quit - Close MPINO Studio 2.

Open accepts .mp2 projects saved by MPINO Studio 2. It cannot open project files from MPINO STUDIO 1.x. Create a new project and transfer the previous contents after checking them.

If the current project has unsaved changes, New and Open first ask whether to discard them. Canceling that prompt or the following file or board picker keeps the current project open.

If a project has no save path, Save opens Save As. Saving under another name also changes the first Arduino Code file to match the project filename. The project cannot be saved if another code tab already uses that name.

From an Arduino Code tab, Print prints every code tab in project order and starts each additional tab on a new page. From a ladder tab, it prints every ladder circuit as a diagram.

See Phase 1 · Create Your First Project for project creation and board selection.

3. Preferences

Select File → Preferences to open the General tab in Settings. Use the tabs at the top to switch between General, Shortcuts, Ladder Settings, and Ladder Design.

Changes under General, Shortcuts, and Ladder Settings take effect immediately and are saved automatically in the application settings on this PC. The Monitoring Port is stored in the current project, and the project must be built and uploaded again before the board uses the changed port.

Values entered under Ladder Design are not applied while editing. Select Save after choosing the colors and dimensions to apply them to the selected theme on this PC.

General

Use General to configure the user library folder, platform folder, application language, verification after upload, and automatic error reporting.

User Library Folder, Platform Folder, Language, Verify after upload, and Error reporting settings

Marker Item Action
① User Library Folder Choose the location used to install, import, and open libraries.
② Platform Folder Open the ILOGICS board-core and toolchain folder used for builds and completion.
③ Language Select 한국어, English, or 日本語.
④ Verify after upload Choose whether to read the program back from the board and compare it. When selected, uploads take about twice as long.
⑤ Send error reports automatically Choose whether diagnostics are sent after crashes and errors.

Changing the User Library Folder does not move files from the previous folder. MPINO Studio 2 reloads the library list and restarts completion after the path changes. Restore Default returns the path to its default location.

Selecting a language changes the application immediately. There is no separate save button.

Verify after upload is off by default. When it is selected, verification applies not only to uploads but also to program and EEPROM resets, and program uploaders created afterward carry the same setting.

Shortcuts

Use Shortcuts to change 18 shortcuts for ladder tools, cell and row editing, monitoring, symbols, and opening the user manual.

Shortcut change, reset, and conflict areas

Marker Screen area Action or configurable function
① Reset all to defaults Restore all 18 customized shortcuts to their defaults.
② Function and current shortcut Show the key combination currently assigned to each function.
③ Change or reset one item Change the selected shortcut or restore its default.
- Monitoring Toggle Monitoring
- Symbols Toggle Symbols
- Help Open User Manual
- Ladder elements NO and NC contacts, horizontal and vertical lines, standard, SET, and RESET coils, NOT, rising and falling edges, and box functions
- Structure editing Insert or delete cells, and add or delete rows
  1. Select Change for the command.
  2. Press the key or key combination to use.
  3. Press Enter to confirm or Esc to cancel.

Select reset on one row to restore that shortcut. Select Reset all to default to restore every changed shortcut.

When two commands share a shortcut, Conflicting shortcuts lists the conflict. The change is still saved, and the command registered first takes priority.

Conflict notice and execution priority for duplicate shortcuts

Marker Screen area Action
① Entered shortcut Show the key or key combination being registered.
② Conflicting command notice Show the function already using the shortcut. The function registered first runs.
③ Confirm or cancel Confirm the entered shortcut or cancel the change.

See Phase 3 · Ladder Editing Shortcuts for the result of each ladder shortcut.

Ladder Settings

Use Ladder Settings to configure ladder-cell labels, build checks, the automatic input box, and the ladder-monitoring port.

Symbol display, Use Ladder, Duplicate coil check, automatic input box, and monitoring port

Marker Item Action Scope
① Address + symbol Show the symbol and address together in each ladder cell. This PC
② Symbol only Show the symbol when one exists, and the address otherwise. This PC
③ Use Ladder When cleared, exclude ladder logic from the build and use Arduino Code only. This PC
④ Duplicate coil check Report a build error when the same memory (P, M, or D bits, or Arduino variables) is used by two or more output coils, or the same timer or counter number is used by two or more box functions. SET and RESET coils are not counted. This PC
⑤ Auto input box on contact creation Open the address input box immediately after creating a contact or edge. This PC
⑥ Monitoring port Select the board serial channel that sends ladder-monitoring data. Current project

Clearing Use Ladder does not delete ladder tabs. It excludes only the generated ladder code from the build.

The Monitoring port list shows only channels supported by the current board. A change takes effect after the next build and upload. Save the project with Ctrl + S to keep it in the .mp2 file.

See Phase 6 · Configure Ladder Monitoring for connection and port-conflict details.

Ladder Design

Use Ladder Design to configure ladder-cell colors and dimensions, column count, text size, and line width. The saved values apply to the current theme on this PC.

Ladder colors, cell dimensions, text size, line width, and Save

Marker Color Current use
① Cell color Ladder-cell background
② Selected cell color Selected ladder cell
③ Line color Contacts, connection lines, and coils
④ Text color Addresses and box-function text
⑤ Symbol color Marked planned and not currently applied to the ladder.
⑥ Monitoring color Marked planned and not currently applied to the ladder.
Marker Item Default Allowed range
⑦ Width 100px 100–240px
⑧ Height 60px 40–120px
⑨ Columns 12 4–32
⑩ Text size 13px 9–24px
⑪ Line width 2 1–4 in 0.5 steps
⑫ Factory Reset - Restore the input fields to their defaults.
⑬ Save - Apply the entered design to the selected theme on this PC.

Ladder design before and after saving

Enter colors in #RRGGBB format. Save is disabled when a number is outside its range or a color is invalid.

Leave an input empty to use its default. Factory Reset clears the overrides; select Save to apply the defaults. Switching tabs or closing Settings with unsaved design changes asks whether to discard them.

4. EditㆍView Menus

Use Edit for ladder-cell operations and View to show or hide the sidebar, bottom panel, and ladder monitoring.

Edit and View menus

Marker Edit item Default shortcut Action
① Undo Ctrl + Z Undo the most recent edit.
② Redo Ctrl + Y Redo the edit that was undone.
③ Cut Ctrl + X Copy the selected ladder cells and clear the originals.
④ Copy Ctrl + C Copy the selected ladder cells.
⑤ Paste Ctrl + V Paste copied cells at the current selection.
⑥ Delete Delete Clear the selected ladder cells.
Marker View item Default shortcut Action
⑦ Toggle Sidebar Ctrl + B Show or hide the left sidebar.
⑧ Toggle Panel Ctrl + J Show or hide the bottom panel below the editor.
⑨ Toggle Monitoring Ctrl + M Start or stop ladder monitoring.

Cut, Copy, Paste, and Delete in the top Edit menu apply to ladder tabs. To edit Arduino Code text, use the same shortcuts while focus is in the code editor.

Edit → Undo and Edit → Redo follow the active tab. In a ladder tab they undo or redo ladder edits, and in an Arduino Code tab they undo or redo code edits. The Ctrl + Z and Ctrl + Y shortcuts work in the ladder view or the code editor, whichever has focus.

See Phase 3 · Insert, Delete, and Copy Cells, Phase 5 · Editing Arduino Code, and Phase 6 · Serial and Ladder Monitoring.

5. Run Menu

Use Run to build and upload the project, reset the board's program and EEPROM, create a program uploader, and open communication, memory-write, and device-clock functions.

Ten items in the Run menu

Marker Item Default shortcut Action
① Build Ctrl + R Transpile and compile the current editor content.
② Upload Ctrl + U Build the current content and upload it through the selected port.
③ Reset Program… - Replace the program on the board with an empty program.
④ Reset EEPROM… - Erase the board's EEPROM and also replace the program with an empty program.
⑤ Cancel Upload - Stop an upload or reset in progress.
⑥ Create Program Uploader… - Create an uploader executable that writes the current project to the board.
⑦ Communication - Configure serial communication channels on the board.
⑧ Write Value to Arduino - Enter an address and a value, and write the value to memory on the running board.
⑨ Memory Write List - View and change memory values on the running board.
⑩ Set Device Clock - Open the window that sets the device clock to the PC time.

See Reset Program and EEPROM for Reset Program… and Reset EEPROM…, Create a Program Uploader for Create Program Uploader…, and Set Device Clock for Set Device Clock. Write Value to Arduino in the Run menu opens the popup with an empty address field. See Phase 3 · Write a Value to Memory for how to use the popup.

See Phase 1 · Build the Project for building, port selection, and upload.

Communication Settings

Select Run → Communication to list the serial communication channels provided by the current board. A board without communication channels displays a message instead of the table.

Communication channel, protocol, Slave ID, and serial settings

Marker Item Setting
① Channel Serial1, Serial2, and Serial3 channels provided by the board
② Protocol None, Modbus RTU Slave, LS Electric Cnet Slave, MPLINK Master, MPLINK Slave, or Modbus RTU Master
③ Slave ID 1–247
④ Baud Rate Baud used by the channel
⑤ Data Bits 5, 6, 7, or 8
⑥ Stop Bits 1 or 2
⑦ Parity None, Even, or Odd

Select None to leave the channel unused. Selecting Modbus RTU Slave or LS Electric Cnet Slave enables the Slave ID and serial settings. The defaults are Slave ID 1, 115200bps, 8 data bits, 1 stop bit, and no parity.

Modbus TCP/IP is shown as a coming-soon item and cannot be selected.

Changes immediately update the current project and are used by the next build and upload. The current in-memory settings can be built before saving, but press Ctrl + S to keep them when the project is reopened.

After a board change, communication settings for channels that the new board does not have are not deleted; they appear in a channel not on this board line. Select Clear this setting if you no longer need the setting.

If Arduino Code, Communication, and ladder monitoring share one channel, a conflict notice appears before upload. See Phase 6 · Port Sharing.

Modbus RTU Slave and LS Electric Cnet Slave channels do not stop the ladder scan or other communication channels while they receive a request or send a response.

A Comm trace row appears under each channel that has a protocol selected. See Phase 6 · Comm Trace for its settings and how to view it.

Modbus RTU Slave and LS Electric Cnet Slave Addresses

When a channel's protocol is set to Modbus RTU Slave or LS Electric Cnet Slave in Communication Settings, a master device connected to that channel (such as an HMI or PLC) can read and write board memory at the addresses below. Configure the master device with addresses within the memory sizes of the current project.

Modbus RTU Slave

Address Coils (FC 01 and 02 read, 05 and 0F write) Holding registers (FC 03 and 04 read, 06 and 10 write)
0–999 P0–P999 P in 16-bit groups (address 0 = P0–P15)
1000–1999 M0–M999 M in 16-bit groups (address 1000 = M0–M15)
2000–2999 D bits (address 2000 = bit 0 of D0, address 2016 = bit 0 of D1) D0–D999
3000–3999 Counter contacts C0–C999 Counter current values C0–C999
4000–4999 Timer contacts T0–T999 Timer current values T0–T999
5000–5999 - R0–R499 real numbers (two addresses per R; the lower address holds the lower 16 bits)

Addresses start at 0. On a device that uses 5-digit notation counted from 1, add 1 to the address. For example, D0 is holding-register address 2000, which is 42001 in 5-digit notation.

Writing to a 16-bit P or M group changes all 16 bits at once. Reading an address outside the memory sizes returns 0, and writing to one returns exception code 02. If any address in a multi-address write cannot be written, nothing is written. Holding registers 60000–60011 are reserved for board authentication.

LS Electric Cnet Slave

Device Bit (X) Byte (B) Word (W) Double word (D)
%M M bit 8 M bits (%MB10 = M100–M107) 10 M bits (%MW10 = M100–M109) -
%D - Byte of D (%DB20 = lower byte of D10) D word Two D words (%DD10 = D11:D10)
%C Counter contact - Counter current value -
%T Timer contact - Timer current value -
%R - - 16 bits of R (%RW0 = lower 16 bits of R0) R real number

Read and write (R, W; individual and continuous), monitor registration (X), and monitor execution (Y) commands are supported, and lowercase commands (r, w, x, y) are sent with a BCC. Continuous read and write cannot be used with the bit (X) type and handle up to 120 bytes, 60 words, or 30 double words at a time. The %P device is not supported. %M byte and word addresses count M numbers in steps of 10, as in the table, so they differ from the 16-bit words in the LS Electric Cnet manual. Reading an address outside the memory sizes returns 0, and writing to one returns a NAK without writing anything.

When a single request is longer than 63 bytes, the board's receive buffer (64 bytes by default) can overflow if the scan time is long or the baud rate is high. This applies, for example, to a Modbus FC 10 request that writes 28 or more words, or a Cnet continuous write of about 12 or more words. The board then writes nothing and does not respond, although Cnet may return a NAK. To use such requests, increase the Serial RX Buffer; on boards and channels without this item, split the requests instead.

For both protocols, timer current values are counts of the timer unit, not times. To convert a value to time, multiply it by the timer unit described in Phase 4-1 · Timer Unit Settings.

For worked Modbus examples and a test from a PC, see Finding and Testing Modbus Addresses.

Memory Write List

Select Run → Memory Write List to inspect and change P, M, D, C, T, and R values on the running board. The window can remain open while the ladder is edited.

Address input, Current, Value, row Write, and Write All

Marker Screen area or function Action
① Monitoring Turn ladder monitoring communication on or off. Values can be written even while monitoring is off; in that case, the app briefly connects to the board through the port selected in the status bar.
② Address, value, and Write Enter a memory address and value, then select Write or press Enter.
③ Import, Export, Clear, and Write All Load or save a list, clear it, or write every row containing a value from top to bottom.
④ Row Write and Delete Write only the selected row or remove it from the list without changing the board value.
⑤ Current and write values Check the current board value and the value prepared for writing. Current values appear during monitoring.

An address cannot be registered twice. P addresses mapped to input pins cannot be written. A row cannot be written when its address is invalid or outside the current board's memory range. Write All skips empty values and stops at the first failed row.

The list is project data. Save with Ctrl + S to keep it when the project is reopened.

Memory-write caution: Writing memory can immediately change ladder conditions and output behavior. Confirm that the machine is in a safe state, then check the address and value again before writing.

See Phase 2 · Understand Memory for address and data formats and Phase 6 · Start and Stop Ladder Monitoring for the connection.

Reset Program and EEPROM

Run → Reset Program… and Run → Reset EEPROM… clear the program or EEPROM values on the connected board without changing the project file. As with uploading, first select the port that the board is connected to in the status bar.

Item Board program EEPROM
Reset Program… Replaced with an empty program. All outputs turn off and the board does nothing. Retained values are kept.
Reset EEPROM… Replaced with an empty program. Fully erased, including retained values and values saved by Arduino Code.

Selecting either item opens a confirmation, and the reset starts only after you select Reset. The Reset Program… confirmation also shows the target board and port. Progress appears in the bottom panel as it does for an upload, and Run → Cancel Upload stops it. Reset EEPROM… waits until the board finishes erasing the EEPROM.

To restore the original program, upload it again with Upload (Ctrl + U). A reset during ladder monitoring removes the monitoring function from the board, so monitoring turns off, and turning monitoring on again first asks whether to upload. When Verify after upload is selected on the General tab, both resets are verified as well.

Reset caution: A reset turns off every board output and stops the program. Confirm that the machine is safe to stop before running a reset. Retained values erased by Reset EEPROM… cannot be restored.

Create a Program Uploader

Run → Create Program Uploader… compiles the current project and creates an uploader executable that writes the program to the board from a Windows PC without MPINO Studio 2 installed. Use it when only the program needs to be uploaded, for example on site or on a customer's PC.

  1. Select Run → Create Program Uploader….
  2. Choose the folder in which to save the uploader. For a saved project, the folder containing the project file opens first.
  3. When compilation finishes, <project name>_uploader.exe is created in the selected folder. Select Open folder in the notification to open the folder.

If an uploader with the same name already exists, the Overwrite uploader confirmation opens. A running uploader cannot be overwritten, so close the uploader window and run the command again. If the build has errors, no uploader is created and the errors appear in the bottom panel.

Board information, COM port, Upload, and output in the program uploader window

Marker Screen item Action
① Board, Project, and Created Show the board and project name stored in the uploader and the date the uploader was created.
② COM port Select the COM port that the board is connected to.
③ OPEN and CLOSE Open or close the selected port.
④ Upload Write the program to the board while the port is open.
⑤ Status and Output Show the port state, write progress, and result.
⑥ About Show the project, board, MCU, program size, and open-source license notices.

The uploader window appears in the MPINO Studio 2 language that was in use when the uploader was created. If Verify after upload on the General tab was selected when the uploader was created, the uploader also verifies the program after writing it. If the MCU on the connected board differs from the board that the uploader was created for, nothing is written to the board and a message appears.

A port that another program, such as the MPINO Studio 2 Serial Monitor, is using cannot be opened. Close the port in that program, then select OPEN again. Closing the window during an upload leaves the board program incomplete, so upload again in that case.

6. Settings Menu

Use Settings to open memory, pin-map, board, EEPROM, CLCD, and RTC (clock) settings for the current project. Ladder Design Settings opens the application-wide Ladder Design preferences.

Eight items in the Settings menu

Marker Item Default shortcut Saved for Description
① Memory Area Settings Ctrl + Shift + M Current project Set the number of P, M, D, C, T, and R memory entries and the timer units.
② Ladder Design Settings Ctrl + Shift + D This PC Open Ladder Design preferences.
③ Ladder Pin Map Settings Ctrl + Shift + P Current project Edit the mapping between board pins and ladder addresses.
④ Change Board - Current project Change the target board for the current project.
⑤ Used Memory Ctrl + Shift + L View only Find memory addresses and their references in the project.
⑥ EEPROM Retain Ctrl + Shift + E Current project Select memory areas retained after power is removed.
⑦ CLCD Screen Editor - Current project Set the address, size, and screens of I²C character LCDs.
⑧ RTC (Clock) Settings - Current project Set up loading the time of an external clock module into D memory.

See Phase 2 · Memory Regions for Memory Area Settings and Used Memory. See Phase 4-1 · Timer Unit Settings for the Timer units selected at the bottom of the Memory Area Settings window. See Ladder Design above for design settings, and CLCD Screen Editor and RTC (Clock) Settings below for the CLCD and the RTC.

Change Board

Select Settings → Change Board to open the board picker with the current board selected. Confirming another board preserves Arduino Code, ladders, and memory settings while updating the target board and option-module configuration.

Current board and replacement board in the board picker

Marker Screen area Action
① Product family Select the product family containing the replacement board.
② Board selection Select the board and option-module configuration for the current project.
③ Select or Cancel Apply the selected board or close the window without changing it.

Pin maps, memory sizes, and communication channels can differ between boards. After changing the board, review Memory Area Settings, Ladder Pin Map Settings, Communication, and Monitoring port.

The change updates the current project. Press Ctrl + S to keep it and rebuild and upload for the new board. Selecting the same board and option configuration makes no project change.

Option Modules and Serial RX Buffers

The same board selection window opens when you create a project (File → New) and when you select Settings → Change Board. In this window, select the board together with the number of option modules for an MPAINO board and the Serial RX buffer size for each channel. The selected values are applied to the current project.

Tab Boards
MPINO MPINO-8A4R(T)-S, MPINO-8A4R-SU, MPINO-8A8R(T)-S, MPINO-16A16R, MPINO-8A8R, MPINO-16A8R, MPINO-16A8R8T
MPAINO MPAINO-8A8R(T), MPAINO-16A16R(T), MPAINO-24A24R(T), MPAINO-16A32R(T), MPAINO-32A16R(T), MPAINO-32A32R(T), MPAINO-48A48R(T), MPAINO-64A64R(T)

Option modules and Serial RX buffers for an MPAINO board

Marker Screen item Setting
① Option modules Number of modules of each type connected to the MPAINO board
② Serial RX Buffer Serial receive buffer size for each channel
③ Edit Pins… Pin definition editor for the selected board

Option modules appears when a board on the MPAINO tab is selected. Select the number of each module within the ranges below.

Module Count
Analog input : X 0–5
Analog output : Y 0–4
PT100Ω input : F 0–5
Pulse output : K 0–2

Analog input (X) and PT100Ω input (F) are limited to 5 modules in total, and analog output (Y) and pulse output (K) are limited to 3×Y + 6×K ≤ 12 channels. A count cannot be increased beyond these limits. If pulse output (K) is selected together with analog output (Y), or two pulse output (K) modules are selected, Digital input terminals move from D2–D9 to D22–D29. appears when you confirm with Select.

The channels of the selected modules are added as rows in Ladder Pin Map Settings. If the default address of a module channel matches an LD address that you assigned, the board cannot be selected and an error message appears. In that case, correct the conflicting address in Edit Pins…, then select the board again.

Select the Serial RX Buffer title to expand it, then choose 64 (default), 128, 256, or 512 bytes for each channel. Channels that are not set to the default are summarized next to the title. MPINO-8A8R(T)-S supports only Serial1, MPINO-8A4R(T)-S, MPINO-8A4R-SU, and MPINO-16A16R do not show this item, and all other boards support Serial1, Serial2, and Serial3.

The receive buffer is allocated in the board's SRAM, so a larger buffer uses more SRAM. A changed size takes effect from the next build and upload.

Ladder Pin Map Settings

Select Settings → Ladder Pin Map Settings to inspect and edit the mapping between board pins and ladder addresses.

LD, Name, Pin, Direction and Function, Use, and Description columns

Marker Column Meaning Editable
① LD P, M, D, C, or R address used by the ladder Yes
② Name Name used to identify the pin Yes
③ Pin Pin number used by Arduino Code Read only
④ Direction/Function Input, output, analog, or another pin function Read only
⑤ Use Whether the mapping is enabled in the current project Yes
⑥ Description Description of the pin's purpose Yes

A pin with Use cleared is excluded from generated ladder I/O code. A build fails if the ladder references the LD address of a disabled pin.

Select the check box in the Use column header to turn Use on or off for all pins at once.

LD addresses and Arduino pin numbers must remain unique. OK is disabled when an address does not match the pin function or another validation error exists.

If adding option modules gives a new module channel a default address that matches an LD address you assigned, Module pin addresses conflict. appears at the top of the window and the conflicting rows are highlighted. Change the LD addresses in the highlighted rows so that they differ. If Module configuration is not valid. appears instead, changing addresses does not fix it, so adjust the number of option modules in the board selection window.

Selecting OK updates the current project. Press Ctrl + S to keep the changes in the project file. The factory board definition remains unchanged.

Select Reset at the bottom of the window to open the Factory Reset confirmation. Selecting Reset returns the LD, name, use setting, and description of every pin, including option-module pins, to the factory defaults, and selecting OK applies them to the current project.

Edit Pins… in the board selection window opens the same editor. Use it to edit pin definitions before creating a new project.

See Phase 2 · C Area and Board Pin Mapping for mapped memory and analog-output behavior.

EEPROM Retain

Select Settings → EEPROM Retain to configure when and where memory values are retained across a power cycle.

Save options, power detect pin, memory range, EEPROM address, and usage

Marker Screen area Setting
① Save options Option 1 saves M, D, and C when values change. Option 2 saves M, D, C, and T when power loss is detected. Both options may be enabled.
② Power-detect pin and time Set the input pin and detection time used by Option 2.
③ Retained ranges and EEPROM addresses Enter the first and last memory addresses and the EEPROM start address for each area.
④ EEPROM usage Check the configured usage and remaining capacity.
⑤ Save or Cancel Apply the settings to the current project or close the window without changing them.

Memory model for save-on-change and save-on-power-loss

The two options are independent and can be enabled together. Option 2 requires a Power detect pin and at least one memory area.

Enter the first and last memory address and the EEPROM start address for each area. Auto-assign EEPROM places enabled areas consecutively from EEPROM address 0 without overlap.

The EEPROM contains 4096 bytes. The last 8 bytes are reserved for internal data, leaving addresses 0 through 4087 and 4088 bytes for retained memory. M packs 8 bits into one byte. Each D, C, or T address uses 2 bytes.

Settings cannot be saved when a memory range exceeds the current project, EEPROM ranges overlap, or the usable capacity is exceeded.

If Arduino Code uses core communication functions such as ImodbusRTUInit, ICnetInit, or IMcInit, M, D, and R retained ranges must stay within the sizes allocated by the core, and the same limits apply to the Memory Write List. When a range goes beyond them, a message shows which core allocated how many cells and how to enlarge them. Enlarge the sizes with the numbers passed to ImodbusRTUMem, ICnetMem, or IMcMem in setup().

Save in this window updates the current project and the next build uses it immediately. Press Ctrl + S to keep the configuration in the .mp2 file.

EEPROM-write caution: EEPROM supports a limited number of writes. Option 1 writes when values change, so do not include rapidly changing memory in its retained range.

Option 2 does not automatically check whether the power-detect pin is used elsewhere. Select a pin that is not used for another I/O purpose.

CLCD Screen Editor

Use Settings → CLCD Screen Editor to create the screens shown on a character LCD connected to the board's I²C port. Each screen holds fixed text and value fields that show memory values, and the CSCR box function in the ladder switches the screen the LCD shows. You can keep editing the ladder while this window is open.

Supported LCDs are HD44780-compatible character LCDs fitted with a PCF8574 I²C adapter module. Choose a size of 20×4 or 16×2. A project can use up to 4 LCDs, and each LCD can have up to 255 screens.

LCD list, screen editing area, property tabs, and check results in the CLCD Screen Editor window

Marker Screen area Action
① Glass color Select green, blue, or amber for the screen editing area. This setting is saved on this PC.
② LCD Add an LCD with Add LCD (+) and select the LCD to edit from the list.
③ I²C address and LCD size Set the I²C address and size of the selected LCD. Remove this LCD removes the selected LCD from the list.
④ Screens Manage screens with Add screen (+), Duplicate screen (⧉), and Delete screen (−), and select the screen to edit.
⑤ Screen number Change the number (0 ~ 255) of the selected screen. CSCR uses this number as PAGE.
⑥ Insert field Insert an Integer, Real, Hex, or Bit value field at the cursor or in the selected range.
⑦ LCD screen Type fixed text and arrange value fields. Value fields are shown with a border.
⑧ Status line Shows the cursor row, column, and character code, and notes about characters that cannot be entered.
⑨ Value fields on this screen Lists the format, source, and position of each value field on the screen. Select an entry to move the cursor to that field.
⑩ Property tabs Select the Field, User chars, or Char table tab.
⑪ Check results Shows the number of errors and warnings and the CLCD RAM usage.

Add LCD creates a 20×4 LCD with screen 0, using an I²C address that no other LCD uses. Enter the I²C address of the connected LCD module in hexadecimal, such as 0x27, or in decimal, such as 39. The valid range is 1 ~ 127.

When you change the I²C address, the ADR of each CSCR in the ladder that used the old address changes to the new address as well. If the address overlaps another LCD, the CSCR boxes in the ladder are not changed.

If shrinking the LCD would push text or value fields off the screen, the Shrink LCD confirmation opens. Select Remove and shrink to delete the text and value fields outside the screen. Remove this LCD runs without confirmation, so if you remove an LCD by mistake, press Ctrl + Z in the window to undo it.

Add screen creates an empty screen with the smallest unused number, and Duplicate screen copies the text and value fields of the selected screen to a screen with a new number. Each screen number can be used only once on an LCD.

Click the LCD screen to place the cursor, then type text on the keyboard. Characters that are not in the LCD font (ROM A00), such as Korean characters, are not entered and a note appears on the status line, so draw the characters you need on the User chars tab. Half-width katakana can be entered; the LCD screen shows them as dashed outlines instead of dots, but the board LCD shows the characters. The status line also notes characters that look different in the LCD font, such as \, which shows as ¥, and ~, which shows as →.

Key Action on the LCD screen
Arrow keys, Home, and End Move the cursor. Hold Shift to select a range on the same row.
PageUp and PageDown Move to the previous or next screen.
Enter Move to the first column of the next row. When the cursor is on a value field, move to the Source input on the Field tab.
Backspace Delete the character before the cursor. If a range is selected, delete the range. If the cell before the cursor is part of a value field, move to that field instead of deleting it.
Delete Delete the character at the cursor. When the cursor is on a value field, delete that field.
Alt + arrow keys Move the selected value field one cell at a time.
Alt + Shift + ← and Alt + Shift + → Make the selected value field narrower or wider.
Ctrl + A Select the whole row at the cursor.
Ctrl + Z and Ctrl + Y Undo or redo an edit made in this window.
Esc Clear the selected range. If no range is selected, close the window.

You can also select a range by dragging with the mouse. A value field inserted without a range is 6 cells wide for Integer and Real and 4 cells wide for Hex and Bit. Drag a value field to move it, or drag the right edge of the selected field to change its width. A field cannot be placed where it overlaps another field or extends past the screen.

Undo in this window is recorded separately from ladder undo, and the undo history is cleared when the window closes. Changes in the CLCD Screen Editor are applied to the current project as you edit. Press Ctrl + S to keep them in the project file.

Use the Field tab to set the memory address and display format of the selected value field.

Format, source, position, and display options on the Field tab

Marker Item Setting
① Format Select how the value is shown: Integer, Real, Hex, or Bit.
② Source Enter the memory address or symbol name to read the value from.
③ Row, Col, and Width Enter the position of the field and its number of characters.
④ Fill spare cells with 0 Fills the cells left over after the value with 0 instead of spaces. Not available for Bit.
⑤ Show + on positive values Adds + before values greater than 0. Available only for Integer.
⑥ Preview value Enter a value to draw in this field in the screen editing area. It is not sent to the board.
⑦ Delete field Removes the selected value field from the screen.
- Decimals Enter the number of digits after the decimal point (0 ~ 5) for Real.
- On text and Off text Enter the text to show when the bit is ON and when it is OFF. If left empty, ON and OFF are shown.

For Source, enter a word, byte, or dword address (such as D0 or DD2) for Integer and Hex, an R address (such as R0) for Real, and a bit address (such as M0 or D3.4) for Bit. A symbol name you enter is converted to its address when saved. Special relays and Arduino variables cannot be used as a source.

If a value is longer than the field width, the whole field shows #. Real values are rounded to the number of Decimals.

Use the User chars tab to draw characters that the LCD font lacks, such as Korean characters, as 5 dots wide by 8 dots high. There are 8 user characters, and all LCDs and all screens share the same 8 characters.

Character selection, dot grid, and insert buttons on the User chars tab

Marker Screen area Action
① User characters Select the user character (0 ~ 7) to edit.
② Dot grid Click a dot to turn it on or off. Drag while holding the button to paint more dots with the same state.
③ Insert on screen Insert the selected user character at the cursor on the LCD screen.
④ Clear and Invert Clear all dots of the selected character, or swap its on and off dots.

In the dot grid, you can also move between dots with the arrow keys and turn a dot on or off with Space.

The Char table tab shows the 256 characters of the LCD font (ROM A00) in code order. To enter a character that is hard to type on the keyboard, select it in the table to insert it at the cursor on the LCD screen.

Character code table and user character cells on the Char table tab

Marker Screen area Action
① Character table Rows are the first hexadecimal digit of the character code and columns are the second. Select a character to insert it at the cursor.
② User character cells The cells for codes 0x00 ~ 0x07 show the characters drawn on the User chars tab.
③ Disabled cells Codes that the LCD cannot draw. They cannot be selected.
④ Character code Shows the code of the selected cell.

In the table, you can also move with the arrow keys and insert with Enter or Space. Cells shown with a dashed outline are characters whose dot shapes are not drawn on screen, and when inserted, the LCD shows the character for that code.

In the ladder, the CSCR box function switches the screen shown on an LCD. The syntax is CSCR ADR PAGE OUT, and when the left condition is ON, the LCD at address ADR switches to screen PAGE.

ADR, PAGE, and OUT arguments of the CSCR box function

Marker Argument Setting
① ADR LCD I²C address constant 1 ~ 127 (0x27 or 39)
② PAGE Screen number 0 ~ 255, or an integer address of 16 bits or less, such as D10, C0, T0, WM0, or BM0. With an address, its value is the screen number.
③ OUT LCD response bit (such as M100, P5, or D3.4; optional). 1 when the condition is ON and the LCD responds, otherwise 0.

When the condition turns OFF, the LCD keeps the last screen and its value fields keep updating. If PAGE is not a screen number of that LCD, the screen does not change. An LCD whose CSCR condition has not turned ON since the board started shows no characters.

Right-click a CSCR cell in the ladder and select Open this screen in CLCD Screen Editor to open the CLCD Screen Editor window with the ADR LCD and the PAGE screen selected. The same button appears when you enter CSCR in the box function editor. If the CLCD Screen Editor has no LCD with that address, only the window opens.

If you confirm a CSCR cell while the CLCD Screen Editor has no LCD, a 20×4 LCD and a screen are created automatically from its ADR and PAGE, and a notification appears. If PAGE is an address, screen 0 is created. Select Open in the notification to open the CLCD Screen Editor window.

See Phase 4 · Box Function List for CSCR together with the other box functions.

The check results at the bottom of the window list errors and warnings in the CLCD Screen Editor and CSCR cells, and the same items appear on the Problems tab of the Bottom Panel. Select an item to go to its LCD, screen, value field, or ladder cell. If an LCD called by CSCR has a settings error, the project cannot be built. An LCD that no CSCR calls only shows a warning and is left out of the build.

CLCD RAM is an estimate of the board RAM used by the CLCD feature. It turns yellow when it exceeds 25% of the board RAM, and the build makes the final call on whether it fits.

I²C pin caution: On MPINO boards, a ladder address connected to the SDA or SCL pin of the I²C port cannot be used together with CSCR. If this error appears, use a different input or clear Use for that pin in Ladder Pin Map Settings.

While ladder monitoring is connected, Device display appears in the window header, and if the screen you are editing is the screen the board LCD shows now, the LCD screen area shows the current characters of the board LCD. Value field borders and the cursor stay visible, so you can keep editing, and each click on Device display switches between the board LCD characters and the edited screen. Device display is available on a board where the Monitoring port is set on the Ladder Settings tab and a program containing CSCR has been uploaded.

Next to Device display, the current LCD status appears as Initializing, LCD responding, or LCD not responding, and the screen list marks the screen the board LCD shows now. When the edited screen differs from the board LCD screen, a note appears below the LCD screen. Select Go to that screen to move to that screen.

If a note says that the screen table in the board program differs from the table you are editing, the edited screens have not been uploaded to the board yet, so build and upload again. LCD not responding means the board received no response from the LCD at that I²C address. Check the LCD connection and I²C address.

RTC (Clock) Settings

Use Settings → RTC (Clock) Settings to load the time of an external DS3231 clock module connected over I²C into 16 cells of D memory. The ladder can then use the date and time by reading those cells. The ladder can be edited while this window is open.

Enable switch, start address, block map, and check results in RTC (Clock) Settings

Marker Screen item Action
① Use the device clock (RTC) When selected, write the clock module's time into 16 D cells as decimal numbers every 0.1 s.
② Start address Enter the D address where the block starts. The block occupies 16 cells from the start address.
③ Block map Show the meaning and value range of each cell. Cells that block the build are shown in red.
④ Add names to the symbol table Add the block cell names to the symbol table.
⑤ Check results Show the number of errors and warnings and their details.
⑥ Set Device Clock… Open the Set Device Clock window.
⑦ OK and Cancel Apply the settings to the current project or close the window without changing them.

The default start address is D100. If the D area does not reach D115, the last 16 cells of the D area are used. If the D area has fewer than 16 cells, the RTC cannot be turned on, so enlarge the D area in Settings → Memory Area Settings.

Cell Meaning Value
+0 Year 2000–2099
+1 Month 1–12
+2 Day 1 to the end of the month
+3 Weekday 1 = Sun … 7 = Sat
+4 Hour 0–23
+5 Minute 0–59
+6 Second 0–59
+7 Status 0 OK, 1 no module (internal clock), 2 has stopped
+8–+14 Set year, month, day, weekday, hour, minute, and second Same as +0–+6
+15 Request 1 = please set → 0 done, 2 bad value

Cells +0 to +7 are written by the device, and cells +8 to +15 are written by a PC, an HMI, or the ladder. Write the values to set into +8 to +14 and 1 into +15; the clock is set and +15 returns to 0. If a value is invalid, +15 becomes 2 and the clock is unchanged. Without a clock module, the board keeps counting the time itself but loses it when the power is turned off.

If Add names to the symbol table finds cells that already have other names, or names that other cells use, choose Overwrite, Empty cells only, or Cancel.

Select OK to apply the settings to the current project; they take effect from the next build and upload. Press Ctrl + S to keep them in the project file. The build is blocked when Check results shows an error, for example when the block goes outside the D area or overlaps an EEPROM Retain range. The build is also blocked when Arduino Code uses core communication functions such as ImodbusRTUInit, ICnetInit, or IMcInit, or when an LCD that a CSCR calls has the I²C address 0x68, the same as the clock chip. The RTC is not built while Use Ladder is cleared. In a project whose Monitoring port is Off, the clock cannot be set to the PC time, so set it by writing +8 to +15 from the ladder or an HMI.

Set Device Clock

Select Run → Set Device Clock, or Set Device Clock… in the RTC (Clock) Settings window, to open a window that shows the PC time and the device time side by side. The clock can be set while ladder monitoring is on for a board that runs an uploaded project with the RTC turned on.

PC time, device time, difference, and set button in the Set Device Clock window

Marker Screen item Action
① PC time Show the current PC time.
② Device time Show the device clock time received through monitoring. Unknown appears when it is not known.
③ Difference Show how far the device clock is behind or ahead of the PC. In sync (±1 s) appears when it is within 1 s. Difference unknown appears when it is not known.
④ Status Show the clock module status (OK, no module, or has stopped). When the clock cannot be set, the reason appears here (see below the table).
⑤ Set to PC Time Set the device clock to the PC time.

Set to PC Time sends the time so that it arrives as the next second begins, then measures the difference again and shows the result. When the clock cannot be set, the button is disabled and the reason appears. For example, this happens when the project does not use the RTC, monitoring is off, the board does not respond, the device program has no RTC or its clock block address differs from the project's (the block address was changed but not uploaded yet), or an upload is in progress.

When ladder monitoring is turned on and the device clock has stopped at some point or differs from the PC by 5 s or more, you are asked whether to set it to the PC time. Select Yes to open this window and set the clock immediately. If the clock module does not respond, a message says that the device runs on its internal clock.

7. Help Menu

Use Help to report application problems, request improvements, check for updates, and view application information.

Report a Bug, Request an Improvement, Check for Updates, and About

Marker Item Action
① Report a Bug Send a problem description and diagnostics.
② Request an Improvement Send a requested feature or improvement.
③ Check for Updates Check whether a new update can be installed.
④ About Display application information.

Bug description, diagnostics, and optional attachments

Marker Screen area Action
① Problem description Describe the problem and how to reproduce it.
② Basic diagnostics Review the attached application version, operating system, and logs.
③ Optional attachments Optionally attach the current project, a screenshot, and contact information.
④ Send or Cancel Send the report or close the window.

A bug report sent from Report a Bug always includes basic diagnostics containing the application version, operating system, and logs. The current project, screenshot, and contact information are optional.

Request an Improvement can optionally include a screenshot and contact information. It does not attach basic diagnostics or the current project.

If submission fails, the report is kept in the application outbox for another attempt. Failure to prepare one attachment does not prevent the remaining content from being sent.

Check for Updates contacts the update server. The application reports when it is current and offers Update Now and Later when an update is available. Update Now restarts the application after installation, so save the project first.

MPINO Studio 2 also checks for updates once when it starts. If an update is available, the same update window opens. A failed automatic check is not reported.

Select About to view the current application information.

Press the ? button in a window title bar, or F1, to open the online user manual section that describes the current window. The section opens in your default browser, in the application language. When no window is open, F1 opens Phase 3 · Ladder Editing Basics in the ladder editor, Phase 5 · Editing Arduino Code in the Arduino Code editor, and the first page of the user manual anywhere else. If the user manual cannot be opened, a notification shows the address that was to be opened.

Among the menu shortcuts below, only Toggle Monitoring can be changed in the Shortcuts preferences. The other menu shortcuts cannot be changed there.

Function Default shortcut
New Ctrl + N
Open Ctrl + O
Save Ctrl + S
Save As Ctrl + Shift + S
Print Ctrl + P
Toggle Sidebar Ctrl + B
Toggle Panel Ctrl + J
Toggle Monitoring Ctrl + M
Build Ctrl + R
Upload Ctrl + U
Memory Area Settings Ctrl + Shift + M
Ladder Design Settings Ctrl + Shift + D
Ladder Pin Map Settings Ctrl + Shift + P
Used Memory Ctrl + Shift + L
EEPROM Retain Ctrl + Shift + E

9. Troubleshooting

Symptom Check Action
A changed preference is not visible. The tab and its apply timing Select Save for Ladder Design; rebuild and upload after changing the monitoring port.
A shortcut runs another function. Conflicting shortcuts Change or reset one of the conflicting shortcuts.
Ladder Design cannot be saved. Color format and numeric ranges Enter colors as #RRGGBB and keep numbers within the displayed ranges.
Communication settings do not affect the board. Protocol, channel, and build state Select an active protocol, then rebuild and upload.
A memory Write button is disabled. Value and address Enter a value and correct the address for the current board.
Write All stops partway through. The first row showing an error Correct that row and run Write All again.
Pin addresses are incorrect after a board change. Current board and Ladder Pin Map Settings Check the addresses in Settings → Ladder Pin Map Settings and rebuild.
EEPROM Retain cannot be saved. Memory range, overlap, capacity, and Power detect pin Correct the indicated fields and select a power-detect pin for Option 2.
Nothing appears on the LCD. CSCR condition, LCD response, and uploaded program Check that the left condition of CSCR turns ON and whether Device display in the CLCD Screen Editor window shows LCD not responding, then build and upload again with the changed screens.
Update checking fails. Internet and update-server connection Check the network connection and try again.

← Phase 6 · Serial and Ladder Monitoring | Phase 8 · Activity Bar and Side Panels → | Back to the MPINO STUDIO 2 User Manual

en-us_products/mpino_studio2/menus_settings.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki