You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md
+19-17Lines changed: 19 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,20 +3,25 @@ title: If you're having trouble connecting a device to PLC IDE
3
3
id: 8824551178780
4
4
---
5
5
6
-
## Check this first
6
+
## Essential Pre-Setup Checklist
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.
11
+
12
+
- Ensure you use a USB cable that supports data transfer.
13
+
14
+
- When downloading the runtime, or connecting to the device, ensure you're [targeting the correct port](#about-ports).
15
+
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:
19
+
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).
18
21
19
-
<aid="about-ports"></a>
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).
23
+
24
+
---
20
25
21
26
## About port selection
22
27
@@ -28,10 +33,6 @@ It's important to understand which ports to target when configuring your PLC dev
28
33
29
34
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).
30
35
31
-
#### Virtual serial port (created by runtime)
32
-
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).
34
-
35
36
### How to identify which ports belong to your device
36
37
37
38
If other devices connected to your computer have open serial ports, you need to determine which ports belong to your PLC device:
@@ -40,7 +41,7 @@ If other devices connected to your computer have open serial ports, you need to
40
41
1. Select **Project > Refresh current target** to refresh the list of ports.
41
42
1. Open the runtime sketch download port menu, and take note of the available ports.
1. Again, select **Project > Refresh current target** to refresh the list of ports.
@@ -53,7 +54,7 @@ You can also use the **Device Manger** in Windows:
53
54
1. Look for an **Arduino Opta** or **Portenta H7 MCUboot** container.
54
55
1. Click to expand the container:
55
56
56
-

57
+

57
58
58
59
1. Look for **USB Serial Device** items, and note the port names.
59
60
@@ -106,4 +107,5 @@ When downloading the runtime sketch, this error may appear in the console:
106
107
```
107
108
108
109
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).
0 commit comments