Highlighting safe logic in the FBD-editor

The FBD-editor highlights safe logic so you can visually distinguish safe logic from non-safe logic when developing safety-related applications.
When using the legacy styling, this highlighting is done with shades of yellow, whereas when using the smart styling, this is done with specific colors that used for the safe data types. See "Color and style for FBD-elements determined by data type") for details on the used colors.

For developing safety-related applications, you must use a Neuron Power Engineer version that has been qualified for this purpose. See the documentation "Safety instructions on working with the IDE" for the appropriate information and valid safety instructions.

Neuron recommends that you and/or your system integrator do not use yellow shades when designing FBD-elements because the color "Yellow" is used for tracking safe signals when developing safety-related applications. This recommendation applies in particular when you are using the legacy styling. Neuron Power Engineer does not check if colors are already used elsewhere. So the use of the yellow shades by you and/or your system integrator could have the consequence that "yellow" might also identify a non-safe logic as well.

The following FBD elements are displayed with the designated color:

This logic in legacy styling is a non-safe logic because the data type INT is used:

Here is the same logic but with the safe data type SAFEINT - which causes the elements to be displayed with shades of yellow to indicate the safe logic:

 

You can also mix safe logic and non-safe logic. The implicit conversion of a safe data type to a non-safe data type is allowed.

Illegal constructs will be highlighted as errors or warnings in the FBD-editor. Since the implicit conversion of a non-safe data type to a safe data type is an illegal construct, the assignment of the ADD output to the safe variable resultB is highlighted as faulty in the above example. Reason: The inputs of the ADD block are connected to non-safe variables.
Workaround: Call the respective safe-convert function, for the above example this is the TO_SAFEINT block:

Good to know
See under "Representation of non-safe logic vs. safe logic, " for an example showing the representation in smart styling.