Tc2_BuiltIns

Compatibility library for the operators that TwinCAT 3 provides to every PLC project without any library reference. Because the vendor environment treats these as implicitly available, IronPLC activates this library automatically whenever it discovers a TwinCAT project — no project reference or --library option is needed.

Functions

Name

Signature

Description

BOOL_TO_STRING

BOOL_TO_STRING(IN : BOOL) : STRING

Converts a boolean to its text form: TRUE returns 'TRUE', FALSE returns 'FALSE'.

Example

statusText := BOOL_TO_STRING(running);

Independence

IronPLC is an independent open-source project and is not affiliated with, endorsed by, or sponsored by the vendors whose library interfaces the compatibility libraries reproduce. Each compatibility library is authored independently from the vendor’s public documentation and contains no vendor code. See Trademarks.

See Also