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

Chapter 6
Planning Your Application Program
$aaSiCjB
Name
Read Input Range
Description
Returns the input range in engineering units
for a specified channel of a specified analog input
module in a specified system.
Syntax $aaSiCjB
$ 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. SiCj identifies the slot i (i:0
to 7) of the ADAM-5000/ TCP system and the channel
j (j:0 to 7) of the ADAM-
5017H/5017UH module you want to interrogate.
B represents the read input range command.
(cr) is the terminating character, carriage return (0Dh).
Response !aarr00(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. (See Appendix B)
(cr) is the terminating character, carriage return (0Dh).
Example
command: $01S3C1B(cr)
response: !010b00(cr)
Channel 1 of the ADAM-5017H/5017UH module in
slot 3 of the ADAM-5000/TCP system at address 01h
responds with an input range 0-20 mA, engineering
unit data format.
6-82
ADAM-5000/TCP User’s Manual