5-16
ADAM 4000 Series Use r’s Manual
4015, 4015T, 4017, 4017+, 4018,
4018+, 4018M, 4019+
$AA5VV
Name Enable/disable Channels for Multiplexing command
Description Enables/disables multiplexing simultaneously for separate
channels of a specified input module.
Syntax $AA5VV(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
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 the status of channel 4~7, and the second word
represents the status of channel 0~3. Value 0 means 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 erro r or
communication error or if the specified address does not
exist.
! delimiter character indicates a valid command was
received.
? delimiter character indicates the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $00581(cr)
response: !00(cr)
Hexadecimal 8 equals binary 1000, which enables channel
7 and disables channels 4, 5, and 6.
Hexadecimal 1 equals binary 0001, which enables channel
0 and disables channel 1, 2, and 3.