Color and style for FBD-elements determined by data type

The color/style of certain FBD-elements (e.g. value fields) are determined by the underlying →data type. Faulty FBD-elements are additionally highlighted.

Data type

Representation with color

Schematic representation

BOOL

dark shade of blue

images/download/thumbnails/534414840/BOOL-version-1-modificationdate-1699011828681-api-v2.png

BYTE, WORD, DWORD, LWORD

medium shade of blue

images/download/thumbnails/534414840/BYTE-LWORD-version-1-modificationdate-1699011828723-api-v2.png

SINT, INT, DINT, LINT

shade of pink


images/download/thumbnails/534414840/SINT-LINT-version-1-modificationdate-1699011828824-api-v2.png

USINT, UINT, UDINT, ULINT

shade of mauve

images/download/thumbnails/534414840/USINT-ULINT-version-1-modificationdate-1699011828924-api-v2.png

REAL, LREAL

shade of orange

images/download/thumbnails/534414840/REAL-LREAL-version-1-modificationdate-1699011828790-api-v2.png

TIME

shade of green

images/download/thumbnails/534414840/TIME-version-1-modificationdate-1699011828890-api-v2.png

DATE, DATE_AND_TIME, TIME_OF_DAY

shade of khaki

images/download/thumbnails/534414840/DT-TOF-version-1-modificationdate-1699011828759-api-v2.png

STRING, CHAR

shade of green

images/download/thumbnails/534414840/STRING-CHAR-version-1-modificationdate-1699011828859-api-v2.png

→structured data type

shade of olive

images/download/thumbnails/534414840/StructuredDT-version-1-modificationdate-1699011828992-api-v2.png

other complex data types, →array data type and →reference

color of the base data type
Example 1: ARRAY[1..2] OF INT is displayed with the color of the base data type INT .
Example 2: REF_TO BYTE is displayed with the color of the base data type BYTE .

safe data types
(e.g. SAFEBOOL)

Details: See "Highlighting safe logic in the FBD-editor".

shade of yellow

images/download/thumbnails/534414840/SafeDatatype-version-4-modificationdate-1709658901358-api-v2.png

untyped

shade of burgundy

images/download/thumbnails/534414840/NoType-version-1-modificationdate-1699011828956-api-v2.png

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Depending on the configuration of your logi.CAD 3 version, the FBD-editor and its elements might be displayed differently in your logi.CAD 3 version than illustrated in the IDE documentation. This is the case, if logi.cals or the system integrator has changed the styles for the FBD-editor. Subsequently, the illustration in the IDE documentation are symbolic images and the representation in your logi.CAD 3 version takes precedence for the valid representation. In case of doubts, please contact logi.cals or your system integrator.

logi.cals 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. logi.CAD 3 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.