I’m experiencing a problem with the DIO module, specifically the digital outputs. The setup consists of a Connect 4 with DIO and an AIO module.
I’m reading and writing the digital inputs and outputs using Node-RED with the exec node.
Occasionally, when Node-RED sets O_1 high, the output does not actually switch on, and 24V is not present on the relay it is supposed to trigger. When measuring output 1 against 0V, I do not get 24V, and the relay does not activate. This happens after some time — possibly after several hours of operation.
I also monitor the relay feedback through its contacts, connected to input 1. This part always works correctly. When the relay fails to trigger, input 1 does not go high, as expected.
Initially, everything works fine. The program switches the output on and off multiple times over several hours. The on/off interval is approximately 15 minutes. The relay controls a contactor that powers heating of a medium, and when the temperature reaches a setpoint, the heating turns off.
When output 1 fails to provide 24V, running piTest -r O_1 returns:
Bit value: 1
However, this does not reflect the actual physical output state.
After performing sudo reboot, the issue disappears and everything works normally again.
System status:
df -h shows:
Code: Select all
Filesystem Size Used Avail Use% Mounted on
/dev/root 6.9G 3.8G 2.9G 57% /
devtmpfs 665M 0 665M 0% /dev
tmpfs 923M 0 923M 0% /dev/shm
tmpfs 370M 1.3M 368M 1% /run
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 34M 219M 14% /boot/firmware
tmpfs 185M 0 185M 0% /run/user/1001- Memory: 600M / 1.8G
- Swap: OK
- 4 cores at around 20% load
Best regards:
Steffen