beautypg.com

Chapter 6, Planning your application program, 4-5 digital input/output command set – B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 210: Adam-5000/tcp user’s manual

background image

Planning Your Application Program

Chapter 6

6-4-5 Digital Input/Output Command Set

Command Syntax Command Name

Description

$aaSi6

Digital Data In

"Returns the values of digital I/O

channels for a specified module"

"Sets output values of a single digital

#aaSiBB(data)Digital Data Out


$aaSiM

"Read Channel

Masking Status"

output channel or of all digital output
channels simultaneously for a
specified module."

"Asks the specified module to return
the masking status of all digital output
channels."

$aaSi6

Name

Digital Data In

Description

This command requests that the specified module in

an ADAM-5000/TCP system at address aa return
the status of its digital input channels and a read-
back value of its digital output channels.

Syntax $aaSi6(cr)

$ is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP 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/5050/5055)


ADAM-5000/TCP User’s Manual



6-141