If you directly program your circuit program on the LOGO!, then you can only enter the gain and offset parameters. You can calculate the gain and offset as follows:
External value range minSensor - maxSensor
Range of a physical quantity that the sensor can measure.
Standardized value range minnorm - maxnorm:
Value range of the standardized values.
With sensors that provide 0 to 10 V or 0 to 20 mA, the standardized value range is 0 – 1000.
With sensors that provide 4 to 20 mA, the standardized range is 200 – 1000.
So for gain and offset it follows:
Gain = (maxSensor - minSensor) / (maxnorm – minnorm)
Offset = [(minSensor x maxnorm) – (maxSensor x minnorm)] / (maxnorm – minnorm)
If you have calculated either the gain or the offset in accordance with the formulas above, you can then calculate the respective other value in accordance with the following formula:
Gain = (minSensor - Offset) / minnorm
Offset = (minSensor – (Gain x minnorm)