Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 159

Advertising
background image

Chapter

5


5-13

ADAM 4000 Series User’s Manual

4011, 4011D, 4012, 4013, 4015, 4015T, 4016,
4017, 4017+, 4018, 4018+, 4019+

#AA

Name

Analog Data In command

Description

The command will return the input value from a specified
(AA) module in the currently configured data format.

Syntax

#AA(cr)

#

is a delimiter character.

AA

(range 00-FF) represents the 2-character hexadecimal

address of an analog input module.

(cr)

is the terminating character, carriage return (0Dh).

Response

>(data)(cr)

There is no response if the module detects a syntax error or
communication error or if the specified address does not
exist.

>

is a delimiter character.

(data)

is the input value in the configured data format of

the interrogated module.

(For data formats, see Appendix B).

(cr)

is the terminating character, carriage return (0Dh).

Example

command: #21(cr)

response: >+7.2111+7.2567+7.3125+7.1000

+7.4712+7.2555+7.1234+7.5678

(cr)

The command interrogates the analog input module at
address 21h for its input values of all channels.

The analog input module responds with channels from 0 to
7 with +7.2111 volts, +7.2567 volts, +7.3125 volts,
+7.1000 volts, +7.4712 volts, +7.2555 volts, +7.1234 volts
and +7.5678 volts.

Advertising