beautypg.com

Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 153

background image

Planning Your Application Program

#aaSi

Name

All Analog Data In

Chapter 6





Description

Returns the input value of all channels for a speci-

fied analog input module of a specified system in
engineering units or two’s complement data format

Syntax #aaSi

# is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP system you want to interrogate.

Si identifies the I/O slot (i:0 to 7) of ADAM-5000/
TCP 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. (Engineering Unit Data For-

mat)
!(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(cr)
if the command is valid. (Two’s Complement Data
Format)

?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 ad- dress
does not exist.

! delimiter character indicating a valid command was
received.

? delimiter character indicating the command was
invalid.

(data) is the input value in engineering units of 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.


ADAM-5000/TCP User’s Manual

6-85