beautypg.com

Advantech Data Acquisition Modules ADAM 4000 User Manual

Page 289

background image

Digital I/O and Relay Output

Counter/Frequency Command Set


7-54 ADAM 4000 Series User’s Manual

$AA0L(data)

Name

Set Minimum Input Signal Width at Low Level command

Description

Set the minimum input signal width at low level for a
specified counter/frequency module to filter noise.

Syntax

$AA0L(data)(cr)

$

is a delimiter character.

AA

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

address that you will access to.

0L

is the Set Minimum Input Signal Width at Low Level

command.

(data)

is the minimum width at low level. The unit is in

μsec (microseconds) and its resolution is 1 μsec. The
format is a five digit integer that can range from 2

μsec to

65535

μsec. Out of range values will cause errors.

(cr)

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

Response

!AA(cr)

if the command is valid. The addressed module

stores the value and will identify the input signal “low”
only if the input signal continues to be “low” longer than
the specified time.

?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 the module.

(cr)

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

Example

command: $050L00084(cr)
response: !05(cr)
The command requests the counter/frequency module at
address 05 to set the minimum input width at low level to
84

μsec. The module stores the value and will identify an

input signal to be "low” only if the signal continues to be
“low” longer than 84

μsec. This function can be used as

digital filter.

4080, 4080D