User manual
Chapter 6 
Planning Your Application Program 
$aaSiB 
Name  Read Data Format 
Description  Returns the data format for a specified analog input 
module in a specified system. 
Syntax $aaSiB 
$ 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 of 
the ADAM-5000/TCP sys- tem containing the 
ADAM-5017H/5017UH module you want to 
interrogate. 
B represents the read data format command. 
(cr) is the terminating character, carriage return (0Dh). 
Response !aaFFff(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. ff 
represents the 2-character hexadecimal code of the 
data format. 00 is for engineering unit format. 02 is for 
two’s complement format. 
(cr) is the terminating character, carriage return (0Dh). 
Example  command: $01S3B(cr) 
response: !01FF00(cr) 
The ADAM-5017H /5017UH module in slot 3 of the 
ADAM-5000/TCP system at address 01h responds 
that it is configured for engineering unit data format. 
6-84 ADAM-5000/TCP User’s Manual 










