H
I'm developing a program for two SOFTWARE REDUNDANT S7-315-2DP that are serving the same I/Os, which means they both will have atypical software.
I have some PID functions, so I have to use OB35.
The code I wrote is for PID loops and for some digital sequences. I did that before but not for redundant CPUs, and I used to put all PID functions in OB35 and all the other functions and function blocks in OB1. In software redundancy, FB101 must be invoked before and after the duplicated code (in my case PID & sequence).
The question is, is it right to leave OB1 empty and put all the code in OB35? If yes, how can I determine the OB35 cyclic interval??
I have some PID functions, so I have to use OB35.
The code I wrote is for PID loops and for some digital sequences. I did that before but not for redundant CPUs, and I used to put all PID functions in OB35 and all the other functions and function blocks in OB1. In software redundancy, FB101 must be invoked before and after the duplicated code (in my case PID & sequence).
The question is, is it right to leave OB1 empty and put all the code in OB35? If yes, how can I determine the OB35 cyclic interval??