Chapter 6

 

 

$aaSiCjArrff

$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.

 

 

rr represents the 2-character hexadecimal code of the

 

output range. (See Appendix B)

 

 

ff is 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)

Response

!aa(cr) if the command is valid.

 

 

?aa(cr) if an invalid operation was entered.

There is no response if the module detects a syntax error or communication error or if the specified address does not exist.

! delimiter character indicating a valid command was received.

ADAM-5000

6-91

Page 213
Image 213
Advantech RS-485 user manual Syntax $aaSiCjArrffcr, Other bits are not used and are set to