beautypg.com

ADLINK ND-6024 User Manual

Page 37

background image

Command Set

31

3.8 Read Synchronized Data (6024 only)

@Description

After a synchronized sampling command #** was issued, you can read the
input value that was stored in the addressed module’s register and use
same method to process other module‘s data one by one.

@Syntax

$(Addr)9

$

Command leading code.

(Addr)

Address ID.

9

Read synchronized data.

@Response

!(Status)(DataIn)

or

?(Addr)

>

Command is valid.

?

Command is invalid.

(Status)

0 : Data has been sent at least once before.
1 : Data has been sent for the first time since a
synchronized sampling command was
issued.(1-character)

(DataIn)

Value of digital input channel. (2-character).

@Examples

User command:

$309

Response:

>17F

>

Command is valid.

1

Data has not been sent before.

7F

7F(01111111) means digital input channel
0,1,2,3,4,5,6 are HIGH.