beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 197

background image

Chapter 6

Planning Your Application Program

$aaSiCjArrff

Name

Configuration

Description

Sets the output range, data format and slew rate for a

specified channel of a specified analog output mod-
ule in a specified system.

Syntax $aaSiCjArrff(cr)

$ is a delimiter character.

aa (range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system
you want to configure. SiCj identifies the I/O slot i (i :
0 to 7) and the channel j (j : 0 to 3) of the module you
want to configure. A is I/O module configuration
command. rr represents the 2-character hexadecimal
code of the output range. (See Appendix B)

ff is a hexadecimal number that equals the 8-bit pa-
rameter representing the status of data format and
slew rate. Bits 0 and 1 represent data format. Bits
2,3,4,5 represent slew rate. The layout of the 8-bit
parameter is shown in Figure 6-4. The other bits are
not used and are set to 0.

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
















Figure 6-5: The other bits are not used and are set to 0.


6-128

ADAM-5000/TCP User’s Manual