Data Formats and I/O Ranges

B.4 Analog Output 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 Output Ranges

 

 

 

 

 

 

 

 

 

 

 

 

Range

Output Range

Data Formats

Maximum

Minimum

Displayed

 

 

Code

Description

 

Specified

Specified

Resolution

 

 

(hex)

 

 

Signal

Signal

 

 

 

 

 

 

 

 

 

 

 

 

 

Engineering

20.000

00.000

5 μA

 

 

 

 

Units

 

 

 

 

 

 

 

 

 

 

 

 

 

30h

0 to 20 mA

% of Span

+100.00

+000.00

5 μA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hexadecimal

FFF

000

5 μA

 

 

 

 

Binary

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Engineering

20.000

04.000

5 μA

 

 

 

 

Units

 

 

 

 

 

 

 

 

 

 

 

 

 

31h

4 to 20 mA

% of Span

+100.00

+000.00

5 μA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hexadecimal

FFF

000

5 μA

 

 

 

 

Binary

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Engineering

10.000

00.000

2.442 mV

 

 

 

 

Units

 

 

 

 

 

 

 

 

 

 

 

 

 

32h

0 to 10 V

% of Span

+100.00

+000.00

2.442 mV

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hexadecimal

FFF

000

2.442 mV

 

 

 

 

Binary

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B-8

ADAM-5000

Page 310
Image 310
Advantech RS-485 user manual Analog Output Formats, Analog Output Ranges