Coolmay L02 Series PLC Programming Manual
register deviates greatly from the actual temperature, you need to send the
module back to the manufacturer for recalibration.
5.1.5. Host Analog input sampling
Filtering cycles=( R23600~R23603)* PLC scanning time, if R23600=1,
sample one time each scan circle and change the 1st analog value for one
time. The larger R23600~R23603 value is, the result is more stable.
R23600~R23603 is filtering cycles, default is 100 (Range 2~20000);
D8073 is smoothing filter coefficients of all analog input, range: 0~999
5.1.6. Analog input program example
5.1.6.1 Host analog input example
Below is an example of the L02 host 1 channel temperature analog AD0
acquisition. The program reads the values as follows:
Connect the signal end of the voltage sensor to the AD0 input end of the
PLC, and connect the other end to the GND of the analog input port. When
the PLC is running, the value of the data register D8030 corresponding to
AD0 will be transferred to D0, the value of D0 will be put into D10 after the
division operation, the result D10 is the actual voltage input value. In the
ladder diagram, you can also directly divide the value of D8030.
Note: When the input is 0-10V analog, the actual analog value =
register reading / 400;
When the input is 0-20mA analog, the actual analog value = register