beautypg.com

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

Page 131

background image

Chapter 6

Planning Your Application Program

$aaSiArrff

Name

Configuration

Description

Sets slot index, input range, data format and integra-

tion time for a specified analog input module in a
specified system.

Syntax $aaSiArrff(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.

Si identifies the I/O slot you want to configure. A is
I/O module configuration command. rr represents the
2-character hexadecimal code of the input range. (See
Appendix B)

ff is a hexadecimal number that equals the 8-bit pa-
rameter representing data format. Bits 0 and 1 repre-
sent data format. Bit 7 represents integration time.
The layout of the 8-bit parameter is shown in Figure
6-3. The other bits are not used and are set to 0.

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















Figure 6-4: Data format for 8-bit parameters




6-64

ADAM-5000/TCP User’s Manual