4-176 ADAM 4000 Series User's Manual
Command Set
4080, 4080D
$AA8V
Name Select LED Data Origin
Description Select whether LED will display data from the counter/frequen-
cy module directly or from the host computer.
Syntax $AA8V(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of counter/frequency module that you want to interro-
gate.
8 identifies the Select LED Data Origin command.
V indicates the origin of the data to be displayed on the LED:
V=0 sets the LED data origin to the module's counter 0
V=1 set the LED data origin to the module's counter 1
V=2 set the LED data origin to the host computer
(cr) is the terminating character, carriage return (0Dh)
Response !AA(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 address does not exists.
! is a delimiter character indicating the command was valid.
? is a delimiter character indicating the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter/frequency input module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $0182(cr)
response: !01(cr)
The command sets the counter/frequency modules at address
01 to display data sent by the host computer. After this
command has been issued the host computer can use command
$AA9(data) to send the data to the addressed module.