HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
7. Change and adjustment method of input/output characteristic
7.1 Change in input/output characteristic
At shipment, 0 to 250 range selected for 0 to 10V DC input/output.
When using an FX
0N
-3A for current input/output or differing voltage input/output except 0 to 10V DC, it is
necessary to readjust the offset and gain.
The module does not allow different input characteristics for two channels.
Set analog values from 0 to 250 digital equivalent within the range specified in the table below when
changing the input/output characteristic.
Range of allowance of input/output characteristic
Resolution changes depending on the set value when the input/output characteristic is changed.
Example: Resolution becomes (5 to 0V)/250=20mV at voltage input 0 to 5V/0 to 250.
Overall accuracy does not change. (Voltage input
:
±
0.1V, Current input:
±
0.16mA)
7.2 Method of Calibration(A/D)
Both analog input channels share the same ‘setup’ and configuration. Hence only one channel needs to
be selected to perform the calibration for both analog input channels.
Use the following program and the appropriate wiring configuration to calibrate input channel 1 (and
indirectly channel 2) of the FX
0N
-3A.
7.2.1 Input Calibration Program
7.2.2 Calibrating the Offset
1) Run the previously detailed program. Ensure X02 is ON.
2) Generate an offset voltage/current (in accordance with the analog operation range to be selected, see
table below) using the selected generator or analog output.
3) Adjust the A/D OFFSET potentiometer (‘pot’) until a digital value of 1 is read in D00.
Note : Turn the ‘pot’ clockwise and the digital value will increase. The ‘pot’ requires 18 revolutions to
move between the minimum and maximum settings.
7.2.3 Calibrating the Gain
1) Run the previously detailed program. Ensure X02 is ON.
2) Generate a gain voltage/current (in accordance with the analog operation range to be selected, see
table below) using the selected generator or analog output.
3) Adjust the A/D GAIN potentiometer (‘pot’) until a digital value of 250 is read in D00.
Note 1: Turn the ‘pot’ clockwise and the digital value will increase. The ‘pot’ requires 18 revolutions to
move between the minimum and maximum settings.
Note 2: When necessary to maximize the 8 bit resolution, the digital value used in the gain adjustment
(detailed above) should be replaced with 255. This section has been written to demonstrate 250
full scale calibration.
Voltage
input
Current
input
Voltage
output
Current
output
Analog value when digital value is 0
0 to 1V
0 to 4mA
0V
4mA
Analog value when digital value is 250
5 to 10V
20mA
5 to 10V
20mA
Analog input range
0-10V DC
0-5V DC
4-20mA DC
Offset calibration value
0.040V
0.020V
4.064mA
Analog input range
0-10V DC
0-5V DC
4-20mA DC
Gain calibration value
10.000V
5.000V
20.000mA
P
O
W
E
R
D
/A
G
A
IN
A
/D
O
FF
S
E
T
A
/D
G
A
IN
D
/A
O
FF
S
E
T
V
I N
2
C O M 2
C O M 1
I
I N
1
I
I N
2
V
I N
1
V
+
+
P
O
W
E
R
D
/A
G
A
IN
A
/D
O
FF
S
E
T
A
/D
G
A
IN
D
/A
O
FF
S
E
T
V
I N
2
C O M 2
C O M 1
I
I N
1
I
I N
2
V
I N
1
C O M
V
V
O U T
I
O U T
+
P
O
W
E
R
A
/D
O
FF
S
E
T
A
V
I N
2
C O M 2
C O M 1
I
I N
1
I
I N
2
V
I N
1
+
P
O
W
E
R
D
/A
G
A
IN
A
/D
O
FF
S
E
T
A
/D
G
A
IN
D
/A
O
FF
S
E
T
A
V
I N
2
C O M 2
C O M 1
I
I N
1
I
I N
2
V
I N
1
C O M
V
O U T
I
O U T
+
V o l t m e t e r
C u r r e n t g e n e r a t o r
A / D G A I N
D / A O F F S E T
D / A G A I N
V o l t a g e g e n e r a t o r
E x t e r n a l
v o l t a g e
i n p u t
I n t e g r a l
v o l t a g e
i n p u t
E x t e r n a l
c u r r e n t
i n p u t
I n t e g r a l
c u r r e n t
i n p u t
A m m e t e r
A / D O F F S E T
TO
K0
K17
H00
K1
K0
K17
H02
K1
K0
K0
D0
K1
TO
X02
FROM
7.3 Method of Calibration(D/A)
Use the following program and the appropriate wiring configuration to calibrate the output channel of the
FX
0N
-3A
7.3.1 Output Calibration Program
7.3.2 Calibrating the Offset
1) Run the previously detailed program. Ensure X00 is ON and X01 is OFF.
2) Adjust the D/A OFFSET potentiometer (‘pot) until the selected meter displays the appropriate offset
voltage/current (in accordance with the analog operation range selected, see table below).
Note: Turn the ‘pot’ clockwise and the analog output signal will increase. The ‘pot’ requires 18 revolutions
to move between the minimum and maximum settings.
7.3.3 Calibrating the Gain
1) Run the previously detailed program. Ensure X00 is OFF and X01 is ON.
2) Adjust the D/A GAIN potentiometer (‘pot’) until selected meter displays the appropriate gain voltage/
current (in accordance with the analog operation range selected, see table below).
Note 1: Turn the ‘pot’ clockwise and the analog output signal will increase. The ‘pot’ requires 18
revolutions to move between the minimum and maximum settings
Note 2: When it is necessary to maximize the 8 bit resolution, the digital value used in the gain adjustment
(detailed above) should be replaced with 255. This section has been written to demonstrate a 250
full scale calibration.
8. Program example
8.1 Using Analog Inputs
The buffer memories (BFM) of the FX
0N
-3A are written TO or read FROM by the host PLC. The following
program reads the analog input from channel 1 of the FX
0N
-3A when M0 is ON, and the analog input data
of channel 2 when M1 is ON.
(H00) is written to BFM#17, selecting A/D input channel 1.
(H02) is written to BFM#17 starting the A/D conversion process for
channel 1.
BFM#0 is read, storing the current value of channel 1 in register
D00
(H01) is written to BFM#17 now selecting A/D input channel 2.
(H03) is written to BFM#17 to re-start the A/D conversion process,
but for channel 2.
BFM#0 is read, storing the current value of channel 2 in register
D01.
The time T
AD
required to read an analog input channel is calculated as follows:
T
AD
= (TO instruction processing time)
×
2 + (FROM instruction processing time)
Note : The 3 (TO/FROM) command format shown above should always be used when reading data from
the FX
0N
-3A’s analog input channels.
Analog output range
0-10V DC
0-5V DC
4-20mA DC
Offset calibration meter value
0.040V
0.020V
4.064mA
Analog
output range
0-10V DC
0-5V DC
4-20mA DC
Gain calibration meter value
10.000V
5.000V
20.000mA
D/A
GAIN
A/D
GAIN
D/A
OFFSET
V
CO
M
V
OU
T
I
OU
T
+
D/A
GAIN
A/D
GAIN
D/A
OFFSET
A
CO
M
V
OU
T
I
OU
T
+
Voltage
output
Current
output
Voltmeter
Ammeter
TO
K0
K16
K1
K1
K0
K17
H04
K1
K0
K17
H00
K1
TO
X00
TO
X01
TO
K0
K16 K250
K1
K0
K17
H04
K1
K0
K17
H00
K1
TO
TO
X00
X01
TO
K0
K17
H00
K1
K0
K17
H02
K1
FROM
K0
K0
D00
K1
TO
TO
K0
K17
H01
K1
K0
K17
H03
K1
FROM
K0
K0
D01
K1
TO
M0
M1
8.2 Using Analog Outputs
The buffer memories (BFM) of the FX
0N
-3A are written TO, or read FROM by the host PLC. In the
following program, when M0 is turned ON the D/A conversion process is executed and an analog signal
equivalent to the digital value stored in this example, is output to register D02
The contents of D2 are written to BFM#16. This will be converted to
an analog output.
(H04) is written to BFM#17 to start the D/A conversion process.
The time T
AD
required to write an analog input channel is calculated as follows:
T
AD
= (TO instruction processing time)
×
3
Note : The 3 (TO) instruction format shown above should always be used when writing data to the
FX
0N
-3A’s analog output channel.
Details on both the FROM and TO instructions (functions 78 and 79 respectively) can be found in the
“FX series Programming Manual (
ΙΙ
)”
8.3 Using FX
1N
, FX
2N
(V3.00 or more) or FX
2NC
(V3.00 or more) Series PLC’s
Please use FNC 176 (RD3A) and FNC 177 (WR3A)
Refer to FX Series Programming Manual
ΙΙ
.
9. Error Checking
If the FX
0N
-3A special function block does not seem to operate normally, check the following items:
•
Check the status of POWER LED.
Lit: The extension cable is properly connected.
Otherwise: Check the connection of the extension cable.
•
Check the external wiring.
•
Check whether the output load connected to the analog output terminal is within the following
specified limits.
Voltage output: 1k
Ω
to 1M
Ω
, Current output: 500
Ω
or less
•
Check whether the impedance of the input device is within the specified limits.
Voltage input: 200k
Ω
, Current input: 250
Ω
.
•
Check the calibration of the FX
0N
-3A’s analog channels (input and output) using a voltmeter/ ammeter
as required. See previous two sections for a detailed explanation.
TO
K0
K16
D02
K1
K0
K17
H04
K1
K0
K17
H00
K1
TO
M0
TO
Guidelines for the safety of the user and protection of the FX
0N
-3A Special
function block
•
This manual has been written to be used by trained and competent personnel. This is defined
by the European directives for machinery and EMC.
•
If in doubt at any stage during the installation of the FX
0N
-3A always consult a professional
electrical engineer who is qualified and trained to the local and national standards. If in doubt
about the operation or use of the FX
0N
-3A please consult the nearest Mitsubishi Electric
distributor.
•
Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential
damage that may arise as a result of the installation or use of this equipment.
•
All examples and diagrams shown in this manual are intended only as an aid to understanding
the text, not to guarantee operation. Mitsubishi Electric will accept no responsibility for actual
use of the product based on these illustrative examples.
•
Owing to the very great variety in possible application of this equipment, you must satisfy
yourself as to its suitability for your specific application.
Manual number : JY992D49001
Manual revision : F
Date
: April 2015
JY992D49001F
Effective April 2015
Specifications are subject to
change without notice