Advantech Data Acquisition Modules ADAM 4000 User Manual page 272

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4080D
$AA8V
Name
Select LED Data Origin command
Description
Select whether LED will display data from either the host
computer or the counter/frequency module directly.
Syntax
$AA8V(cr)
$
AA
address that you will access to.
8
V
on the LED:
V=0 sets the LED data origin to the module's counter 0
V=1 sets the LED data origin to the module's counter 1
V=2 sets the LED data origin to the host computer
(cr)
Response
!AA(cr)
?AA(cr)
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
?
command.
AA
address of the module.
(cr)
Example
command: $0182(cr)
response:
The command sets the counter/frequency modules at
address 01 to display data sent by the host computer. After
this command has been issued, the host computer can use
command $AA9(data) to send the data to the module.
7-37 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Select LED Data Origin command.
indicates the origin of the data which is to be displayed
is the terminating character, carriage return (0Dh)
if the command is valid.
if an invalid operation was entered.
is a delimiter character which indicates a valid command.
is a delimiter character which indicates an invalid
(range 00-FF) represents the 2-character hexadecimal
is the terminating character, carriage return (0Dh).
!01(cr)
7
Chapter

Advertisement

Table of Contents
loading

Table of Contents