RAD_TO_DEG

RAD_TO_DEG 1:

Converts radiants to degrees.

FUNCTION RAD_TO_DEG : LREAL

VAR_INPUT
    ANGLE:      LREAL;
END_VAR

ANGLE :: Value to convert.

Requirements

Development environment

Target system type

PLC libraries to include

TwinCAT v2.7.0

PC or CX (x86)

Standard.Lib; PLCSystem.Lib; TcPLCAds.Lib; PLCHelper.Lib; TcPlcUtilities.Lib

TwinCAT v2.8.0

PC or CX (x86)

TcUtilities.Lib

( Standard.Lib; TcBase.Lib; TcSystem.Lib are included automatically )

TwinCAT v2.10.0 Build >= 1301

CX (ARM)