4-140 ADAM 4000 Series User's Manual
Command Set
4021
$AA8
Name Current Readback
Description The addressed analog output module is instructed to measure
the current flowing through its current/voltage loop and return
the measured data in the module’s configured data format. The
value returned may be a rough estimate of the real value.
Syntax $AA8(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module that you want to measure,
its current/voltage
loop and return the measured value.
8 is the Current Readback command.
(cr) is the terminating character, carriage return (0Dh).
Response !AA(data)(cr) if the command was valid.
?AA(cr) if an invalid command was issued.
There is no response if the module detects a syntax error or
communication error or if the specified address 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 hexadecimal
address of the analog output module.
(data) is the value returned by the analog output module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $0A8(cr)
response: !0A18.773(cr)
The command tells the analog output module at address 0Ah to
measure its current loop and return the measured value.
The analog output module returns the value 18.773 mA.