Hi community, I’m working with RFC 4072s and I need to convert in the Safety-related POU with PlcNext Engineer a BOOL variable into a SAFEBOOL one. I think to have imported correctly all libraries but I cannot find the function (BOOL_TO_SAFEBOOL) even if I can find the description on the PlcNext Engineer help. Can anyone help me? Thanks Simone
Hi Simone! I think the function EN_OUT will solve your problem or if you are using ladder you can “and” the non safe with a safebool to set a safebool value. |------------|bool|----------|safebool|-------------------(safebool)-| Br Stefan
Hello , It isn´t possible to convert non-safe types to safe types. That is not allowed.
You can use from the libraray safety IEC 61131-3 => bitwise boolean => FC EN_OUT.
Please note the function block help and the warning instruction if you use this function.
Description EN_OUT:
Sets a safety-related output signal based on a standard and a safety-related input signal using AND logic.
This function can be used to implement the enable principle.
Ok, thank you very much!