User Manual

5-16
ADAM 4000 Series User’s Manual
4015, 4015T, 4017, 4017+, 4018,
4018+, 4018M, 4019+
$AA5VV
Name Enable/disable Channels for Multiplexing command
Description Enables/disables m ultiplexing sim ultaneously fo r separate
channels of a specified input module.
Syntax $AA5VV(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character he xadecimal
address of analog input module.
5 is the Enable/disable Channels command.
VV are two hexadecimal values. The values are interpreted
by the module as two binary words (4-bit). The first word
represents t he status o f c hannel 4~ 7, a nd t he sec ond word
represents the status of cha nnel 0~ 3. Value 0 m eans the
channel is disabled, value 1 means the channel is enabled.
(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 e rror or if the s pecified a ddress does not
exist.
!
delimiter character indic ates a valid comm and was
received.
? delimiter character indicates the command was invalid.
AA (range 00-FF) represents the 2-character he xadecimal
address of an analog input module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $00581(cr)
response: !00(cr)
Hexadecimal 8 eq uals binary 1000, which enables channel
7 and disables channels 4, 5, and 6.
Hexadecimal 1 eq uals binary 0001, which enables channel
0 and disables channel 1, 2, and 3.