beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 133

background image

Chapter 6

Planning Your Application Program

$aaSiB

Name

Configuration Status

Description

Returns the configuration status parameters

for a specified analog input module of a specified

system.

Syntax $aaSiB(cr)

$ is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system
you want to interrogate.

Si identifies the I/O slot you want to read.
B is configuration status command.
(cr) is the terminating character, carriage return (0Dh)

Response !aarrff(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 ad- dress
does not exist.
! delimiter character indicating a valid command was
received.
? delimiter character indicating the command was in-
valid.

aa (range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system. rr
represents the 2-character hexadecimal code of the
input range.
ff is a hexadecimal number that equals the 8-bit pa-
rameter representing data format. Bit 0 and 1 repre-
sent data format. Bit 7 represents integration time.
(See Configuration Command $aaSiArrff).
(cr) is the terminating character, carriage return (0Dh)

Example

command: $01S1B

response: !01000

0

The ADAM-5018 analog input module in slot 1 of
the ADAM-5000/TCP system at address 01h
responds with an input range ±15mV, engineering
units data format, and integration time 50ms (60Hz).

6-66

ADAM-5000/TCP User’s Manual