Chapter 6, Planning your application program – B&B Electronics ADAM-5000_TCP - Manual User Manual
Page 206

Planning Your Application Program
$aaSiCj3hh
Name
Trim Calibration
Chapter 6
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 hexadeci-
mal address of the ADAM-5000/TCP system. SiCj
identifies the I/O slot i (i : 0 to 7) and the chan- nel 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 in-
crease 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 ad- dress
does not exist.
! delimiter character indicating a valid command was
received.
aa (range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system.
ADAM-5000/TCP User’s Manual
6-137