(CODESYS) Issue on mapping DI/DO bits to exist global boolean variables for each
Posted: 17 Jun 2024, 03:01
Hello,
I'm using RevPi Connect S & RevPi DIO module with CODESYS.
I mapped DI_CH1-14 and DO_CH1-14 to existing global boolean valiables as following picture. However, the DIO module didn't worked as I expected.
(I mean that forcing the global DO variables to TRUE didn't trigger any output, and input changes didn't update the DI variables.)
Actually, mapping to the WORD typed existing variables as below worked well. Is this a specificated behavior?
My environment:
RevPi Bullseye 32-bit (09/2023)
CODESYS 3.5.20.0
CODESYS Control for Raspberry Pi 4.10.0.0
Revolution Pi Library for CODESYS V1.4.1.0
Best regards,
I'm using RevPi Connect S & RevPi DIO module with CODESYS.
I mapped DI_CH1-14 and DO_CH1-14 to existing global boolean valiables as following picture. However, the DIO module didn't worked as I expected.
(I mean that forcing the global DO variables to TRUE didn't trigger any output, and input changes didn't update the DI variables.)
Actually, mapping to the WORD typed existing variables as below worked well. Is this a specificated behavior?
My environment:
RevPi Bullseye 32-bit (09/2023)
CODESYS 3.5.20.0
CODESYS Control for Raspberry Pi 4.10.0.0
Revolution Pi Library for CODESYS V1.4.1.0
Best regards,