en-us_products:mpino_studio2:menus_settings

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en-us_products:mpino_studio2:menus_settings [2026/09/12 21:42] – 바깥 편집 127.0.0.1en-us_products:mpino_studio2:menus_settings [2026/11/17 17:59] (current) – external edit 127.0.0.1
Line 13: Line 13:
 ^ Marker ^ Menu ^ Use it for ^ ^ Marker ^ Menu ^ Use it for ^
 | **①** | File | Creating, opening, saving, and printing projects; opening Preferences; quitting the application | | **①** | File | Creating, opening, saving, and printing projects; opening Preferences; quitting the application |
-| **②** | Edit | Undoing, cutting, copying, pasting, and deleting ladder cells |+| **②** | Edit | Undoing and redoing edits; cutting, copying, pasting, and deleting ladder cells |
 | **③** | View | Showing or hiding the sidebar, bottom panel, and ladder monitoring | | **③** | View | Showing or hiding the sidebar, bottom panel, and ladder monitoring |
-| **④** | Run | Building, uploading, configuring communications, and writing memory values | +| **④** | 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, and EEPROM retention |+| **⑤** | 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 | | **⑥** | Help | Reporting bugs, requesting improvements, checking for updates, and viewing application information |
  
Line 56: Line 56:
 ==== General ==== ==== General ====
  
-Use **General** to configure the user library folder, platform folder, application language, and automatic error reporting.+Use **General** to configure the user library folder, platform folder, application language, verification after upload, and automatic error reporting.
  
-{{ :en-us_products:mpino_studio2:settings-general-marked.svg?1000 |User Library Folder, Platform Folder, Language, and Error reporting settings }}+{{ :en-us_products:mpino_studio2:settings-general-marked.svg?1000 |User Library Folder, Platform Folder, Language, Verify after upload, and Error reporting settings }}
  
 ^ Marker ^ Item ^ Action ^ ^ Marker ^ Item ^ Action ^
Line 64: Line 64:
 | **②** | Platform Folder | Open the ILOGICS board-core and toolchain folder used for builds and completion. | | **②** | Platform Folder | Open the ILOGICS board-core and toolchain folder used for builds and completion. |
 | **③** | Language | Select 한국어, English, or 日本語. | | **③** | Language | Select 한국어, English, or 日本語. |
