beautypg.com

5080 counter/ command set frequency module, Aasi – Advantech 5000 Series User Manual

Page 191

background image

5080 Counter/

Command Set Frequency Module

#aaSi

Name

Read All Channel Counter (Frequency) Data

Description Return the input value of all channels for the specified

input module for a specified system in engineering 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) (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 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 hexdecimal format. If
(data) = “

”, it means the channel is invalid.

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


6-126

ADAM-5000