Chapter  3  Analog  Output  Module  AH04DA/AH08DA 
3-7 
Example 1: 
The outputs sent by a channel are voltages in the range of -10.0 V to +10.0 V. The original signals 
are used. The gain is 1, and the offset is 0. The digital value received by the channel is 0, and the 
voltage measured is -0.05 V. The digital value received by the channel is 10, and the voltage 
measured is 9.95 V. Users can calibrate the channel by calibrating the gain and the offset. 
 
The users can get the gain for the calibration by means of the equations below. 
Gain=(Y2-Y1)/(X2-X1)=[9.95-(-0.05)]/(10-0)=1 
Gain used for calibration=1/Gain=1/1=1 
 
The users can get the offset for the calibration by means of the equations below. 
Offset=Y1= -0.05 
Offset used for calibration=0-Y1=0.05 
 
(X: Digital value; Y: Analog signal) 
 
Example 2: 
The outputs sent by a channel are voltages in the range of -10.0 V to +10.0 V. The original signals 
are used. The gain is 1, and the offset is 0. The digital value received by the channel is 0, and the 
voltage measured is 0 V. The digital value received by the channel is 10, and the voltage measured 
is 10.1 V. Users can calibrate the channel by calibrating the gain and the offset. 
 
The users can get the gain for the calibration by means of the equations below. 
Gain=(Y2-Y1)/(X2-X1)=[10.1-0]/(10-0)=1.01 
Gain used for calibration=1/Gain=1/1.01=0.99 
 
The users can get the offset for the calibration by means of the equations below. 
Offset=Y1=0 
Offset used for calibration=0-Y1=0 
10 V 
(X2, Y2) (10, 9.95 V) 
(X1, Y1) (0, -0.05 V) 
-10 V 
Ori
inal si
nals 
Signals after the calibration 
Voltage (Y) 
 
10 
-10 
Digital value (X)