Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 274

Advertising
background image

Chapter

7


7-39 ADAM 4000 Series User’s Manual

$AA9(data)

Name

Send Data to LED command

Description

The host computer sends data to the addressed module to
display on its LED.

Syntax

$AA9(data)(cr)

$

is a delimiter character.

AA

(range 00-FF) represents the 2-character hexadecimal

address that you will access to.

9

is the Send LED Data command.

(data)

is a floating point numeral consisting of five digits,

and there can be a decimal point. Its maximum value is
99999.

(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 which indicates a valid command.

?

is a delimiter character which indicates an invalid

command.

AA

(range 00-FF) represents the 2-character hexadecimal

address of a counter/frequency module.

(cr)

is the terminating character, carriage return (0Dh).

Example

command: $0198999.9(cr)
response: !01(cr)

The command requests the host computer to send 8999.9 to
the counter/frequency module at address 01 for LED
display. This command is only valid after the command
$0182 has been issued.

4080D

Advertising