User Manual

ADAM-6000 Series User Manual 138
$aaM
Name Read Module Name
Description Returns the module name from a specified module.
Syntax $aaM(cr)
$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of the ADAM-6000 module you want to
interrogate. (Always 01)
M is the Module Name command.
(cr) is the terminating character, carriage return (0Dh).
Response !aa60bb(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,
communication error or if the address does not exist.
! delimiter indicating a valid command was received.
? delimiter indicating the command was in-valid.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of an ADAM-6000 module.
bb (range 00-FF) represents the 2-character model number
of an ADAM-6000 module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $01M(cr)
response: !016050(cr)
The command requests the system at address 01h to send its
module name. The system at address 01h responds with
module name 6050 indicating that there is an ADAM-6050
at address 01h.