ADLINK ND-6054 User Manual

Page 88

Advertising
background image

80

Command Set

@Examples

Example for NuDAM-6050 :

User command:

$304<CR>

Response:

!1065200<CR>

!

Command is valid.

1

Data has not been sent before.

06

06 (00000110) means digital output channel 1,2
are ON, channel 0,3,4,5,6,7 are OFF.

52

52(01010010) means digital input channel 1,4, 6
are HIGH, channel 0,2,3,5,7 are LOW..

Example for NuDAM-6058 :

User command:

$304<CR>

Response:

!10C0F010203<CR>

!

Command is valid.

1

Data has not been sent before.

0C

Port A and B are input mode, high and low half
byte of port C are output mode.

0F

Channel 0,1,2,3 of digital input is HIGH.

01

01 (00000001) means port A digital input channel
0 is HIGH, others are LOW.

02

02 (00000010) means port B digital input channel
1 is HIGH, others are LOW.

03

03 (00000011) mean port C digital output
channel 0,1 are ON, others are OFF.

Advertising