Safe data types
The following data types are used in the safe blocks.Each of the following safe data types is a directly →derived data type. Its base type is an elementary data type according to "Supported data types (in ST)".
Name |
Base type |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Observe:
If you connect the input/output of a block for safe logic to one of these safe data types, the background color of this block might be changed to a shade of yellow. Details: See "Highlighting safe logic in the FBD-editor".
Due to the implicit conversion of Neuron Power Engineer you do not have to enter additional code in your application, if you want to convert a safe data type to its base type. Example: The safe data type SAFEINT
can be converted implicitly to its base type INT
.
If you want to convert a base type to the corresponding safe data type, you must call the respective safe convert function in the application. Example: Call the TO_SAFEINT
block for a conversion from INT
to SAFEINT
.