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

Chapter 6
Planning Your Application Program
$aaSiArrff
Name
RTD Configuration
Description
Sets slot index, input range, data format and integra-
tion time for a specified RTD input module in a speci-
fied system.
Syntax $aaSiArrff(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 configure.
Si identifies the desired slot i (i:0 to 7). A represents
the I/O module configuration command. rr represents
the 2-character hexadecimal code of the input range.
(See Appendix B)
ff is a hexadecimal number that equals the 8-bit pa-
rameter representing data format. Bits 0 and 1 repre-
sent data format. Bit 7 represents integration time.
The layout for the 8-bit parameter is shown in Figure
6-4. The other bits are not used and are set to 0. (cr) is
the terminating character, carriage return (0Dh).
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: $01S3A2000(cr)
response: !35(cr) The RTD input module in slot 3 of
the ADAM-5000/ TCP system at address 01h is
configured to an RTD type Pt -100 to 100° C,
engineering unit data format, and integration time
50ms (60Hz). The response indi- cates that the
command has been received.
6-50
ADAM-5000/TCP User’s Manual