Tc2_System

Compatibility library for Beckhoff’s TwinCAT 3 Tc2_System PLC library. Activated by a project reference or --library Tc2_System.

Constants

Name

Type

Description

PI

LREAL

The mathematical constant π (3.14159265358979…), as a global constant.

Example

FUNCTION F_DegreesToRadians : LREAL
VAR_INPUT
    degrees : LREAL;
END_VAR
F_DegreesToRadians := degrees * PI / 180.0;
END_FUNCTION

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