EasyManua.ls Logo

Advantech ADAM 4100 - Page 65

Advantech ADAM 4100
149 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4
Chapter 4 Command Set
4-27
4.4.17
$AAMD
Name Read Software Filter channel Enable/Disable
Description This command reads the
Software Filter status
(Enable/disable) of all Channels for Multiplexing
Syntax #AAMD(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be read.
MD represents the reading
Software Filter status of
(Enable/disable) of all Channels for Multiplexing command.
(cr) is the terminating character, carriage return (0Dh).
Response !AAmm (cr) if the command was valid.
?AA(cr) if an invalid operation was entered.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
! is a delimiter character indicating that a valid command
was received.
? is a delimiter character indicating that the command was
invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog input module.
mm are the two hexadecimal values which are interpreted
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) represents terminating character, carriage return (0Dh).
Example command: $01MD(cr)
response: !0132(cr)
Hexadecimal 3 equals to binary 0011, which enables
software filter channels 4, 5 and disables channels 6, 7.
Hexadecimal 2 equals to binary 0010, which enables
software filter channel 1 and disables channels 0, 2, 3.