DEG_TO_RAD

DEG_TO_RAD 1:

The function converts a degree angle to radian.

FUNCTION DEG_TO_RAD: LREAL

VAR_INPUT

VAR_INPUT
    ANGLE  : LREAL;
END_VAR

ANGLE: The angle to be converted angle in degrees.

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_Utilities (System)