Hi,
Since august 2025, all new RevPi PLCs are 64bits. My Codesys program which was compiled and working for 20+ Revpi 32 bits had to be recompiled for the new architecture.
I'm having continuous errors in the PLC log : "ErrorCode 8455, Update Module Reset Counter state failed" by component "IoDrvRevPiBridge". That is the case for at least 2 differents PLCs : one straight out of the box, and one that I re-flashed twice while trying to fix the issue.
The PLCs appears to be working on the surface but these errors seem to be affecting background processes and leading to unstability.
I tried numerous versions of Codesys Control : Rasbpberry Pi 64 SL 4.18, Linux ARM 64 SL 4.18 and 4.16 as well as versions 2.4.0 and versions 2.2.0 of the PLC device driver.
I'm out of ideas to make all the 64bits PLCs work with Codesys.
My Codesys version is 3.15.21 patch 3
RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
Re: RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
Hi,
Update Module Reset Counter state failed is associated with input mode configuration for DI/DIO modules.
Please inspect input mode configured for the input channels. In case of using a counter rising edge/falling edge, check if the counter for the corresponding channel can be set to 0. More importantly, the counter reset should be set only in one PLC cycle.
The encoder pair is counted as a counter. Check if the error exists when all channels are configured as direct mode.
Also try to see what happens if you place the RevPi devices freshly in the CODESYS device tree in a new project and then import logic for POUs from your old project. Perhaps there might be some issue in the project update itself.
You can check the CODESYS Control log for the errors.
Please send SOS report and your sample test program in case the issue is not resolved.
Regards,
Amar
Update Module Reset Counter state failed is associated with input mode configuration for DI/DIO modules.
Please inspect input mode configured for the input channels. In case of using a counter rising edge/falling edge, check if the counter for the corresponding channel can be set to 0. More importantly, the counter reset should be set only in one PLC cycle.
The encoder pair is counted as a counter. Check if the error exists when all channels are configured as direct mode.
Also try to see what happens if you place the RevPi devices freshly in the CODESYS device tree in a new project and then import logic for POUs from your old project. Perhaps there might be some issue in the project update itself.
You can check the CODESYS Control log for the errors.
Please send SOS report and your sample test program in case the issue is not resolved.
Regards,
Amar
KUNBUS
Re: RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
All channels were already configured as direct mode.
I tried creating a brand new project and adding all devices, all libraries and all POUs manually and it fixed the issue.
It took a while but as long as it works!
Thank you!
I tried creating a brand new project and adding all devices, all libraries and all POUs manually and it fixed the issue.
It took a while but as long as it works!
Thank you!
-
p_e_p_i_j_n
- Posts: 1
- Joined: 27 Mar 2026, 15:27
Re: RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
I'm having the same issue here. Every 20ms a new log entry is added to codesyscontrol.logAmar wrote: 05 Jan 2026, 10:59 Hi,
Update Module Reset Counter state failed is associated with input mode configuration for DI/DIO modules.
Please inspect input mode configured for the input channels. In case of using a counter rising edge/falling edge, check if the counter for the corresponding channel can be set to 0. More importantly, the counter reset should be set only in one PLC cycle.
The encoder pair is counted as a counter.
input mode.png
Check if the error exists when all channels are configured as direct mode.
Also try to see what happens if you place the RevPi devices freshly in the CODESYS device tree in a new project and then import logic for POUs from your old project. Perhaps there might be some issue in the project update itself.
You can check the CODESYS Control log for the errors.
Please send SOS report and your sample test program in case the issue is not resolved.
Regards,
Amar
Code: Select all
2026-03-27T14:09:13.723Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.743Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.763Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.783Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.803Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.823Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.843Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.863Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.883Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.903Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
2026-03-27T14:09:13.923Z, 0x00008000, 4, 1, 1, **** ERROR: ErrorCode: 8455, Update Module Reset Counter state failed
Code: Select all
~$ piTest -d
Found 3 devices:
Address: 0 module type: 136 (0x88) RevPi Connect 4 V1.0
Module is present
input offset: 0 length: 6
output offset: 6 length: 7
Address: 32 module type: 103 (0x67) RevPi AIO V1.5
Module is present
input offset: 13 length: 20
output offset: 33 length: 4
Address: 33 module type: 96 (0x60) RevPi DIO V1.5
Module is present
input offset: 37 length: 70
output offset: 107 length: 18
- I've started all over from scratch setting up a CODESYS project. No tasks, nothing. Just the 2 IO modules.
Downloading this CODESYS project starts spitting out the ErrorCode: 8455 message.
- After deleting only the DI/DO module from the CODESYS project, and downloading it again, stops spitting out the ErrorCode: 8455 message.
Re: RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
Hi,
Thank you for bringing this issue to our attention with detailed logs and context!
We have identified the root cause. The error 'Update Module Reset Counter state failed' (ErrorCode 8455) is triggered by a type mismatch in the internal reset-counter lookup: the module's process-image offset was compared using a signed integer cast, which caused the lookup to fail for certain module positions in the device tree. As a result, the error was logged on every I/O cycle rather than being a one-time event.
A fix has been prepared and will be included in an upcoming release of the IoDrvKunbusRevPiBridge library. The fix corrects the type comparison and also limits the log output to a single entry per driver session to prevent log flooding.
Workaround (until the fix is available)
The log flooding is a symptom and does not affect I/O data or runtime behaviour, but it will fill up codesyscontrol.log quickly. To reduce the impact in the meantime:
1. Set all DIO input channels to Direct mode in the CODESYS device configuration. This avoids triggering the reset-counter code path entirely and will stop the error from appearing.
- In CODESYS, open the DIO module parameters and set each Input Mode (Ch 1–Ch 14) to 'Direct'.
- If you require Counter or Encoder mode on specific channels, please note that the counter reset must only be written in a single PLC cycle and must not be held at a non-zero value continuously. Encoder pairs must always be configured on consecutive channels.
2. As an additional check, try removing the RevPi devices from the CODESYS device tree, re-adding them fresh in a new project, and then importing your POU logic from the old project. A stale or inconsistent project configuration can sometimes cause initialisation issues that lead to this error.
3. If neither option is feasible right away, you can reduce log growth by adjusting the log rotation settings in your CODESYS Control configuration to avoid disk space issues while waiting for the updated library.
As an additional check, try removing the RevPi devices from the CODESYS device tree, re-adding them fresh in a new project, and then importing your POU logic from the old project. A stale or inconsistent project configuration can sometimes cause initialisation issues that lead to this error.
If neither option is feasible right away, you can reduce log growth by adjusting the log rotation settings in your CODESYS Control configuration to avoid disk space issues while waiting for the updated library.
Regards, Amar
Thank you for bringing this issue to our attention with detailed logs and context!
We have identified the root cause. The error 'Update Module Reset Counter state failed' (ErrorCode 8455) is triggered by a type mismatch in the internal reset-counter lookup: the module's process-image offset was compared using a signed integer cast, which caused the lookup to fail for certain module positions in the device tree. As a result, the error was logged on every I/O cycle rather than being a one-time event.
A fix has been prepared and will be included in an upcoming release of the IoDrvKunbusRevPiBridge library. The fix corrects the type comparison and also limits the log output to a single entry per driver session to prevent log flooding.
Workaround (until the fix is available)
The log flooding is a symptom and does not affect I/O data or runtime behaviour, but it will fill up codesyscontrol.log quickly. To reduce the impact in the meantime:
1. Set all DIO input channels to Direct mode in the CODESYS device configuration. This avoids triggering the reset-counter code path entirely and will stop the error from appearing.
- In CODESYS, open the DIO module parameters and set each Input Mode (Ch 1–Ch 14) to 'Direct'.
- If you require Counter or Encoder mode on specific channels, please note that the counter reset must only be written in a single PLC cycle and must not be held at a non-zero value continuously. Encoder pairs must always be configured on consecutive channels.
2. As an additional check, try removing the RevPi devices from the CODESYS device tree, re-adding them fresh in a new project, and then importing your POU logic from the old project. A stale or inconsistent project configuration can sometimes cause initialisation issues that lead to this error.
3. If neither option is feasible right away, you can reduce log growth by adjusting the log rotation settings in your CODESYS Control configuration to avoid disk space issues while waiting for the updated library.
As an additional check, try removing the RevPi devices from the CODESYS device tree, re-adding them fresh in a new project, and then importing your POU logic from the old project. A stale or inconsistent project configuration can sometimes cause initialisation issues that lead to this error.
If neither option is feasible right away, you can reduce log growth by adjusting the log rotation settings in your CODESYS Control configuration to avoid disk space issues while waiting for the updated library.
Regards, Amar
KUNBUS
Re: RevPi Connect SE (with codesys) numerous errors 8455 by IoDrvRevPiBridge
The issue with numerous errors 8455 by IoDrvRevPiBridge is now resolved with the Revolution Pi Library for CODESYS V2.5.0.0 (I/O Driver for the Integration of Revolution Pi Devices in the CODESYS Development System V3.5 SP21), available for download on the official downloads page:
https://revolutionpi.com/en/support/downloads#c1064
https://revolutionpi.com/en/support/downloads#c1064
KUNBUS