en-us_products:mpino_studio2:activity_bar
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en-us_products:mpino_studio2:activity_bar [2026/09/14 12:24] – external edit 127.0.0.1 | en-us_products:mpino_studio2:activity_bar [2026/11/13 00:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| | **③** | Ladder Pin Map Settings | Separate window | Changes the LD-address-to-Arduino-pin mapping. See [[en-us_products: | | **③** | Ladder Pin Map Settings | Separate window | Changes the LD-address-to-Arduino-pin mapping. See [[en-us_products: | ||
| | **④** | Library | Left side panel | Searches, installs, removes, and imports libraries. | | | **④** | Library | Left side panel | Searches, installs, removes, and imports libraries. | | ||
| - | | **⑤** | Symbols | Movable independent window | Assigns symbols and comments to PLC memory addresses. | | + | | **⑤** | Symbols | Movable independent window | Assigns symbols and comments to PLC memory addresses. Outside input fields and the code input area, '' |
| | **⑥** | Serial Monitor | Bottom panel | Opens or closes the Serial Monitor tab. See [[en-us_products: | | **⑥** | Serial Monitor | Bottom panel | Opens or closes the Serial Monitor tab. See [[en-us_products: | ||
| | **⑦** | Settings | Separate window | Opens Preferences. See [[en-us_products: | | **⑦** | Settings | Separate window | Opens Preferences. See [[en-us_products: | ||
| Line 40: | Line 40: | ||
| The '' | The '' | ||
| + | |||
| + | ==== Add Ladder Tabs and Call Them from loop() ==== | ||
| + | |||
| + | A project can have several ladder tabs. When you build, each ladder tab becomes a function with the same name as the tab; the '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ^ Marker ^ Item ^ Action ^ | ||
| + | | **①** | Rename | Renames the ladder tab. Calls to that ladder function in the primary code file are renamed as well. | | ||
| + | | **②** | Delete | Deletes the ladder tab after you confirm. The last ladder tab can also be deleted. | | ||
| + | | **③** | Add | Opens the **Add ladder** dialog, where you enter the name of a new ladder tab. | | ||
| + | | **④** | Add loop() | Adds a call to that ladder function (for example, '' | ||
| + | | **⑤** | Remove loop() | Removes every line in '' | ||
| + | |||
| + | A ladder tab name becomes a function name, so it must begin with an ASCII letter or '' | ||
| + | |||
| + | A call for a newly added ladder tab is not added automatically. Select **Add loop()** or write the call in Arduino Code yourself. Without a call, the build completes, but the **Problems** tab shows a warning. See [[en-us_products: | ||
| + | |||
| + | Multiple ladders run in the order in which '' | ||
| + | |||
| + | > **Caution when deleting a ladder tab:** Deleting a ladder tab does not remove calls to its function from Arduino Code. Remove the calls with **Remove loop()** before you delete the tab. | ||
| ===== 3. Ladder Settings ===== | ===== 3. Ladder Settings ===== | ||
| Line 149: | Line 170: | ||
| | Entire symbol | Cannot have address syntax or begin with '' | | Entire symbol | Cannot have address syntax or begin with '' | ||
| | Duplicates | Addresses and names must each be unique. ASCII letter case is ignored for duplicate names. | '' | | Duplicates | Addresses and names must each be unique. ASCII letter case is ignored for duplicate names. | '' | ||
| + | | Arduino Code names | A name spelled exactly like a global variable or function in a '' | ||
| {{ : | {{ : | ||
| Line 194: | Line 216: | ||
| See [[en-us_products: | See [[en-us_products: | ||
| + | |||
| + | ==== Change a Cell Address by Symbol ==== | ||
| + | |||
| + | Select a ladder cell and press '' | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ^ Marker ^ Item ^ Action ^ | ||
| + | | **①** | Address and Description | Shows the address and comment registered for the entered symbol. | | ||
| + | | **②** | Symbol name | Contains the current symbol name when the cell address has one. Typing the beginning of a name narrows the candidates. | | ||
| + | | **③** | Candidate list | Lists registered symbol names and addresses. In a box-function argument field, only symbols in the areas that field accepts appear. Select one with '' | ||
| + | | **④** | OK and Cancel | **OK** applies the selected symbol' | ||
| + | |||
| + | This dialog does not create symbols. If you enter a name that is not a candidate, “Not in the candidate list. No new symbol will be created.” appears, so register the symbol first in the [[# | ||
| + | |||
| + | You can use it for contact, coil, and edge cells, for empty cells, and in a structured box function when the cursor is in an argument field that takes an address. For cells that cannot be changed by symbol, such as comparison contacts, constants, special-bit memory, and free-form box functions, the same editor as '' | ||
| ===== 6. Troubleshooting ===== | ===== 6. Troubleshooting ===== | ||
en-us_products/mpino_studio2/activity_bar.1789356278.txt.gz · Last modified: by 127.0.0.1
