5.2 Using gain and offset in a program
The gain and offset of the FX-4AD can be adjusted using push-button switches on the input terminal of the PC.
It can also be adjusted using software settings sent from the PC.
Only the gain and offset values in the memory of the FX-4AD need be adjusted. A voltmeter or an ammeter
for the analog input is not needed. A program for the PC will be needed however.
The following is an example of changing the offset value on input channel CH1 to 0V and the gain value to 2.5V.
The FX-4AD block is in the position of block No.0 (i.e. closest to the FX base unit).
Example: Adjusting gain/offset via software settings
X010
SET
M0
• Adjustment start.
M0
TO
P
K0
K0
H0000
K1
TO
P
K0
K1
K1
K21
• (H0000)
→
BFM #0 (initialize input channels)
Enter the instructions on the left and RUN the PC with
the MODE switch of the FX-4AD set to READY.
• (K1)
→
BFM #21
BFM #21 (gain/offset adjust prohibit) must be set to
permit with (b1, b0) = (0,1).
TO
K0
K0
K22
• (K0)
→
BFM #22 (offset/gain adjust)
Reset adjust bits.
K1
T0
K4
T0
TO
P
K0
K23
K0
K1
TO
P
K0
K2500
K1
K24
TO
P
K0
H0003
K1
K22
T1
K4
• (K0)
→
BFM #23 (offset)
• (K2500)
→
BFM #24 (gain)
• (H0003)
→
BFM #22 (offset/gain adjust)
3 = 0011 i.e. O1 = 1, G1 = 1.
Therefore channel 1 is adjusted.
RST
M0
TO
P
K0
K21
K2
K1
T1
• Adjustment end.
• (K2)
→
BFM #21
BFM #21 gain/offset adjust prohibit.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com