From 5ee4d7a9aa9b74d86d07c917ddcfdf9a41811794 Mon Sep 17 00:00:00 2001 From: alexandra <83598143+gorillagripcore@users.noreply.github.com> Date: Thu, 8 Aug 2024 16:59:50 +0200 Subject: [PATCH 1/4] Update If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md --- ...-trouble-connecting-a-device-to-PLC-IDE.md | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md index 9655e3e1..9b81fada 100644 --- a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md +++ b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md @@ -3,20 +3,25 @@ title: If you're having trouble connecting a device to PLC IDE id: 8824551178780 --- -## Check this first +## Essential Pre-Setup Checklist -* 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. -* Make sure you've installed the latest version of the **Arduino PLC IDE** software. -* Make sure you're using a working USB cable that supports data transfer. -* When downloading the runtime, or connecting to the device, make sure you're [targeting the correct port](#about-ports). -* 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. -* You need **valid license** to download code to the device: - * 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). - * 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). +- 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. ---- +- Ensure you've installed the latest version of the **Arduino PLC IDE** software. + +- Ensure you use a USB cable that supports data transfer. + +- When downloading the runtime, or connecting to the device, ensure you're [targeting the correct port](#about-ports). + +- 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. + +- You need **valid license** to download the code to the device: + + - 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). - + - 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). + +--- ## About port selection @@ -28,10 +33,6 @@ It's important to understand which ports to target when configuring your PLC dev 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). -#### Virtual serial port (created by runtime) - -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). - ### How to identify which ports belong to your device 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 1. Select **Project > Refresh current target** to refresh the list of ports. 1. Open the runtime sketch download port menu, and take note of the available ports. - ![The runtime download widget.](img/plc-ide-runtime-ports.png) +![The runtime download widget.](img/plc-ide-runtime-ports.png) 1. Connect your PLC device. 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: 1. Look for an **Arduino Opta** or **Portenta H7 MCUboot** container. 1. Click to expand the container: - ![Arduino Opta ports in Device Manager.](img/device-manager.png) +![Arduino Opta ports in Device Manager.](img/device-manager.png) 1. Look for **USB Serial Device** items, and note the port names. @@ -106,4 +107,5 @@ When downloading the runtime sketch, this error may appear in the console: ``` 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). + From edaf050da224d640fddcd48c5c85e2f73000650b Mon Sep 17 00:00:00 2001 From: alexandra <83598143+gorillagripcore@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:45:27 +0200 Subject: [PATCH 2/4] Update If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md --- ...f-youre-having-trouble-connecting-a-device-to-PLC-IDE.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md index 9b81fada..1f9b98ba 100644 --- a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md +++ b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md @@ -27,12 +27,6 @@ id: 8824551178780 It's important to understand which ports to target when configuring your PLC device connection. -### List of ports - -#### Physical serial port (default) - -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). - ### How to identify which ports belong to your device If other devices connected to your computer have open serial ports, you need to determine which ports belong to your PLC device: From d383ecb7ad6fda9a87b1f69c645db06d1b6c2d97 Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:50:47 +0200 Subject: [PATCH 3/4] Add quotes to title --- .../If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md index 1f9b98ba..2534fea1 100644 --- a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md +++ b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md @@ -1,5 +1,5 @@ --- -title: If you're having trouble connecting a device to PLC IDE +title: "If you're having trouble connecting a device to PLC IDE" id: 8824551178780 --- From 4a63f2b45ed75bf1560ed417a930352e12dca86d Mon Sep 17 00:00:00 2001 From: alexandra <83598143+gorillagripcore@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:40:57 +0200 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: seaxwi <71350948+seaxwi@users.noreply.github.com> --- ...f-youre-having-trouble-connecting-a-device-to-PLC-IDE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md index 2534fea1..6c25d96b 100644 --- a/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md +++ b/content/Software Support/PLC IDE/If-youre-having-trouble-connecting-a-device-to-PLC-IDE.md @@ -3,7 +3,7 @@ title: "If you're having trouble connecting a device to PLC IDE" id: 8824551178780 --- -## Essential Pre-Setup Checklist +## Check this first - 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. @@ -35,7 +35,7 @@ If other devices connected to your computer have open serial ports, you need to 1. Select **Project > Refresh current target** to refresh the list of ports. 1. Open the runtime sketch download port menu, and take note of the available ports. -![The runtime download widget.](img/plc-ide-runtime-ports.png) + ![The runtime download widget.](img/plc-ide-runtime-ports.png) 1. Connect your PLC device. 1. Again, select **Project > Refresh current target** to refresh the list of ports. @@ -48,7 +48,7 @@ You can also use the **Device Manger** in Windows: 1. Look for an **Arduino Opta** or **Portenta H7 MCUboot** container. 1. Click to expand the container: -![Arduino Opta ports in Device Manager.](img/device-manager.png) + ![Arduino Opta ports in Device Manager.](img/device-manager.png) 1. Look for **USB Serial Device** items, and note the port names.