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

Planning Your Application Program
Chapter 6
$aaSiCjArrFF
Name
Set Input Range
Description
Sets the input range for a specified channel of a speci-
fied analog input module in a specified system.
Syntax $aaSiCjArrFF
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system
you want to configure. 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 whose range you want to set.
A represents the set input range command. rr
represents the 2-character hexadecimal code of the
input range. (See Appendix B)
(cr) is the terminating character, carriage return (0Dh).
Note:
Each channel in a ADAM-5017H/5017UH module may be set to
a differ- ent range, but the data formats of all channels in this
module
must be the same.
Response !aa(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.
(cr) is the terminating character, carriage return (0Dh).
Example
command: $01S3C1A0bFF(cr)
response: !01(cr)
Channel 1 of the ADAM-5017H/5017UH module in
slot 3 of the ADAM-5000/TCP system at address
01h is set to the input range 0-20 mA, engineering
unit data for- mat. The response indicates that the
command has been received as a valid command.
ADAM-5000/TCP User’s Manual
6-81