|
1 | 1 | ---
|
2 |
| -title: If you're having trouble connecting a device to PLC IDE |
| 2 | +title: "If you're having trouble connecting a device to PLC IDE" |
3 | 3 | id: 8824551178780
|
4 | 4 | ---
|
5 | 5 |
|
6 | 6 | ## Check this first
|
7 | 7 |
|
8 |
| -* If you haven't done so, start by checking the [Arduino PLC IDE Setup and Board's License Activation](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#instructions) tutorial. |
9 |
| -* Make sure you've installed the latest version of the **Arduino PLC IDE** software. |
10 |
| -* Make sure you're using a working USB cable that supports data transfer. |
11 |
| -* When downloading the runtime, or connecting to the device, make sure you're [targeting the correct port](#about-ports). |
12 |
| -* When opening a project created with an earlier version of the PLC IDE, some issues may occur. Try creating a new project (**File > New Project**) to see if this resolve the issue. |
13 |
| -* You need **valid license** to download code to the device: |
14 |
| - * Licenses for Portenta Machine Control are [available in the store](https://store.arduino.cc/products/plc-key-portenta-machine-control). Instructions for license activation [are available here](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#6-license-activation-with-product-key-portenta-machine-control). |
15 |
| - * Arduino Opta is a pre-licensed product, just follow the [activation instructions](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#7-license-activation-with-pre-licensed-products-opta). |
| 8 | +- If you haven't done so, start by checking the [Arduino PLC IDE Setup and Board's License Activation](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#instructions) tutorial. |
16 | 9 |
|
17 |
| ---- |
| 10 | +- Ensure you've installed the latest version of the **Arduino PLC IDE** software. |
18 | 11 |
|
19 |
| -<a id="about-ports"></a> |
| 12 | +- Ensure you use a USB cable that supports data transfer. |
20 | 13 |
|
21 |
| -## About port selection |
| 14 | +- When downloading the runtime, or connecting to the device, ensure you're [targeting the correct port](#about-ports). |
22 | 15 |
|
23 |
| -It's important to understand which ports to target when configuring your PLC device connection. |
| 16 | +- When opening a project created with an earlier version of the PLC IDE, some issues may occur. Try creating a new project (**File > New Project**) to see if this resolves the issue. |
| 17 | + |
| 18 | +- You need **valid license** to download the code to the device: |
24 | 19 |
|
25 |
| -### List of ports |
| 20 | + - Licenses for Portenta Machine Control are [available in the store](https://store.arduino.cc/products/plc-key-portenta-machine-control). Instructions for license activation [are available here](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#6-license-activation-with-product-key-portenta-machine-control). |
26 | 21 |
|
27 |
| -#### Physical serial port (default) |
| 22 | + - Arduino Opta is a pre-licensed product, just follow the [activation instructions](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#7-license-activation-with-pre-licensed-products-opta). |
28 | 23 |
|
29 |
| -Initially, only this port will be available. Target this port when [downloading the runtime](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#4-download-the-runtime). |
| 24 | +--- |
30 | 25 |
|
31 |
| -#### Virtual serial port (created by runtime) |
| 26 | +## About port selection |
32 | 27 |
|
33 |
| -When the runtime has been downloaded to your device, an additional (virtual) port will appear. Because the virtual port is created after the serial port, it will usually have a **higher port number**. Target this port when [configuring the Modbus communication](https://docs.arduino.cc/software/plc-ide/tutorials/plc-ide-setup-license#5-connect-to-the-device). |
| 28 | +It's important to understand which ports to target when configuring your PLC device connection. |
34 | 29 |
|
35 | 30 | ### How to identify which ports belong to your device
|
36 | 31 |
|
@@ -106,4 +101,5 @@ When downloading the runtime sketch, this error may appear in the console:
|
106 | 101 | ```
|
107 | 102 |
|
108 | 103 | It can occur if the wrong port is selected in the manual sketch download widget. If you're unsure which port to use, see [About ports in PLC IDE](#about-ports).
|
| 104 | + |
109 | 105 | <!-- markdownlint-disable-file HC001 -->
|
0 commit comments