18 read channel status – ADLINK ND-6017 User Manual

Page 63

Advertising
background image

Command Set

55

3.18 Read Channel Status

@Description

Read the enable/disable status the channels of ND-6013, ND-6017 or
6018.

@Syntax

$(Addr)6<CR>

$

Command leading code. (1-character)

(Addr)

Address ID (2-character)

6

Read channel status. (1-character)

@Response

!(Addr)(ChannelVal)<CR>
or
?(Addr)<CR
>

!

Command is invalid.

?

Command is invalid.

(Addr)

Address ID.

(ChannelVal)

bit 3~0 of 1st character: controlt channel 7 - 4.
bit 3~0 of 2nd character: control channel 3 - 0.
bit value 0: Disable channel
bit value 1: Enable channel (2-character)

@Example

User command:

$066<CR>

Response:

!0648<CR>


4 is equals binary 0100 that means enable channel 6 and disable
channel 7, 5, 4.
8 is equals binary 1000 that means enable channel 3 and disable
channel 2, 1, 0.

(6013, 6017, 6018)

Advertising