beautypg.com

Aasi – Advantech 5000 Series User Manual

Page 111

background image

Command Set 5017/5018

Analog Input

#aaSi

Name

All Analog Data In

Description Returns the input value of all channels for a specified

analog input module of a specified system in engineer-
ing unit only.

Syntax #aaSi(cr)

# is a delimiter character.

aa (range 00-FF) represents the 2-character hexadecimal
address of the ADAM-5000 system you want to
interrogate.

Si is the I/O slot of ADAM-5000 system you want to
read.

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

Response

>(data) (data) (data) (data) (data) (data) (data) (data) (cr) if

the command is valid.

?aa(cr) if an invalid operation was entered.

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 indicating a valid command was
received.

? delimiter character indicating the command was
invalid.

(data) is the input value in engineering units of a channel
in the interrogated module of the specified system. The
(data) from all channels is shown in sequence from 7 to
0. If (data) = “ ”, it means the channel is invalid.

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




6-46

ADAM-5000