beautypg.com

ADLINK ND-6067 User Manual

Page 204

background image

202

6.7.7 Set Maximum Counter Value

@Description

Set the maximum counter value of counter 0 or counter 1.

@Syntax

$(Addr)3(CounterNo)(MaxData)

$

Command leading code.

(Addr)

Address ID (2-character)

3

Maximum counter value command.

(CounterNo)

0: counter 0
1: counter 1

(MaxData)

The maximum counter value which consists of 8
hexadecimal digits. When counting value exceeds the
maximum counter value, an overflow flag status will
set.

@Response

!(Addr)

or

?(Addr)

!

Command is valid.

?

Command is invalid.

(Addr) Address

ID.

@Example

User command:

$303000010000

Response:

!30

Item Meaning

Description

$

(Leading Code)

Command leading code.

30

(Addr)

Address ID is 30H.

3

Set maximum counter value.

0 (CounterNo)

Counter

0.

00010000 (MaxData)

65536(0x00010000)

(6080)