Infosys在阅读器中打开 / AI 翻译

PLC Libraries for PC based systems · 0 次阅读

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

FLOOR

The FLOOR function determines a integral value from a floating point number that is a fraction smaller than or equal that number.

Overview 1:

FRAC

The FRAC function determines the decimal component of a floating point number.

LMOD

The LMOD function carries out a modulo division and returns the signed residual.

Overview 2:

LTRUNC

The LTRUNC function determines the integral component of a floating point number.

MODABS

The MODABS function carries out a modulo division and determines the unsigned modulo value within the modulo range.

Overview 3:

MODTURNS

The MODTURNS function carries out a modulo division and determines the signed integral component.

F_GetVersionTcMath

Returns the library version information