Chapter 6

$aaSiCjArrff

Name Configuration

Description Sets the output range, data format and slew rate for a specified channel of a specified analog output module in a specified system.

Syntax $aaSiCjArrff(cr)

$ is a delimiter character.

aa(range 00-FF) represents the 2-character hexadecimal address of the ADAM-5000 system you want to configure.

SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j : 0 to 3) of the module you want to configure.

A is I/O module configuration command.

rrrepresents the 2-character hexadecimal code of the output range. (See Appendix B)

ffis a hexadecimal number that equals the 8-bit parame- ter 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-4Data format for 8-bit parameters

ADAM-5000

6-91

Page 156
Image 156
Advantech 5000 Series user manual Syntax $aaSiCjArrffcr