Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Siemens plcs7-200 stores how to convert integers into decimal values.
Siemens plcs7-200 stores how to convert integers into decimal values.
Integer must be converted to floating-point number first.

When an integer wants to display decimals, it must first be converted into floating-point numbers. Because the integer is 16 bits and the floating point number is 32 bits, it is necessary to use Siemens plc to convert the integer into a double integer, and then use Siemens plc to display the decimal and convert the double integer into a real number, so that the decimal can be displayed.

S7-200PLC can use various forms of memory to store PLC programs and data to prevent data loss.