beautypg.com

8 digital output – ADLINK ND-6060 User Manual

Page 77

background image

Command Set

• 69

3.8

Digital Output

( 6050, 6060, 6063 )

@Description

Set digital output channel value at specified address. This command is
only available to modules involving the digital output function.

@Syntax

#(Addr)(ChannelNo)(OutData) (6050,6060,6063 Only)

#

Command leading code. (1-character)

(Addr)

Address ID (2-character)

(ChannelNo)

00 : Set value to all channels
1X : Set value to single channel

First character is 1, Second character is
channel number. (2-character)

(OutData)

Set value to all channels :
Each bit is mapping to each channel number
Set value to single channel :
First character is 0, second character is set to value 0
or 1. (2-character)

@Response

or

?(Addr)

>

Command is valid

?

Command is invalid.

(Addr)

Address ID.

@Example

User command:

#300003

Response:

>

30

Address ID

00

Set output to all channels

03

03 (00000011), Channel 0 and 1 are set ON other
channels are set to OFF