-| **④** | Send error reports automatically | Choose whether diagnostics are sent after crashes and errors. |+| **④** | 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. 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. 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 [[#reset_program_and_eeprom|program and EEPROM resets]], and [[#create_a_program_uploader|program uploaders]] created afterward carry the same setting.
  
 ==== Shortcuts ==== ==== Shortcuts ====
  
-Use **Shortcuts** to change 16 shortcuts for ladder tools, cell and row editing, and monitoring.+Use **Shortcuts** to change 18 shortcuts for ladder tools, cell and row editing, monitoring, symbols, and opening the user manual.
  
 {{ :en-us_products:mpino_studio2:settings-shortcuts-marked.svg?1000 |Shortcut change, reset, and conflict areas }} {{ :en-us_products:mpino_studio2:settings-shortcuts-marked.svg?1000 |Shortcut change, reset, and conflict areas }}
  
 ^ Marker ^ Screen area ^ Action or configurable function ^ ^ Marker ^ Screen area ^ Action or configurable function ^
-| **①** | Reset all to defaults | Restore all 16 customized shortcuts to their defaults. |+| **①** | 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. | | **②** | 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. | | **③** | Change or reset one item | Change the selected shortcut or restore its default. |
 | - | Monitoring | Toggle Monitoring | | - | 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 | | - | 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 | | - | Structure editing | Insert or delete cells, and add or delete rows |
Line 111: Line 116:
 | **②** | Symbol only | Show the symbol when one exists, and the address otherwise. | 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 | | **③** | 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 two or more output coils use the same address. | 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 | | **⑤** | 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 | | **⑥** | Monitoring port | Select the board serial channel that sends ladder-monitoring data. | Current project |
Line 157: Line 162:
  
 ^ Marker ^ Edit item ^ Default shortcut ^ Action ^ ^ Marker ^ Edit item ^ Default shortcut ^ Action ^
-| **①** | Undo | ''Ctrl + Z'' | Undo the most recent ladder edit. | +| **①** | Undo | ''Ctrl + Z'' | Undo the most recent edit. | 
-| **②** | Cut | ''Ctrl + X'' | Copy the selected ladder cells and clear the originals. | +| **②** | Redo | ''Ctrl + Y'' | Redo the edit that was undone. | 
-| **③** | Copy | ''Ctrl + C'' | Copy the selected ladder cells. | +| **③** | Cut | ''Ctrl + X'' | Copy the selected ladder cells and clear the originals. | 
-| **④** | Paste | ''Ctrl + V'' | Paste copied cells at the current selection. | +| **④** | Copy | ''Ctrl + C'' | Copy the selected ladder cells. | 
-| **⑤** | Delete | ''Delete'' | Clear 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 ^ ^ Marker ^ View item ^ Default shortcut ^ Action ^
-| **⑥** | Toggle Sidebar | ''Ctrl + B'' | Show or hide the left sidebar. | +| **⑦** | Toggle Sidebar | ''Ctrl + B'' | Show or hide the left sidebar. | 
-| **⑦** | Toggle Panel | ''Ctrl + J'' | Show or hide the bottom panel below the editor. | +| **⑧** | Toggle Panel | ''Ctrl + J'' | Show or hide the bottom panel below the editor. | 
-| **⑧** | Toggle Monitoring | ''Ctrl + M'' | Start or stop ladder monitoring. |+| **⑨** | 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. 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** always undoes the most recent ladder edit, regardless of the active tab. To undo Arduino Code text, place focus in the code editor and press ''Ctrl + Z''.+**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 [[en-us_products:mpino_studio2:ladder_editing#insert_delete_and_copy_cells|Phase 3 · Insert, Delete, and Copy Cells]], [[en-us_products:mpino_studio2:code_editor|Phase 5 · Editing Arduino Code]], and [[en-us_products:mpino_studio2:monitoring|Phase 6 · Serial and Ladder Monitoring]]. See [[en-us_products:mpino_studio2:ladder_editing#insert_delete_and_copy_cells|Phase 3 · Insert, Delete, and Copy Cells]], [[en-us_products:mpino_studio2:code_editor|Phase 5 · Editing Arduino Code]], and [[en-us_products:mpino_studio2:monitoring|Phase 6 · Serial and Ladder Monitoring]].
Line 176: Line 182:
 ===== 5. Run Menu ===== ===== 5. Run Menu =====
  
-Use **Run** to build and upload the project and to open communication and memory-write functions.+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.
  
-{{ :en-us_products:mpino_studio2:menu-run-marked.svg?1000 |Build, Upload, Communication, and Memory Write List in the Run menu }}+{{ :en-us_products:mpino_studio2:menu-run-marked.svg?1000 |Ten items in the Run menu }}
  
 ^ Marker ^ Item ^ Default shortcut ^ Action ^ ^ Marker ^ Item ^ Default shortcut ^ Action ^
 | **①** | Build | ''Ctrl + R'' | Transpile and compile the current editor content. | | **①** | Build | ''Ctrl + R'' | Transpile and compile the current editor content. |
 | **②** | Upload | ''Ctrl + U'' | Build the current content and upload it through the selected port. | | **②** | Upload | ''Ctrl + U'' | Build the current content and upload it through the selected port. |
-| **③** | Cancel Upload | - | Stop an upload in progress. | +| **③** | Reset Program... | - | Replace the program on the board with an empty program. | 
-| **④** | Communication | - | Configure serial communication channels on the board. | +| **④** | Reset EEPROM... | - | Erase the board's EEPROM and also replace the program with an empty program. | 
-| **⑤** | Memory Write List | - | View and change memory values on the running board. |+| **⑤** | 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|Reset Program and EEPROM]] for **Reset Program...** and **Reset EEPROM...**, [[#create_a_program_uploader|Create a Program Uploader]] for **Create Program Uploader...**, and [[#set_device_clock|Set Device Clock]] for **Set Device Clock**. **Write Value to Arduino** in the Run menu opens the popup with an empty address field. See [[en-us_products:mpino_studio2:ladder_editing#write_a_value_to_memory|Phase 3 · Write a Value to Memory]] for how to use the popup.
  
 See [[en-us_products:mpino_studio2:first_project#build_the_project|Phase 1 · Build the Project]] for building, port selection, and upload. See [[en-us_products:mpino_studio2:first_project#build_the_project|Phase 1 · Build the Project]] for building, port selection, and upload.
Line 197: Line 210:
 ^ Marker ^ Item ^ Setting ^ ^ Marker ^ Item ^ Setting ^
 | **①** | Channel | ''Serial1'', ''Serial2'', and ''Serial3'' channels provided by the board | | **①** | Channel | ''Serial1'', ''Serial2'', and ''Serial3'' channels provided by the board |
-| **②** | Protocol | None, Modbus RTU Slave, or LS Electric Cnet Slave |+| **②** | Protocol | None, Modbus RTU Slave, LS Electric Cnet Slave, MPLINK Master, MPLINK Slave, or Modbus RTU Master |
 | **③** | Slave ID | 1–247 | | **③** | Slave ID | 1–247 |
 | **④** | Baud Rate | Baud used by the channel | | **④** | Baud Rate | Baud used by the channel |
Line 206: Line 219:
 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. 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 RTU Master** and **Modbus TCP/IP** are shown as coming-soon items and cannot be selected.+**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. 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 [[en-us_products:mpino_studio2:monitoring#port_sharing|Phase 6 · Port Sharing]]. If Arduino Code, Communication, and ladder monitoring share one channel, a conflict notice appears before upload. See [[en-us_products:mpino_studio2:monitoring#port_sharing|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 [[en-us_products:mpino_studio2:monitoring#comm_trace|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|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 [[#option_modules_and_serial_rx_buffers|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 [[en-us_products:mpino_studio2:box_functions:timer#timer_unit_settings|Phase 4-1 · Timer Unit Settings]].
 +
 +For worked Modbus examples and a test from a PC, see [[:en-us_guide:hmi_connection:studio2:modbus_addresses|Finding and Testing Modbus Addresses]].
  
 ==== Memory Write List ==== ==== Memory Write List ====
  
-Select **Run → Memory Write List** to inspect and change ''M, D, C, T, and R'' values on the running board. The window can remain open while the ladder is edited.+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.
  
 {{ :en-us_products:mpino_studio2:memory-write-list-marked.svg?1000 |Address input, Current, Value, row Write, and Write All }} {{ :en-us_products:mpino_studio2:memory-write-list-marked.svg?1000 |Address input, Current, Value, row Write, and Write All }}
  
 ^ Marker ^ Screen area or function ^ Action ^ ^ Marker ^ Screen area or function ^ Action ^
-| **①** | Monitoring connection | Connect ladder monitoring first and check its current connection state. |+| **①** | 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''. | | **②** | 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. | | **③** | 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. | | **④** | 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 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. 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.+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. The list is project data. Save with ''Ctrl + S'' to keep it when the project is reopened.
Line 232: Line 286:
  
 See [[en-us_products:mpino_studio2:memory|Phase 2 · Understand Memory]] for address and data formats and [[en-us_products:mpino_studio2:monitoring#start_and_stop_ladder_monitoring|Phase 6 · Start and Stop Ladder Monitoring]] for the connection. See [[en-us_products:mpino_studio2:memory|Phase 2 · Understand Memory]] for address and data formats and [[en-us_products:mpino_studio2:monitoring#start_and_stop_ladder_monitoring|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|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.
 +
 +  - Select **Run → Create Program Uploader...**.
 +  - Choose the folder in which to save the uploader. For a saved project, the folder containing the project file opens first.
 +  - 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.
 +
 +{{ :en-us_products:mpino_studio2:program-uploader-marked.svg?1000 |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|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 ===== ===== 6. Settings Menu =====
  
-Use **Settings** to open memory, pin-map, board, and EEPROM settings for the current project. **Ladder Design Settings** opens the application-wide Ladder Design preferences.+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.
  
-{{ :en-us_products:mpino_studio2:menu-settings-marked.svg?1000 |Six items in the Settings menu }}+{{ :en-us_products:mpino_studio2:menu-settings-marked.svg?1000 |Eight items in the Settings menu }}
  
 ^ Marker ^ Item ^ Default shortcut ^ Saved for ^ Description ^ ^ 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. |+| **①** | 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 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. | | **③** | Ladder Pin Map Settings | ''Ctrl + Shift + P'' | Current project | Edit the mapping between board pins and ladder addresses. |
Line 246: Line 338:
 | **⑤** | Used Memory | ''Ctrl + Shift + L'' | View only | Find memory addresses and their references in the 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. | | **⑥** | 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 [[en-us_products:mpino_studio2:memory#memory_regions|Phase 2 · Memory Regions]] for Memory Area Settings and Used Memory. See [[#ladder_design|Ladder Design]] above for design settings.+See [[en-us_products:mpino_studio2:memory#memory_regions|Phase 2 · Memory Regions]] for Memory Area Settings and Used Memory. See [[en-us_products:mpino_studio2:box_functions:timer#timer_unit_settings|Phase 4-1 · Timer Unit Settings]] for the **Timer units** selected at the bottom of the Memory Area Settings window. See [[#ladder_design|Ladder Design]] above for design settings, and [[#clcd_screen_editor|CLCD Screen Editor]] and [[#rtc_clock_settings|RTC (Clock) Settings]] below for the CLCD and the RTC.
  
 ==== Change Board ==== ==== Change Board ====
Line 263: Line 357:
  
 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. 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) |
 +
 +{{ :en-us_products:mpino_studio2:board-select-modules-marked.svg?1000 |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|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 ==== ==== Ladder Pin Map Settings ====
Line 279: Line 404:
  
 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. 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. 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. 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 [[en-us_products:mpino_studio2:memory#c_area_and_board_pin_mapping|Phase 2 · C Area and Board Pin Mapping]] for mapped memory and analog-output behavior. See [[en-us_products:mpino_studio2:memory#c_area_and_board_pin_mapping|Phase 2 · C Area and Board Pin Mapping]] for mapped memory and analog-output behavior.
Line 308: Line 441:
  
 Settings cannot be saved when a memory range exceeds the current project, EEPROM ranges overlap, or the usable capacity is exceeded. 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. **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.
Line 314: Line 449:
  
 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. 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.
 +
 +{{ :en-us_products:mpino_studio2:clcd-settings-marked.svg?1000 |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.
 +
 +{{ :en-us_products:mpino_studio2:clcd-field-tab-marked.svg?1000 |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.
 +
 +{{ :en-us_products:mpino_studio2:clcd-user-chars-marked.svg?1000 |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.
 +
 +{{ :en-us_products:mpino_studio2:clcd-char-table-marked.svg?1000 |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.
 +
 +{{ :products:mpino_studio2:cscr-ladder-marked.svg?1000 |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 [[en-us_products:mpino_studio2:box_functions#box_function_list|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.
 +
 +{{ :en-us_products:mpino_studio2:rtc-settings-marked.svg?1000 |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|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.
 +
 +{{ :en-us_products:mpino_studio2:rtc-sync-marked.svg?1000 |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 ===== ===== 7. Help Menu =====
Line 342: Line 648:
  
 **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. **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. 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 [[en-us_products:mpino_studio2:ladder_editing|Phase 3 · Ladder Editing Basics]] in the ladder editor, [[en-us_products:mpino_studio2:code_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.
  
 ===== 8. Menu and Settings Shortcuts ===== ===== 8. Menu and Settings Shortcuts =====
Line 373: Line 683:
 | Ladder Design cannot be saved. | Color format and numeric ranges | Enter colors as ''#RRGGBB'' and keep numbers within the displayed ranges. | | 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. | | 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. | Monitoring connection, address, and value | Connect ladder monitoring and correct the address and value for the current board. |+| 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. | | 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. | | 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. | | 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. | | Update checking fails. | Internet and update-server connection | Check the network connection and try again. |
  
en-us_products/mpino_studio2/menus_settings.1789216936.txt.gz · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki