Mitsubishi Melsec FX-4AD User Manual page 11

Special function block
Table of Contents

Advertisement

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
M0
TO
P
K0
K0
TO
P
K0
K21
TO
K0
K22
T0
TO
P
K0
K23
TO
P
K0
K24
TO
P
K0
K22
T1
TO
P
K0
K21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
• Adjustment start.
SET
M0
• (H0000) → BFM #0 (initialize input channels)
H0000
K1
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
K1
K1
permit with (b1, b0) = (0,1).
• (K0) → BFM #22 (offset/gain adjust)
K0
K1
Reset adjust bits.
T0
K4
• (K0) → BFM #23 (offset)
K0
K1
• (K2500) → BFM #24 (gain)
K2500
K1
• (H0003) → BFM #22 (offset/gain adjust)
H0003
K1
3 = 0011 i.e.
Therefore channel 1 is adjusted.
T1
K4
• Adjustment end.
RST
M0
• (K2) → BFM #21
K2
K1
BFM #21 gain/offset adjust prohibit.
O1 = 1,
G1 = 1.

Advertisement

Table of Contents
loading

Table of Contents