Advantech ADAM 4100 User Manual page 55

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

Advertisement

4.4.7
$AA5VV
Name
Enable/disable channels for multiplexing
Description
Enables/disables multiplexing simultaneously for
separating 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 the two hexadecimal values which are interpreted
as two binary words (4-bit) by the module. 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 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 an analog input module.
(cr) is the terminating character, carriage return (0Dh).
Example
command:
response:
Hexadecimal 8 equals to binary 1000, which enables
channel 7 and disables channels 4, 5, and 6.
Hexadecimal 1 equals to binary 0001, which enables
channel 0 and disables channel 1,2, and 3.
$00581(cr)
!00(cr)
Chapter 4 Command Set 4-17
4
Chapter

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents