Hi everyone,
I’m helping a customer set up their RevPi Connect 4 system with CODESYS, and they ran into this trouble when using module DO. Previously they are using RevPi DIO and it works fine. But now when switched to using a DO (Digital Output) module for the first time — and here's the issue:
The problem:
Channels 0 to 7 on the DO module are working just fine.
But anything from channel 8 and up (starting at channel 9) isn’t responding at all.
We double-checked the wiring, and the hardware itself seems okay.
No error messages or warnings show up — it’s just that those outputs won’t activate.
What we’ve tried:
Made sure the configuration in PiCtory is correct and saved properly.
Rebooted both the RevPi and the development PC.
I’ve attached the CODESYS project file in separate zip file, the max attachment per file is 4MB
Please Help, Thank you
Trouble on Using DO in CODESYS
-
- Posts: 1
- Joined: 03 Jul 2025, 04:37
Trouble on Using DO in CODESYS
- Attachments
-
- FILTER IPA.part02.rar
- (2.13 MiB) Downloaded 2 times
-
- FILTER IPA.part01.rar
- (3 MiB) Downloaded 2 times
Re: Trouble on Using DO in CODESYS
Hi,
The problem is likely caused by the Ethernet interface being placed before the RevPi Connect 4 device in the CODESYS device tree.
You can also disable GPIO access if you are using the RevPi LEDs.
Corrected project configuration: I would recommend updating to the latest version to ensure easier support in the future.
RevPi Bookworm 64-bit (Default)
Revolution Pi Library for CODESYS v2.2.0.0
CODESYS Control for Linux ARM64 SL v4.16.0.0
Best regards,
Amar
The problem is likely caused by the Ethernet interface being placed before the RevPi Connect 4 device in the CODESYS device tree.
You can also disable GPIO access if you are using the RevPi LEDs.
Corrected project configuration: I would recommend updating to the latest version to ensure easier support in the future.
RevPi Bookworm 64-bit (Default)
Revolution Pi Library for CODESYS v2.2.0.0
CODESYS Control for Linux ARM64 SL v4.16.0.0
Best regards,
Amar
KUNBUS