beautypg.com

ADLINK ND-6067 User Manual

Page 228

background image

226

6.7.31 Set Digital Output Values

@Description

Set the value (ON or OFF) of the 2 channel digital outputs.

@Syntax

@(Addr)DO(DoData)

@

Command leading code.

(Addr) Address

ID

DO

Set digital data output command code.

(DoData)

00: DO0 is OFF, DO1 is OFF
01: DO0 is ON, DO1 is OFF
02: DO0 is OFF, DO1 is ON
03: DO0 is ON, DO1 is ON

@Response

!(Addr)

or

?(Addr)

!

Command is valid.

?

Command is invalid.

(Addr) Address

ID.

@Example

User command:

@30DO01

Response:

!30

Item Meaning

Description

@

(Leading Code)

Command leading code.

30

(Addr)

Address ID is 30H.

DO

Set digital data output.

01

(D0Data)

DO0 is ON, DO1 is OFF

(6080)