Byteshift phenomenon

Post Reply
TimonL
Posts: 2
Joined: 19 Nov 2024, 15:21

Byteshift phenomenon

Post by TimonL »

Hello everyone,

we are using a RevPi Core SE with 3 DIO- and 9 AIO-Modules (I know that's a bit beyond the recommendation).
The programm base is a "Codesys Control for Rasperry Pi MC SL" running on top of a bullseye image (version 11, 32bit).
Additional infos from Codesys regarding the RevPi:
  • Typ: 40100
  • Version: 1.4.1.0
  • Processor: Broadcom BCM2711, quad-core Arm Cortex-A72
  • Number of cores: 4
  • Clock rate: 1.2 GHz
  • RAM: 1 GB LPDDR4
For the second time now we registered a strange byteshift error.
E.g.: When we set the variable at adress %QX51.5 to TRUE, the device at the output of adress %QX50.5 is turned on.
Codesys claims it set %QX51.5. -> I don't see the byteshift in the IDE.
Digital Inputs seem to be shifted too, AIOs seem to be normal.

Restart did not help as well as a fresh download of the program.

When I created a new hardware configuration with just one test programm in it (doing nothing) and downloaded that,
the byteshift is not happening. Last time time the error was also gone in our real programm, when downloading it again.
For hours and days no problems, but after about 2 weeks, the byteshift is back, exactly like it was before.
And the solution from last occur won't work this time...

Does anybody have an idea what is the reason for this strange error?

Thank in advance.

TimonL
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Byteshift phenomenon

Post by dirk »

Hello TimonL, take a look at the following helpful pages from our knowledge base: To sum it up - you need to update your system and modify the hardware configuration according to the compatible ranges. I recommend you the fresh new RevPi Bookworm OS with 64 Bit compatibility. You can do this using the steps from the Revolution Pi Checklist.

If the faulty behavior still occurs, please contact us again.
TimonL
Posts: 2
Joined: 19 Nov 2024, 15:21

Re: Byteshift phenomenon

Post by TimonL »

Hello Dirk,

thanks for your fast answer.
I already supposed that the message will be like that (update system, etc.). - Ok.

Somehow I did only search for help via search machines and inside the forum (a bit), until now.
The knowledge base I did not have in view, so thanks for this hind in generell.

Greeting,
TimonL
Post Reply