beautypg.com

9 read synchronized data – ADLINK ND-6017 User Manual

Page 54

background image

46

Command Set

3.9 Read Synchronized Data

@Description

After a synchronized sampling command #** was issued, you can read
the sampled value that was stored in the register of the module at
specified address.

@Syntax

$(Addr)4>

$

Command leading code.

(Addr)

Address ID

4

Read synchronized data.

@Response

>(Addr)(Status)(Data)
or
?(Addr)>

>

Command is invalid.

?

Command is invalid or no synchronized sampling
command was issued.

(Addr)

Address ID.

(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)

(Data)

There are four types of Data format, refers to
Chapter 4 for details.

@Examples

User command:

$064

Response:

>060+1.6888

Read synchronized data at address 06H, analog input module send its
analog input data +1.6888 (units). Status is 0 means it has sent the
same data at least once. The current units is set by the data format.

User command:

$064

Response:

>061+1.6888

Read synchronized data at address 06H, analog input module send its
analog input data +1.6888 (units). Status is 1 means it is the first time
that the data has been sent. The current units is set by the data format

(6011/D, 6012/D, 6014D)