Get Started - Manual - SIMATIC AX - Mathematical functions. - System.Math,library

System.Math library

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
6.0.94
Edition
08/2025
Language
English (original)
Package Name
@ax/system-math

Install with Apax:

apax add @ax/system-math

Add the namespace in your ST code:

USING System.Math;
Functions Description
Abs Absolute value of a number.
Acos Angle of a cosine.
Asin Angle of a sine.
Atan Angle of a tangent.
Atan2 Angle whose tangent is the quotient of two numbers.
Clamp Clamp a value to a range.
Cos Cosine of an angle.
Exp e raised to the power.
FMod Floating-point remainder.
IsValid Indicates whether the value is a valid number.
Ln Natural (base e) logarithm of a number.
Log10 Base 10 logarithm of a number.
Max Largest of the values.
Min Smallest of the values.
Sin Sine of an angle.
Sqrt Square root of a number.
Tan Tangent of an angle.
Types Description
Constants Provides constants for numerical and arithmetic functions.