Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - When I was debugging the communication between s7-200 and DCS, through Modbus communication, the DCS system debugger said that only integer data was accepted.
When I was debugging the communication between s7-200 and DCS, through Modbus communication, the DCS system debugger said that only integer data was accepted.
If you convert the real data type to an integer, you will lose data because the real data type is 32 bits and the integer data type is 16 bits. You can do this:

Isn't dcs only receiving integer data? You can directly transfer the channel value before range conversion to DCS, for example, transfer the value of the first analog channel AIW0 to DCS, and let DCS do range conversion by itself, that is, convert 0-32000 into the actual engineering value.

I don't know if I made myself clear.