Chapter 6

$aaSiM

Name

Read Channel Masking Status

Description Ask the specified module to return the masking status of digital output channels

 

Syntax

$aaSiM(cr)

 

$ is a delimiter character.

 

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

 

address of the ADAM-5000 system.

 

Si identifies the I/O slot of the system you want to read.

 

M is Channel Masking Status command.

 

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

Response

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

! 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 that is responding.

(data) is the hexadecimal value representing the status of all digital output channels. A value of 1 means the channel is masked, while a value of 0 means the channel is valid.

ADAM-5000

6-113

Page 178
Image 178
Advantech 5000 Series user manual $aaSiM, Name Read Channel Masking Status