Skip to content

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.

CODESYS identifies the board through its device description file (.devdesc.xml).

  1. Download CODESYS_Control_Pico2.devdesc.xml[link da inserire].
  2. In CODESYS: Tools → Device Repository → Install…
  3. Select the downloaded .devdesc.xml file and confirm.

The device then appears in CODESYS Control devices as:

NameCODESYS Control Pico2
Vendornexo S.r.l.
Device ID167e 2008
  1. File → New Project…Standard project.
  2. As the device, pick CODESYS Control Pico2.
  3. Under the device node, the Peripherals module (I/O, analog inputs, LED, temperature) is added automatically — see IO Mapping.
  1. Connect the board via USB-C (or Ethernet, if wired to your network — da confermare interfaccia usata per il gateway CODESYS).
  2. In the device editor’s Communication Settings, scan for the device and select it.
  3. Login and download your application.

The CODESYS runtime on Raspberry Pi Pico 2 has the following fixed limits — plan your application accordingly:

SettingValue
Max IEC tasks10 (max 10 interval, 10 event, 1 free-wheeling)
Max task priority31
Default cycle time100 ms
Code + constants (flash)1 MB
Retain memory1000 bytes
Online changeNot supported — full download only
Max applications1 (Application)
Breakpoints / force / write variablesSupported

Next: IO Mapping and ST Examples.