Chapter 6

 

 

$aaSiM

$aaSiM

Name

Read Channel Masking Status

Description

Asks 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 4-character value repre-

 

sents the output channels in sequence from 15 thru 0 in

 

an ADAM-5056 module. A 2-character value represents

 

the output channels in sequence from 5 thru 0 in an

 

ADAM-5060 module. And a 2-character value repre-

 

sents the output channels in sequence from 7 thru

ADAM-5000

6-113

Page 235
Image 235
Advantech RS-485 user manual Syntax $aaSiMcr