beautypg.com

Chapter 6 – B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 200

background image

Planning Your Application Program

#aaSiCj(data)

Name

Analog Data Out

Chapter 6





Description

Sends a digital value from the host computer to a

specified channel of a specified slot in a specified
ADAM-5000/TCP system for output as an analog
signal. Upon receipt, the analog output module in
the specified slot will output an analog signal corre-
sponding to the digital value received.

Syntax #aaSiCj(data)(cr)

# is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal Modbus network address of the ADAM-5000/
TCP system. SiCj identifies the I/O slot i (i : 0 to 7)
and the chan- nel j (j : 0 to 3) of the analog output
module that is to output an analog signal.

(data) is a digital value incoming to the module, which
corresponds to the desired analog output value (al-
ways in engineering units) to be output
from the module. The analog value output will
depend on the module’s range configuration. (See
also Appendix B, Data Formats and I/O Ranges)

(cr) is the terminating character, carriage return (0Dh)

Response >(cr)

if the command is valid.

?aa (cr) if a value was sent that is out of range. Note
that when the analog output module receives such a
value, it will try to use a value that is close to the one
received, but within the module’s configured range.
There is no response if the module detects a syntax
error or communication error or if the specified ad-
dress does not exist.


ADAM-5000/TCP User’s Manual


6-131