Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 208

Planning Your Application Program
$aaSiCj6
Name
Last Value Readback
Chapter 6
Description
Returns either the last value sent to the
specified channel by a #aaSiCj(data) command, or
the start-up output current/voltage.
Syntax $aaSiCj6(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP system. SiCj identifies the I/O slot i (i : 0 to 7)
and the chan- nel j (j : 0 to 3) for the module you
want to return a prior value.
6 is the last value read-back command.
(cr) is the terminating character, carriage return (0Dh)
Response !aa(data)(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
invalid.
aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of an ADAM-5000/
TCP system.
(data) is the value that is returned by the analog out-
put module. The format of the data depends on the
module’s configuration data format.
ADAM-5000/TCP User’s Manual
6-139