15 last value readback – ADLINK ND-6024 User Manual

Page 45

Advertising
background image

Command Set

39

3.15 Last Value Readback

@Description

Return the latest analog output value which is set by “Analog Data Out”
command. If the analog output module never execute the “Analog Data
Out” command then it return the start-up output value. (only 6021)

@Syntax

$(Addr)6<CR>

$(Addr)6(Port)<CR> (6024 Only)

$

Command leading code. (1-character)

(Addr)

Address ID. (2-character)

6

Function code of last value readback.
(1-character)

(Port)

Port A, B, C or D.

@Response

!(Addr)(Data)<CR>

or

?(Addr)<CR>

!

Command is valid.

?

Command is invalid.

(Addr)

Address ID.

(Data)

The current analog output value, the data format
depends on module configuration.

@Example

User command:

$086<CR>

Response:

!0802.000<CR>

This analog output module return the latest output value is 2.000 mA at
address 08H, if data format is engineering units and the signal range is
0~20mA.

Advertising