He called FB1 from OB1 because it has to run on every scan (continiously).
The call to the pump fault is just placed there or it could be in a sub-routine (FC) that is also continioulsy scanned (the FC containing the pump fault code would also be called from OB1)
Hopefully LD can correct me if this is wrong.
The call to the pump fault is just placed there or it could be in a sub-routine (FC) that is also continioulsy scanned (the FC containing the pump fault code would also be called from OB1)
Hopefully LD can correct me if this is wrong.