How to set gain/offset for 4AD module?
Last modified by Jim on 2023/03/04 09:47
Below is gain/offset caculate formula:
Note: the unit of Analog input is μA
For value of "constant" please check the table:
For example, when set channel as 4mA~20mA to 0~1000, the default offset, gain, constant is 4000, 20000, 1000.
If user want to change it as 4mA~20mA to 0~200, the gain/offset calculation can be done by the following two formulas:
1. 0=(4000-offset)*1000/(gain-offset)
2. 200=(20000-offset)*1000/(gain-offset)
So the offset and gain should be 4000 and 84000