beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 295

background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-60 ADAM 4000 Series User’s Manual

7.2.4 Digital Output and Alarm Command Set

Command Syntax

Command Name

Description

I/O Module

@AAPN(data)

Set Initial Count Value
of Counter N

Sets the inital count value of
the module for counter 0 or
counter 1

4080

@AAGN

Read Initial Count
Value of Counter N

Read the initial count value of
counter 0 or counter 1

4080

@AAEAN Enable

Alarm

of

Counter N

Enable alarm for the specified
counter 0 or counter 1

4080

@AADAN Disable

Alarm

of

Counter N

Disable alarm for the specified
counter 0 or counter 1

4080

@AAPA(data) Set

Alarm

Limit

Value

of Counter 0

Download the alarm limit value
for counter 0 of the specified
module

4080

@AASA(data) Set

Alarm

Limit

Value

of Counter 1

Download the alarm limit value
for counter 1 of the specified
module

4080

@AARP Read

Alarm

Limit

Value of Counter 0

Ask the module to return the
alarm limit value of counter 0

4080

@AARA Read

Alarm

Limit

Value of Counter 1

Ask the module to return the
alarm limit value of counter 1

4080

@AADO(data) Set

Digital

Output

Values

Set the values of the module's
two digital outputs (ON or OFF)

4080,
4080D

@AADI Read

Digital

Output

and Alarm Status

Ask the addressed module to
return the state of its two digital
output channels and the status
of its alarm

4080,
4080D

(Continued on next page)