beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 258

background image

Chapter

7


7-23 ADAM 4000 Series User’s Manual

$AAE0

Name

Read and Clear over Current Status Flag command

Description Read the Over Current Status Flag and Clear the Flag

simultaneously.

Syntax

$AAE0(cr)

$

is a delimiter character.

AA

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

address that you will access to.

E0

is the Read and Clear over Current Status Flag command.

(cr)

is the terminating character, carriage return (ODh).

Response

!AAX(cr):

if the command is valid.

?AA(cr):

if an invalid command has been issued.

X

is one-hexadecimal character (range from 0 to 7)

X=0: No over current occur

X=1: DO0~3 has over current occurred

X=2: DO4~7 has over current occurred

X=4: DO8~11 has over current occurred

!

is a delimiter character which indicates a valid command

?

is a delimiter character which indicates an invalid command

(cr)

is the terminating character, carriage return (ODh).

4056SO