Overview
The TcMath.lib PLC library contains extended mathematical functions for TwinCAT PLC. The library is supplied together with TwinCAT (from version 2.9 Build 1000).
Functions
The FLOOR function determines a integral value from a floating point number that is a fraction smaller than or equal that number. | ||
The FRAC function determines the decimal component of a floating point number. | ||
The LMOD function carries out a modulo division and returns the signed residual. | ||
The LTRUNC function determines the integral component of a floating point number. | ||
The MODABS function carries out a modulo division and determines the unsigned modulo value within the modulo range. | ||
The MODTURNS function carries out a modulo division and determines the signed integral component. | ||
Returns the library version information |