Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What do Siemens plc.trunc and di_i mean. Please be more detailed
What do Siemens plc.trunc and di_i mean. Please be more detailed

TRUNC (truncate decimals and round to double integer instruction) can read the content of the input parameter IN as a floating point number and convert it into a double integer (32 bits). (Round to 0 mode) Its double integer result can be output by the parameter OUT. If an overflow occurs, EN0 is 0.di_i is an instruction to convert a double integer to an integer.