5050/5051/5052/5056/

Command Set

5060/5068 Digital I/O

 

 

$aaSi6

$aaSi6

Name

Digital Data In

Description

This command requests that the specified module in an

 

ADAM-5000 system at address aa return the status of

 

its digital input channels and a readback value of its

 

digital output channels.

Syntax

$aaSi6(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.

 

6 is the Digital Data In command.

 

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

Response

!aa(datainput)(datainput)00(cr) if the command is valid.

 

(ADAM-5051)

!aa(dataoutput)(dataoutput)00(cr) if the command is

valid. (ADAM-5056)

!aa(dataoutput)0000(cr) if the command is valid. (ADAM-5060, ADAM-5068)

?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.

6-108

ADAM-5000

Page 230
Image 230
Advantech RS-485 Response Aadatainputdatainput00cr if the command is valid, Aadataoutputdataoutput00cr if the command is