Advantech Data Acquisition Modules ADAM 4000 User Manual page 273

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4080D
$AA8
Name
Read LED Data Origin command
Description
Read the LED Data Origin status which determines whether
LED will display data from either the host computer or the
counter/frequency module directly.
Syntax
$AA8(cr)
$
AA
address that you will access to.
8
(cr)
Response
!AAV(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.
V
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)
Example
command: $018(cr)
response:
The command requests the counter/frequency module at
address 01 to return its LED Data Origin status. The
module replies that it currently displays data from counter
1.
7-38 ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Read LED Data Origin command.
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
indicates the origin of the data to be displayed on the
is the terminating character, carriage return (0Dh).
!011(cr)
Digital I/O and Relay Output
Counter/Frequency Command Set

Advertisement

Table of Contents
loading

Table of Contents