181 ADAM-4000 Series User Manual
Chapter 6 Analog Output Module Commands
4021
6.1.4 $AA3
Name Trim Calibration command
Description Trim the address of analog output module for a specific
number of units up or down.
Syntax $AA3(number of counts)(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address which is to be calibrated.
3 is the Trim Calibration Command.
(number of counts) is the 2-character two’s complement
hexadecimal value that represents the number of counts
increasing or decreasing the output current. Each count
equals to approximately 1.5 ?A. Values range from 00 to
5F and A1 to FF (hexadecimal). The 00 represents 0 counts,
5F represents +95 counts, A1 represents -95 counts and FF
represents -1 count. Negative values decrease the output
current according to the number of counts. On the other
hand, the positive values do the opposite.
(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 or
communication error, or even if the specified address does not exist.
! delimiter character indicates that a valid command was received
AA (range 00-FF) represents the 2-character hexadecimal
address of the analog output module.
(cr) is the terminating character, carriage return (0Dh).
Example command: $07314(cr)
response: !07(cr)
The command tells the analog output module at address
07h to increase its output value by 20 (14h) counts which
are approximately 30 µA.
The analog output module confirms the increase.
In order to perform this trim calibration, a millimeter or a
resistor and voltmeter should be connected to the module’s
output. (Please see the 4 mA Calibration command and 20
mA Calibration command of the analog output module’s
command set. Please also refer to Chapter 8, Calibration
for a detailed description.)