-

TRUNC_SINT, TRUNC_INT, TRUNC_DINT, TRUNC_LINT

Type Function
Description Cuts the decimal places of the ANY_REAL value connected to input IN after the point to form an integer value. The function returns the integer value as SINT, INT, DINT, or LINT value (depending on the selected function).
Notes The last valid output value is kept if the input value (real value) exceeds the data type range of the output value (see also the error behavior below).
Parameters Input

IN1

Output

OUT
Error behavior Error behavior
Additional information EN/ENO behavior

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.