Command Set

5013 RTD Input

 

 

$aaSi6

 

 

 

 

Name

Read Channels Status

 

 

 

Description Asks a specified input module to return the status of all

 

 

 

channels

 

 

 

Syntax

$aaSi6(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 identifies the I/O slot of the system you want to read

 

 

 

channels status. The channel status defines whether a

 

 

 

channel is enabled or disabled.

 

 

 

6 represents the read channels status command.

 

 

 

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

 

 

Response

!aamm(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.

 

 

 

 

! delimiter character indicating a valid command was

 

 

 

received.

 

 

 

 

? delimiter character indicating the command was

 

 

 

invalid.

 

 

 

 

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

 

 

 

address of an ADAM-5000 system.

 

 

 

mm are two hexadecimal values. Each value is interpret-

 

 

 

ed as 4 bits. The first 4-bit value is 0. The second 4-bit

 

 

 

value represents the status of channels 0-3. A value of 0

 

 

 

means the channel is disabled, while a value of 1 means

 

 

 

the channel is enabled.

 

 

 

 

 

 

 

6-32

 

ADAM-5000

 

Page 97
Image 97
Advantech 5000 Series user manual Syntax $aaSi6cr