Chapter 6

$aaSiAFFff

Name

Set Data Format

Description Sets the data format in engineering units or in two's complement format for a specified analog input module in a specified system.

Syntax

$aaSiAFFff

 

$ is a delimiter character.

 

aa (range 00-FF) represents the 2-character hexadecimal

 

address of the ADAM-5000 system you want to

 

configure.

 

Si identifies the I/O slot of the ADAM-5000 system

 

containing the ADAM-5017H module you want to

 

configure.

 

AFF represents the set data format command.

 

ff represents the 2-character hexadecimal code of the

 

data format. 00 is for engineering unit format. 02 is for

 

two’s complement format.

Note:

Each channel in an ADAM-5017H / 5017UH module

 

may be set to a different range, but the data formats

 

of all channels in this module must be the same.

 

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

 

? delimiter character indicating the command was

 

 

ADAM-5000

6-63

Page 128
Image 128
Advantech 5000 Series user manual Syntax $aaSiAFFff