en-us_guide:getting_started
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_guide:getting_started [2026/09/15 10:54] – external edit 127.0.0.1 | en-us_guide:getting_started [2026/09/15 15:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Getting Started with Arduino IDE ====== | ====== Getting Started with Arduino IDE ====== | ||
| - | This guide explains how to upload the first program and check digital I/O on every MPINO and MPAINO model. Read the model name on the product label, then find its Arduino IDE board name in the table below. | + | This guide explains how to install Arduino IDE and the ILOGICS boards, |
| - | ===== 1. Find the Settings for Your Product ===== | + | ===== 1. Install Arduino IDE and the ILOGICS Boards ===== |
| - | + | ||
| - | The board name and I/O numbers depend on the product. Find your model below and use the settings shown for it. R identifies a relay-output model; T identifies a SINK transistor-output model. | + | |
| - | + | ||
| - | ==== MPAINO-8A8R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-16A16R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-16A32R ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-24A24R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-32A16R ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-32A32R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-48A48R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPAINO-64A64R(T) ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-8A4R(T)-S ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-8A4R-SU ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-8A8R(T)-S ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-16A16R ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-8A8R ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-16A8R ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ==== MPINO-16A8R8T ==== | + | |
| - | + | ||
| - | ^ Product ^ Board and I/O settings ^ | + | |
| - | | [[en-us_products: | + | |
| - | + | ||
| - | ===== 2. Install Arduino IDE and the ILOGICS Boards ===== | + | |
| {{ : | {{ : | ||
| Line 96: | Line 17: | ||
| The ILOGICS SDK configures digital I/O directions automatically. These examples do not need a separate '' | The ILOGICS SDK configures digital I/O directions automatically. These examples do not need a separate '' | ||
| - | ===== 3. Connect the Product and Find the COM Port ===== | + | ===== 2. Connect the Product and Find the COM Port ===== |
| Disconnect output loads before the first upload. Check the product page for the power specification and R (relay) or T (transistor) output type. | Disconnect output loads before the first upload. Check the product page for the power specification and R (relay) or T (transistor) output type. | ||
| Line 108: | Line 29: | ||
| ==== MPINO-16A8R ==== | ==== MPINO-16A8R ==== | ||
| - | - Connect the PC to the product' | + | - Connect the PC to the product' |
| - In Device Manager, note the COM number shown for '' | - In Device Manager, note the COM number shown for '' | ||
| - If the port does not appear, install the [[https:// | - If the port does not appear, install the [[https:// | ||
| Line 114: | Line 35: | ||
| ==== Other MPINO Models ==== | ==== Other MPINO Models ==== | ||
| - | - Connect the PC to the product' | + | - Connect the PC to the product' |
| - In Device Manager, note the COM number shown for '' | - In Device Manager, note the COM number shown for '' | ||
| - If the port does not appear, install the [[https:// | - If the port does not appear, install the [[https:// | ||
| - | ===== 4. Select the Board and Port ===== | + | ===== 3. Select the Board and Port ===== |
| - | Open **Select other board and port…** from the board selector at the top of Arduino IDE. The product name in the figure is only an example of the selection method. | + | Find the board name in the [[: |
| {{ : | {{ : | ||
| Line 127: | Line 48: | ||
| ^ No. ^ Selection ^ | ^ No. ^ Selection ^ | ||
| - | | **1** | Enter the board name from section 1 in the **BOARDS** search field. | | + | | **1** | In the **BOARDS** search field, enter the board name shown in the product-family table. | |
| | **2** | Select the result with the exact same name. R and T products grouped together use the common board name containing '' | | **2** | Select the result with the exact same name. R and T products grouped together use the common board name containing '' | ||
| Line 146: | Line 67: | ||
| You can also select the same items from **Tools → Board** and then **Tools → Port**. | You can also select the same items from **Tools → Board** and then **Tools → Port**. | ||
| - | ===== 5. Blink the First Output ===== | + | ===== 4. Blink the First Output ===== |
| - | Find your model' | + | Find the first I/O numbers for your model in the product-family table, then use the example |
| A relay output can be checked by its operating sound. To check a transistor output, switch off power and connect a test load according to the output-wiring section on the product page. | A relay output can be checked by its operating sound. To check a transistor output, switch off power and connect a test load according to the output-wiring section on the product page. | ||
| Line 155: | Line 76: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t OUTPUT_CHANNEL = 64; // first MPAINO output | + | // first MPAINO output |
| + | const uint8_t OUTPUT_CHANNEL = 64; | ||
| void setup() {} | void setup() {} | ||
| Line 172: | Line 94: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t OUTPUT_CHANNEL = 32; | + | // first output on these MPINO models |
| + | const uint8_t OUTPUT_CHANNEL = 32; | ||
| void setup() {} | void setup() {} | ||
| Line 189: | Line 112: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t OUTPUT_CHANNEL = 62; | + | // relay output R(62) |
| + | const uint8_t OUTPUT_CHANNEL = 62; | ||
| void setup() {} | void setup() {} | ||
| Line 204: | Line 128: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t OUTPUT_CHANNEL = 39; | + | // relay output R(39) |
| + | const uint8_t OUTPUT_CHANNEL = 39; | ||
| void setup() {} | void setup() {} | ||
| Line 216: | Line 141: | ||
| </ | </ | ||
| - | ===== 6. Control the Output with the First Input ===== | + | ===== 5. Control the Output with the First Input ===== |
| Switch off power before wiring the input and COM. Turn the input on and off and check that the output follows it. Use the **Digital Inputs** and **Output** sections of your product page to identify the terminals and COM. | Switch off power before wiring the input and COM. Turn the input on and off and check that the output follows it. Use the **Digital Inputs** and **Output** sections of your product page to identify the terminals and COM. | ||
| Line 223: | Line 148: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t INPUT_CHANNEL = 0; // first MPAINO input | + | // first MPAINO input |
| + | const uint8_t INPUT_CHANNEL = 0; | ||
| const uint8_t OUTPUT_CHANNEL = 64; | const uint8_t OUTPUT_CHANNEL = 64; | ||
| Line 237: | Line 163: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t INPUT_CHANNEL = 0; // first input on these MPINO models | + | // first input on these MPINO models |
| + | const uint8_t INPUT_CHANNEL = 0; | ||
| const uint8_t OUTPUT_CHANNEL = 32; | const uint8_t OUTPUT_CHANNEL = 32; | ||
| Line 251: | Line 178: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t INPUT_CHANNEL = 22; // input I(22) | + | // input I(22) |
| + | const uint8_t INPUT_CHANNEL = 22; | ||
| const uint8_t OUTPUT_CHANNEL = 62; | const uint8_t OUTPUT_CHANNEL = 62; | ||
| Line 265: | Line 193: | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t INPUT_CHANNEL = 22; // input I(22) | + | // input I(22) |
| + | const uint8_t INPUT_CHANNEL = 22; | ||
| const uint8_t OUTPUT_CHANNEL = 39; | const uint8_t OUTPUT_CHANNEL = 39; | ||
| Line 276: | Line 205: | ||
| </ | </ | ||
| - | ===== 7. If Something Goes Wrong ===== | + | ===== 6. If Something Goes Wrong ===== |
| ^ Symptom ^ What to check ^ | ^ Symptom ^ What to check ^ | ||
| - | | The model is missing from the board results | Confirm that '' | + | | The model is missing from the board results | Confirm that '' |
| | No COM port appears in Device Manager | Use section 3 to check the connection and driver for your product. MPINO-16A8R does not use the MP Download Cable. | | | No COM port appears in Device Manager | Use section 3 to check the connection and driver for your product. MPINO-16A8R does not use the MP Download Cable. | | ||
| | Verify reports an error | Check that the selected board matches the product and the code was entered correctly. Start with the first error shown in the output panel. | | | Verify reports an error | Check that the selected board matches the product and the code was entered correctly. Start with the first error shown in the output panel. | | ||
| | Upload fails | Confirm that Device Manager and Arduino IDE show the same COM number. Check the cable connection and product power. | | | Upload fails | Confirm that Device Manager and Arduino IDE show the same COM number. Check the cable connection and product power. | | ||
| - | | Upload succeeds but the output does not change | Recheck the first output number and R/T output type in section 1. A transistor output needs a wired test load to show its state. | | + | | Upload succeeds but the output does not change | Recheck the first output number |
| - | | The output does not follow the input | Recheck the first input number and the input-to-COM wiring on the product page. | | + | | The output does not follow the input | Recheck the first input number |
| ===== Next Documents ===== | ===== Next Documents ===== | ||
| - | * [[en-us_guide: | + | * [[en-us_guide: |
| * [[en-us_commands: | * [[en-us_commands: | ||
| * [[: | * [[: | ||
en-us_guide/getting_started.1789437245.txt.gz · Last modified: by 127.0.0.1
