User Tools

Site Tools

한국어

comfilepi:codesys:codesys4

Configuring the GPIO Pins

The default GPIO configuration for CODESYS's Raspberry Pi Control Modules does not expose all of the GPIO pins that the ComfilePi offers. To remedy that, it is necessary to modify the device description files typically found at C:\Users\{Username}\CODESYS Control for Raspberry PI\{CODESYS Version}\Devices. Use the following file and procedure as a starting point.

Download GPIOsComputeModule.devdesc.xml

Note that the XML file has a dependency on a driver called “IoDrvGPIO”. If you get an error about not being able to find that driver, update the IoDrvGPIO driver version in the XML file to match the version installed on your system. To check which version of IoDrvGPIO is installed, check CODESYS's library repository.

  1. Copy the GPIOsComputeModule.devdesc.xml file linked above to the C:\Users\{Username}\CODESYS Control for Raspberry PI\{CODESYS Version}\Devices folder.
  2. Install the file into the Device Repository.
  3. Update the GPIO device in the CODESYS project.
  4. Check the results.

This needs to be done every time you create a project.

CODESYS with the ComfilePi

comfilepi/codesys/codesys4.txt · Last modified: 2022/04/08 14:02 by COMFILE Technology