Getting Started
Before opening CODESYS, flash the board with the CODESYS runtime using the neXo Firmware Flasher — the runtime must already be running on the board.
1. Install the device description
Section titled “1. Install the device description”- Download
CODESYS_Control_Pico2_W.devdesc.xml— [link da inserire]. - In CODESYS: Tools → Device Repository → Install…
- Select the downloaded
.devdesc.xmlfile and confirm.
The device then appears in CODESYS Control devices as:
| Name | CODESYS Control Pico2 W |
| Vendor | nexo S.r.l. |
| Device ID | 167e 2008 |
2. Create a project and add the device
Section titled “2. Create a project and add the device”- File → New Project… → Standard project.
- As the device, pick CODESYS Control Pico2 W.
- Under the device node, the Peripherals module (I/O, analog inputs, LED, temperature, WiFi parameters) is added automatically — see IO Mapping and WiFi Configuration.
3. Configure WiFi and connect
Section titled “3. Configure WiFi and connect”- Set the WiFi SSID/password and IP settings — see WiFi Configuration — and download the application once (over USB) so the board joins your network.
- In the device editor’s Communication Settings, scan for the device on the network and select it.
- Login and download subsequent updates over WiFi.
Runtime limits
Section titled “Runtime limits”Same limits as Raspberry Pi Pico 2:
| Setting | Value |
|---|---|
| Max IEC tasks | 10 (max 10 interval, 10 event, 1 free-wheeling) |
| Max task priority | 31 |
| Default cycle time | 100 ms |
| Code + constants (flash) | 1 MB |
| Retain memory | 1000 bytes |
| Online change | Not supported — full download only |
| Max applications | 1 (Application) |
| Breakpoints / force / write variables | Supported |
Next: IO Mapping, WiFi Configuration and ST Examples.