Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 266

Planning Your Application Program
Chapter 6
$aaSiB
Name
Read Configuration.
Description
The command requests the Configuration of slot
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 desired slot i
B represents the 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 is
received.
? delimiter character indicating the command is in-
valid.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system.
rr=00 represents Bi-direction counter mode.
rr=01 represenrs UP/DOWN counter mode.
rr=02 represents Frequency mode. ff
indicates which format is
ff=00 represents the engineer format.
ff=02 represents the hexdecimal format.
(cr) is the terminating character, carriage return (0Dh).
Example
command: $01S3B(cr)
response: !010100(cr)
The ADAM-5080 in Slot 3 of ADAM-5000/TPC sys-
tem at address 01h responds that it is configured in
UP/DOWN counter mode and for engineering unit
data format.
ADAM-5000/TCP User’s Manual
6-153