alawwirbilal - 2022-12-15

Hello there and thanks in advanced for any help!
I'm currently programming a raspberry pi with codesys to control a battery storage system. However I have a program running in my whole application that is responsible of the communication between the raspberry pi and the BMS(Battery Management System). I wanna be able to restart only this part of the code in case of any failure in the communication. I have so many PRGs that are running but for this case I wanna restart only the PRG that is responsible for this communication!
Any suggestion of how to do that!
Note: I'm using the latest codesys software and the latest codesys runtimesystem on raspberry pi.