Data Formats and I/O Ranges

B.4 Analog Ontput Formats

You can configure ADAM analog output modules to receive data from the host in Engineering Units.

Engineering Units

Data can be represented in engineering units by setting bits 0 and 1 of the data format/checksum/integration time parameter to 0.

This format presents data in natural units, such as milliamps. The Engineering Units format is readily parsed by the majority of computer languages as the total data string length is fixed at six characters: two decimal digits, a decimal point and three decimal digits. The resolution is 5 µA.

Example:

Channel 1 of the analog output module in slot 0 of an ADAM-5000 system at address 01h is configured for a 0 to 20 mA range. If the output value +4.762 mA is desired, the format of the Analog Data Out command would be #01S0C14.762<cr>

B.5 Analog Ontput Ranges

B-10

ADAM-5000

Page 255
Image 255
Advantech 5000 Series user manual Analog Ontput Formats, Example, Analog Ontput Ranges