8 digital output – ADLINK ND-6054 User Manual

Page 77

Advertising
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)<CR> (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

<CR>

or

?(Addr)<CR>

>

Command is valid

?

Command is invalid.

(Addr) Address

ID.

@Example

User command:

#300003<CR>

Response:

><CR>

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

User command:

#2F1201<CR>

Response:

><CR>

Advertising