Activity for nixola

  • nixola nixola posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I was trying to figure out how to correctly handle system exceptions in a CODESYS project, but either the documentation falls short, or I'm unable to find the proper docs. I know I can register a function as an exception handler via Task Configuration > System Events > Add Event Handler, which will create a function with the correct interface; I am, however, unable to figure out what the returned DWORD is supposed to be, if anything. Is the interface for the exception handler documented and,...

  • nixola nixola modified a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi, I added the following lines to /etc/codesyscontrol/CODESYSControl_User.cfg: [CmpCharDevice] PermittedPath.0=/dev/i2c* PermittedPath.1=/dev/spidev* PermittedPath.2=/sys/class/gpio/* PermittedPath.3=/dev/gpiochip* However, I'm still unable to read or control GPIO pins from any CODESYS application. Specifically, setting the pin direction (and, thus, the IoDrvGpioSysfs driver configuration) fails, with a rather non-descript error in the logs: Description Component Setting direction failed for GPIO...

  • nixola nixola posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi, I added the following lines to /etc/codesyscontrol/CODESYSControl_User.cfg: [CmpCharDevice] PermittedPath.0=/dev/i2c* PermittedPath.1=/dev/spidev* PermittedPath.2=/sys/class/gpio/* PermittedPath.3=/dev/gpiochip* However, I'm still unable to read or control GPIO pins from any CODESYS application. Specifically, setting the pin direction (and, thus, the IoDrvGpioSysfs driver configuration) fails, with a rather non-descript error in the logs: Description Component Setting direction failed for GPIO...

1