beautypg.com

ADLINK ND-6063 User Manual

Page 91

background image

Command Set

• 83

@Example

Example for NuDAM-6050 :

User command:

$306

Response:

!321100

!

Command is valid.

32

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

11

11 (00000011) means digital input channel 0,
1 are HIGH and channel 2, 3, 4, 5, 6, 7 are LOW.

00

No used

Example for NuDAM-6058 :

User command:

$304

Response:

!0C0F010203

!

Command is valid.

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.