beautypg.com

ADLINK ND-6063 User Manual

Page 88

background image

80

• Command Set

@Examples

Example for NuDAM-6050 :

User command:

$304

Response:

!1065200

!

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

Response:

!10C0F010203

!

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.