gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
632 stars 246 forks source link

Wrong values set_lreal #483

Closed jorenvdb123 closed 6 months ago

jorenvdb123 commented 6 months ago

When i use set_lreal to write values into a database all the data is the same: If the value that i want to put in a database is bigger than 1 it will be 2. If the original value is smaller than 1 it will be 3.0517578125E-05 in the database.

What can i do to fix it?