Supported platforms: CODESYS 2.3, CODESYS 3.5

 

ADConversion library description

This internal library contains functions for conversions between the AD converter value and the selected quantity.

 

POU

Description

ADC_From_mAorV (FUN)

Scales voltage or current to ADC value according to given input type.

ADC_To_mAorV (FUN)

Scales ADC value to voltage or current according to given input type.

ADC_From_Ohm (FUN)

Scales resistance to ADC value according to given input type and reference voltage.

ADC_To_mA (FUN)

Scales ADC value to resistance according to given input type and reference voltage.

 

Dependencies

 

 

Source file Topic000225.htm

Last updated 21-Feb-2025