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
The **Arduino PLC IDE** offers the possibility to use **IEC IEC61131-3** programming languages (LD, SFC, FBD, ST, IL) with the **Portenta Machine Control and OptaTM**. The PLC IDE offers a wide set of standard features commonly used in industrial automation. This tutorial will show you how to connect the Portenta Machine Control and Opta to the Arduino PLC IDE, learning how to activate the software license and the basic setup to have your board up and running with the **Arduino PLC IDE**.
21
+
The **Arduino PLC IDE** offers the possibility to use **IEC IEC61131-3** programming languages (LD, SFC, FBD, ST, IL) with the **Portenta Machine Control and OptaTM**. The PLC IDE offers a wide set of standard features commonly used in industrial automation.
22
+
23
+

24
+
25
+
This tutorial will show you how to connect the Portenta Machine Control and OptaTM to the Arduino PLC IDE, learning how to activate the software license and the basic setup to have your board up and running with the **Arduino PLC IDE**.
22
26
23
27
## Goals
24
28
@@ -30,43 +34,61 @@ The **Arduino PLC IDE** offers the possibility to use **IEC IEC61131-3** program
30
34
31
35
## Required Hardware and Software
32
36
33
-
- Board compatible with the Arduino PLC IDE (Portenta Machine Control or Opta).
37
+
- Board compatible with the Arduino PLC IDE (Portenta Machine Control or OptaTM).
34
38
- Arduino PLC IDE ([Official Website](https://www.arduino.cc/pro/software-plc-ide)).
35
39
- If you have a Portenta Machine Control, you will need a unique PLC IDE License key for your device. Get your license key [here](https://store.arduino.cc/products/plc-key-portenta-machine-control).
36
-
- If you have an Opta, you do not need any license key to activate your product. Go to section __License Activation With Pre-Licensed Products (Opta)__ to know more.
40
+
- If you have an OptaTM, you do not need any license key to activate your product. Go to section __License Activation With Pre-Licensed Products (OptaTM)__ to know more.
37
41
-[Arduino IDE 1.8.10+](https://www.arduino.cc/en/software), [Arduino IDE 2](https://www.arduino.cc/en/software), [Arduino Web Editor](https://create.arduino.cc/editor) or any program with a serial monitor in case you need to retrieve the _Hardware-ID_ of your device.
38
42
39
43
***To get the Arduino PLC IDE and the PLC IDE License for your device, please visit the [Arduino software page](https://www.arduino.cc/en/software) and the [store page](https://store.arduino.cc/plc-key-portenta-machine-control).***
40
44
41
45
## Instructions
42
46
47
+
To get the Arduino PLC IDE software, go to the [official software website of the Arduino PLC IDE](https://www.arduino.cc/pro/software-plc-ide) and choose to download the PLC IDE software files. You will need two following executables:
48
+
49
+
* Arduino PLC IDE Tools
50
+
* Arduino PLC IDE
51
+
43
52

44
53
45
-
To use the Arduino PLC IDE software, go to the [Arduino PLC IDE official website](https://www.arduino.cc/pro/software-plc-ide) and click on the download button. Download the following two executables:
54
+
The software requires **Windows 10** or a newer operating system version for the x64 architecture.
55
+
56
+
The first executable file packages all the required drivers, libraries, and cores that you will need. The second executable will install the IDE software. The continuing sections will help you install the Arduino PLC IDE software properly.
57
+
58
+
### 1. Arduino PLC IDE Tools Setup
46
59
47
-
* The Arduino PLC IDE Tools
48
-
* The Arduino PLC IDE
60
+
For a proper Arduino PLC IDE setup, you will need to install all the required tools before IDE software setup.
49
61
50
-
The first one will install all the required drivers, libraries and cores that you are going to need, while the second one will install the IDE software.
62
+
When you download the Arduino PLC IDE Tools executable, the file naming scheme is as follows:
51
63
52
-
### 1. Arduino® PLCIDE Tools
64
+
`Arduino-PLC-IDE-Tools_X.X.X_Windows_64bit`
53
65
54
-
Before installing the Arduino PLC IDE you need to install all the required tools to make it work on your computer. Once you have downloaded the Arduino PLC IDE Tools executable, double-click on it and follow the installation instructions.
66
+
If you have got the correct tool package, it should follow the previous naming scheme with the `X.X.X` that represents the version of the tool package. Once you have verified and downloaded the Arduino PLC IDE Tools executable, run the installer and follow the installation instructions.
55
67
56
-
Once the installation is finished, all the required drivers, libraries and Arduino cores will be installed and ready to be used. Your computer is now ready to install the Arduino PLC IDE.
68
+
Once the installation has finished, all the required drivers, libraries, and Arduino cores will be installed and ready to be used. Your computer is now ready to install the Arduino PLC IDE.
57
69
58
-
***It is possible that during the installation some windows terminals will be opened and closed by the installation program. Do not worry about it, those windows are required by the program to install all the tools that your computer needs.***
70
+
***It is possible that during the installation, some terminal windows will pop by the installation program. Do not worry about it, these windows are required by the program to install all the tools that your computer needs.***
59
71
60
-
### 2. Arduino® PLC IDE Installation
72
+
### 2. Arduino PLC IDE Setup
61
73
62
-
Once the Arduino PLC IDE Tools are installed, double-click on the executable of the Arduino Pro IDE that you downloaded. Follow the installation instructions and, once the process is done, click on finish.
74
+
When you download the Arduino PLC IDE executable, the file naming scheme is as follows:
63
75
64
-
***In case you have any problem, perform a reboot to be sure that all the drivers, libraries, and dependencies are working and up to date.***
76
+
`Setup_Arduino PLC IDE_X.X.X.X_20230329`
65
77
66
-
Open the Arduino PLC IDE program to see the welcome screen.
78
+
If you have got the correct IDE software, it should follow the previous naming scheme with the `X.X.X` that represents the version of the IDE software and its latest version release date.
79
+
80
+
Run the Arduino PLC IDE installer after you have installed the Arduino PLC IDE Tools. If you have not installed the PLC IDE tools, please check [Arduino® PLC IDE Tools Setup section](#1-arduino-plc-ide-tools-setup) before proceeding as it needs to have the tools set before IDE software installation.
81
+
82
+
Follow the installation instructions and finish the IDE setup process.
83
+
84
+
***If you have any problem, try rebooting your computer to ensure that all the drivers, libraries, and dependencies are applied and up to date.***
85
+
86
+
Once the setup is complete, open the Arduino PLC IDE program, and the welcome screen will greet you.
67
87
68
88

69
89
90
+
The following sections will guide you to create a project, download the runtime, and properly interface the Portenta Machine Control or OptaTM with its dedicated license activation procedure.
91
+
70
92
### 3. Project Setup
71
93
72
94
Create a new project by clicking the middle **New project ...** button or **File > New Project**
@@ -85,7 +107,7 @@ Plug your device to the computer, select the Serial Port of your board and click
85
107
86
108
***The device will show up two Serial Ports, the default one (generally with the lowest number) is the usual Serial Port, the secondary one (usually with the highest number) is a virtual port for Modbus communication from the device to your computer. Take note of the port number assigned to the secondary port (virtual port for Modbus) as it will be needed in a second step.***
87
109
88
-
If during the download procedure the following message appears, double-tap the reset button using the tip of a pen or a similar pointed object. The led above the reset button will start blinking indicating that the Opta is ready to be flashed with a new firmware. Click the **Download** button to start the process again.
110
+
If during the download procedure the following message appears, double-tap the reset button using the tip of a pen or a similar pointed object. The LED above the reset button will start blinking indicating that the OptaTM is ready to be flashed with a new firmware. Click the **Download** button to start the process again.
0 commit comments