Chapter 6

$aaSiCj3hh

Name Trim Calibration

Description Trims the specified channel a specified number of units

 

up or down

Syntax

$aaSiCj3hh(cr)

 

$ is a delimiter character.

 

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

 

address of the ADAM-5000 system.

 

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

 

3 is the trim calibration command.

 

hh is the 2-character twos complement hexadecimal

 

value that represents the number of counts by which to

 

increase or decrease the output current. Each count

 

equals approximately 1.5µA. Values range from 00 to 5F

 

and from A1 to FF (hexadecimal), where 00 represents 0

 

counts, 5F represents +95 counts, A1 represents -95

 

counts and FF represents -1 counts. Negative values

 

decrease and positive numbers increase the output

 

current according to the number of counts.

 

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

Response

!aa(cr) if the command is valid.

 

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.

 

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

 

address of an ADAM-5000 system.

ADAM-5000

6-103

Page 168
Image 168
Advantech 5000 Series user manual Syntax $aaSiCj3hhcr