User manual
Chapter 6  Planning Your Application Program 
!aa(dataoutput)(dataoutput)00(cr) if the command is 
valid. (ADAM-5050/5055/5056) 
!aa(dataoutput)0000(cr) if the command is valid. 
(ADAM-5060, ADAM-5068, ADAM-5069) 
?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 
invalid. 
aa (range 00-FF) represents the 2-character hexadeci- 
mal Modbus network address of an ADAM-5000/ 
TCP system. 
(datainput) a 2-character hexadecimal value represent- 
ing the input values of the digital input module. 
(dataoutput) a 2-character hexadecimal value which 
is the read-back of a digital output channel or relay. 
(cr) is the terminating character, carriage return (0Dh) 
Example  command: $01S26(cr) 
response: !01112200(cr) The command asks 
the digital input module in slot 2 of the 
ADAM-5000/TCP system at address 01h to return 
the values of all of its channels. 
The first 2-character portion of the response indi- 
cates the address of the ADAM-5000/TCP system. 
The second 2-character portion of the response, value 
11h (00010001), indicates that digital input channels 
8 and 12 are ON, channels 9, 10, 11, 13, 14 and 15 are 
OFF. The third 2-character portion of the response, 
value 22h (00100010), indicates that digital input chan- 
nels 1 and 5 are ON, and channels 0, 2, 3, 4, 6 and 7 
are OFF. 
6-142
ADAM-5000/TCP
User’s
Manual










