beautypg.com

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

Page 267

background image

Chapter 6

Planning Your Application Program

#aaSi

Name

Read All Channel Counter (Frequency) Data

Description

Return the input value of all channels for the speci-

fied input module for a specified system in engineer-
ing unit only.

Syntax #aaSi(cr)

# 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 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) (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 ad- dress
does not exists.

> is a delimiter character.

? is a delimiter character indicating the command
being invalid.

(data) is the input value in engineering units of the
interrogated module of the specified system. If the
numbers of (data) are ten ,counter/frequency mode
is in decimal format. If the numbers of (data) are eight,
counter/frequency mode is in hexadecimal format. If
(data) = “ “, it means the channel is invalid.

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





6-154

ADAM-5000/TCP User’s Manual