Hello,
I would like to know if it’s possible to use internal status bits from the safetycontroller directly in safe designer. Right now I have a workaround where I read the status from “SafeLOGICStatus.SafeOSState” and “SafeLOGICStatus.NumberOfMissingModules” from my cpu and transfer them to my safety controller to work with them.
I do this, because I want to know if my safety modules are all really ready again after a cold restart of my cpu.
Thanks in advance!
Björn
Each module in SafeDesigner has a SafeModuleOK datapoint which indicates that the module is connected and communicating valid data. I recommend using this to indicate to your safety program that all of your modules are ready. This is because:
- The datatype for this information is SAFEBOOL (instead of a regular BOOL), and
- This datapoint is already built into the safety program, so it’s easier to use than what you’re doing currently.
The SafeOSState is the state of the safety program (Invalid, Running, Stopped, etc.). However your safety program already knows what state it’s in. If it’s not running, then it will never read the data you’re sending to it and will therefore not act on it.
4 Likes