Advantech ADAM 4100 User Manual page 65

Industrial grade data acquisition modules
Hide thumbs Also See for ADAM 4100:
Table of Contents

Advertisement

4.4.17
$AAMD
Name
Read Software Filter channel Enable/Disable
Description
This command reads the
(Enable/disable)
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
(Enable/disable)
(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.
Software
of
all Channels for Multiplexing
Software
of
all Channels for Multiplexing
Chapter 4 Command Set 4-27
Chapter
Filter status
Filter status of
command.
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents