AXCF2152 system freeze issue

Hello Team,
We are currently developing an application for our controller using PLCnext + simulink.
We have multiple systems configured with AXC2152 and axioline IOs.
We are doing testing of the systems now.
We found that at random intervals our system freezes and only works when performed a power supply reset. We have analyzed output.log file of the system and found below issues.
Common issue seen in almost all our systems -
C_23D.Modellib ERROR - Error : Could not read address to simulink block bin file from „/opt/plcnext/projects/PCWE/Libs/HyperSECC_23D/addr2SimulinkBlock.bin“. (file IO error)
We checked the directory no such file actually exists. Please suggest what can be done to avoid this Error.
Issue observed in two of our systems
26.06.23 14:42:49.310 Arp.System.Watchdog.Internal.SystemWatchdogRebootCounter INFO - WaitForResetRebootCounterThreadBody reboot counter resetted, more than 60 minutes in run mode
This is not highlighted as an error. But after searching we found out that this triggers after system wide watchdog detects an error. Please confirm this understanding. Also please suggest how can we fix the issue.
For easy debugging attaching output logfile of one of the systems where both of the issues are observed.
Requesting your support.
Thank you !
Output_DU2.7z

Hello tushartanpure,
I assume the following problem in this case: The binary file „addr2SimulinkBlock.bin“ is not transferred to the PLC by downloading the PLCnEng project.
Possible Solution:
Please check if after project compiling in PLCnEng on your Windows OS the "addr2SimulinkBlock.bin"persits in following folder: „C:\Users\Public\Documents\PLCnext Engineer\Binaries\YorProjectName_xx@binary\RES_XXXXX\Configuration\Projects\PCWE\Libs\HyperSECC_23D\addr2SimulinkBlock.bin“.
If the „addr2SimulinkBlock.bin“ persits, please open the SSH-connection to the PLC e.g. via WinSCP and replace the "**PCWE "-**directory on PLCnext Target located in "/opt/plcnext/projects/PCWE " with „**PCWE „****directory located on your Windows OS see in „C:\Users\Public\Documents\PLCnext Engineer\Binaries\YorProjectName_xx@binary\RES_XXXXX\Configuration\Projects“}PCWE".
(You can delete the folder "/opt/plcnext/projects/PCWE
“ on PLCnext target and copy the folder „C:\Users\Public\Documents\PLCnext Engineer\Binaries\YorProjectName_xx@binary\RES_XXXXX\Configuration\Projects“}**PCWE“ on your PLCnext target into „/opt/plcnext/projects“ directory).
After replacing the PCWE folder, please open the SSH-Console/Terminal and execute the reboot command (sudo reboot). After reboot the application should running, if not please let me know.
Thanks & BR
Eduard

Hello Eduard,
Thank you for your inputs.
I checked the paths mentioned in above comment but the file „addr2SimulinkBlock.bin“ is not generated in our system.
I also checked if this file was generated for our previous builds, but I could not find it and I think it was not generated.
Please suggest.
Thank you!

Hello ,
Unfortunately we are not able to generate file „addr2SimulinkBlock.bin“.
I thought it might be a version compatibility issue, so I tried with different versions of Matlab & PLCNext target for simulink to generate library and tried different versions of PLCNext engineer, but the file is not created.
Could you please let us know exactly at what stage the file „addr2SimulinkBlock.bin“ is generated ?
A. During simulink build process
OR
B. During PLC next Write And Start project.
Please support !
Thank you!

I have a similar if not the same issue; after around 1 hour of running perfectly fine the simulink model freezes and no longer writes its outputs to the connected variables.
I also have an error message concerning addr2SimulinkBlock.bin, but I don’t think this is causing the freeze as the error is show at boot and the model works fine up until much later.
Maybe it has to do with the 60min watchdog, I will try to time when exactly the freeze happens.

Have you installed the license for the „PLCNEXT TARGET FOR SIMULINK“ software?
image.png