
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
This manual confers no industrial property rights or any rights of any other kind, nor does it
confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any
problems involving industrial property rights which may occur as a result of using the contents
noted in this manual.
For safe use
This product has been manufactured as a general-purpose part for general industries, and has
not been designed or manufactured to be incorporated in a device or system used in purposes
related to human life.
Before using the product for special purposes such as nuclear power, electric power,
aerospace, medicine or passenger movement vehicles, consult with Mitsubishi Electric.
This product has been manufactured under strict quality control. However when installing the
product where major accidents or losses could occur if the product fails, install appropriate
backup or failsafe functions in the system.
Warranty
Exclusion of loss in opportunity and secondary loss from warranty liability
Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to:
(1) Damages caused by any cause found not to be the responsibility of Mitsubishi.
(2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products.
(3) Special damages and secondary damages whether foreseeable or not, compensation for
accidents, and compensation for damages to products other than Mitsubishi products.
(4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks.
7. Adjustment of offset and gain
7.1 Change in input characteristic
At shipment, 0 to 4000 range is selected for 0 to 10V DC input.
When using an FX2N-2AD for current or differing voltage inputs except 0 to 10V DC, it is necessary to
adjust the offset and gain.
The module does not allow different input characteristics for two channels.
Set analog values within the range specified in the table below when changing the input characteristic.
Range of input characteristic
Resolution changes depending on the set value when the input characteristic changes accordingly.
Example: Resolution becomes (5 - 0V)/4000=1.25mV at voltage input 0 to 5V/0 to 4000.
Integrated accuracy does not change. (Voltage input: ±0.1V, Current input: ±0.16mA)
7.2 Adjustment of the input characteristic
The adjustment of the offset and gain values sets a digital equivalent to the analogue data.
(The “POT” requires 18 revolutions to move between MIN and MAX setting.)
*1 The digital value increases if the volume is turned clockwise.
(FX2N-4DA and FX2N-2DA can be used instead of the voltage and current generator)
7.2.1 Adjustment of gain
The gain value can be set to an arbitrary digital value.
However, using the maximum 12bit resolution provides the user with a digital range of 0 to 4000.
7.2.2 Adjustment of offset
The offset value can be set to an arbitrary digital value. However, it is advisable to set the analog value
when the digital value is set as following.
For instance, when a digital range of 0 to 4000 is used with the analog range of 0 to 10V, a digital value of
40 is equal to an analog input of 100mV. (40 ×10V/4000 digital points)
1) The offset and gain adjustments for CH1 and CH2 are accomplished at the same time. When the
offset and gain values of one channel are adjusted, the other channel is automatically adjusted.
2) Repeat the offset and gain adjustment alternately until a stable value is reached.
3) Each channel is common to the analog input circuit. However, check each channel individually for
maximum accuracy.
4) Adjust offset / gain by using subsection 8-3 "Example of programming making average value data"
when a digital value is not steady.
5) Adjust the gain before the offset.
Voltage input Current input
Analog value when digital value is 0 0 to 1V 0 to 4mA
Analog value when digital value is 4000 5 to 10V 20mA
+
-
V+
-
VIN{
IIN{
COM
{
FX
2N
-2AD
Voltage
generator
+A
+- VIN{
IIN{
COM
{
FX
2N
-2AD
Current
generator
POWER
GAIN
COM
IIN1VIN1
IIN2VIN2
COM
OFFSET
GAIN
OFFSET
A/D
OFFSET
volume
AD GAIN
volume
Voltage input Current input Volume
*1
Digital value
Analog value
0 10V
4000
Voltage input
characteristic(0 to 10V)
At shipment
Digital value
Analog value
05V
4000
Voltage input
characteristic(0 to 5V)
Digital value
Analog value
0 20mA
4000
Current input
characteristic(4 to 20mA)
4mA
Digital value
Analog value
0 100mV
40
Voltage input
characteristic(0 to 10V)
At shipment
Digital value
Analog value
04.1mA
25
4mA
Current input
characteristic(4 to 20mA)
Digital value
Analog value
0 100mV
80
Voltage input
characteristic(0 to 5V)
8. Program example
The following program examples (8.1 and 8.3) are formula circuits.
The device numbers that have been underlined can be assigned by the user during programming.
8.1 Example of programming analog input
Analog to digital conversion execution input of CH1:X000
Analog to digital conversion execution input of CH2:X001
At the same time X000 and X001 can be turned ON.
A/D input data CH1 :D100 (Replace with auxiliary relay M100 to M115. Assign these numbers only once)
A/D input data CH2 :D102 (Replace with auxiliary relay M100 to M115. Assign these numbers only once)
Processing time: 2.5ms / 1 channel
(Time from turning on X000 and X001 to storage of analog to digital conversion value in
data register of main unit.)
*1 Change the circuit of “*1” as follows when using an FX0N PLC
8.2 Connection to FX1N, FX2N (V3.00 or later), FX2NC (V3.00 or later), FX3G, FX3GC, FX3U
or FX3UC series PLC
Please use FNC 176 (RD3A).
Refer to FX Series Programming Manual ΙΙ or FX3S/FX3G/FX3GC/FX3U/FX3UC Programming Manual.
8.3 Example of programming making average value data
Add the undermentioned program after "8.1 Example of programming analog input" and use the average
value data when you can not read a stable digital value.
A/D input data of CH1 :D100
A/D input data of CH2 :D102
Sampling frequency :D118
Agreement flag of sampling frequency and average frequency :M133
Average value of CH1 :D111, D110
Average value of CH2 :D113, D112
*1 The above program example has an average sampling frequency of 20. Make the average frequency
within the range of 2 to 262143.
9. Notes in drive
1) Confirm whether the input wiring of FX2N-2AD and the connection of the extension cable is correctly
done.
2) Confirm whether the "4. Connection with programmable controller" condition is satisfied.
3) When shipped from the factory, the input characteristic is adjusted to 0 to 10V DC.
If a different input characteristic is desired, please adjust as required.
When the input characteristic is adjusted, the input characteristics of CH1 and CH2 are changed.
4) The coexistence use for the current and voltage input cannot be done with two channels.
Reading of digital value of CH2.
0
X000 [TO K0 K17 H0000 K1 ]
[TO K0 K17 H0002 K1 ]
[FROM K0 K0 K2M100 K2 ]
[MOV K3M100 D100 ]
33
X001 [TO K0 K17 H0001 K1 ]
[TO K0 K17 H0003 K1 ]
[FROM K0 K0 K2M100 K2 ]
[MOV K3M100 D102 ]
Selecting A/D input channel 1.
A/D conversion beginning of CH1.
Reading of digital value of CH1.
The higher 4 bits of CH1 are
moved to the lower 8 bits, and it is
stored in D100.
Selecting A/D input channel 2.
The higher 4 bits of CH2 are
moved to the lower 8 bits, and it is
stored in D102.
A/D conversion beginning of CH2.
*1
*1
a)
b)
c)
d)
e)
f)
g)
h)
[FROM K0 K0 K4M100 K2 ] yReading of digital value
yThe higher 4 bits are synthesized
to the lower 8 bits.
[MOV K2M116 K2M108]
0M8002 [DMOV K0 D114 ]
[DMOV K0 D116 ]
[DMOV K0 D118 ]
[MOV K0 D101 ]
Initialization of data
M133
[MOV K0 D103 ]
Total of input data of CH1
39 M8000
[DADD D114 D100 D114 ]
[DADD D116 D102 D116 ]
[DCMP D118 K20 M132 ]
Total of input data of CH2
Count of sampling frequency[DINC D118 ]
The average value of CH2 is calculated,
and the result is stored in D113, D112
84
M133
[DDIV D114 D118 D110 ]
[DDIV D116 D118 D112 ]
Comparison of sampling frequencies
K20 is an average frequency
The average value of CH1 is calculated,
and the result is stored in D111, D110
a
b
c
d
e
f
g
a)
b)
c)
d)
e)
f)
g)
*1
10. Error check
Confirm the following items when it seems that the FX2N-2AD does not operate normally.
1) Confirm the state of POWER LED.
Lit :The extension cable is correctly connected.
Turn off or blinks :Confirm the proper connection of the extension cable.
2) Confirm the external wiring per section “3. Wiring”.
3) Confirm whether the load resistance of the connected equipment corresponds to the specification of
the FX2N-2AD.
4) Confirm the Voltage and Current input values with a voltage and current generator. Confirm the
analog to digital conversion from the input characteristic.
5) Readjust the offset and gain by "7. Adjustment of offset and gain" when the analog to digital
conversion is not suitable for the input characteristic.
The input characteristic when shipped from the factory is 0 to 10V DC.
Guidelines for the safety of the user and protection of the FX2N-2AD 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, low voltage and EMC.
• If in doubt at any stage during the installation of the FX2N-2AD 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 FX2N-2AD please consult your local Mitsubishi Electric
representative.
• 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 : JY992D74701
Manual revision : G
Date : December 2016
JY992D74701G Effective December 2016
Specifications are subject to change without notice.