•This manual contains text, diagrams and explanations which will guide the reader in the correct installation
and operation of the FX
install or use the unit.
-8AD Analog input block. It should be read and understood before attempting to
2N
•Further information can be found in the FX
/FX1N/FX2N/FX
0N
Series Hardware Manual for connecting main
2NC
unit, and the FX Series Programming Manual(ΙΙ).
•If in doubt at any stage of the installation of FX
-8AD Analog input block always consult a professional
2N
electrical engineer who is qualified and trained to the local and national standards that applies to the
installation site.
•If in doubt about the operation or use of FX2N-8AD Analog input block please consult the nearest Mitsubishi
Electric distributor.
•This manual is subject to change without notice.
FX2N-8AD Analog input block
FX
2N
-8AD Analog input block
USER’S MANUAL
Manual number: JY992D86001
Manual revision: C
Date: April 2003
FX2N-8AD Analog input block
ii
FX2N-8AD Analog input block
Guidelines for the Safety of the User and Protection of the FX2N-8AD Analog
input block.
This manual provides information for the use of the FX2N-8AD Analog input block. The manual
has been written to be used by trained and competent personnel. The definition of such a
person or persons is as follows:
a) Any engineer who is responsible for the planning, design and construction of automatic
equipment using the product associated with this manual, should be of a competent
nature, trained and qualified to the local and national standards required to fulfill that
role. These engineers should be fully aware of all aspects of safety with regards to
automated equipment.
b) Any commissioning or service engineer must be of a competent nature, trained and
qualified to the local and national standards required to fulfill that job. These engineers
should also be trained in the use and maintenance of the completed product. This
includes being completely familiar with all associated documentation for said product. All
maintenance should be carried out in accordance with established safety practices.
c) All operators of the completed equipment (see Note) should be trained to use this
product in a safe manner in compliance to established safety practices. The operators
should also be familiar with documentation which is associated with the actual operation
of the completed equipment.
Note :
The term ‘completed equipment’ refers to a third party constructed device which
contains or uses the product associated with this manual.
iii
FX2N-8AD Analog input block
Notes on the Symbols Used in this Manual
At various times throughout this manual certain symbols will be used to highlight points which
are intended to ensure the users personal safety and protect the integrity of equipment.
Whenever any of the following symbols are encountered its associated note must be read and
understood. Each of the symbols used will now be listed with a brief description of its meaning.
Hardware Warnings
1) Indicates that the identified danger
2) Indicates that the identified danger could
damage.
3) Indicates a point of further interest or further explanation.
Software Warnings
4) Indicates special care must be taken when using this element of software.
5) Indicates a special point which the user of the associate software element should
be aware.
6) Indicates a point of interest or further explanation.
WILL
cause physical and property damage.
POSSIBLY
cause physical and property
iv
FX2N-8AD Analog input block
•Under no circumstances will Mitsubishi Electric be liable 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.
•Please contact a Mitsubishi Electric distributor for more information concerning applications
in life critical situations or high reliability.
9.2Adjustment of I/O characteristics.....................................................................9-7
10. Example program..............................................................................10-1
Appendix A
Associated Manuals List........................................................................... A -1
viii
FX2N-8AD Analog input block
1.Introduction
The FX2N-8AD analog input block (hereafter referred to as "FX2N-8AD") converts 8 points of
analog input values (voltage input, current input and temperature input) into digital values, and
transfers them to the PLC main unit.
Introduction 1
The FX
-8AD can be connected to FX0N, FX1N, FX2N and FX
2N
Series PLC.
2NC
1) Analog inputs can be selected from the voltage input, the current input and the thermocouple
input (temperature input) by the input mode setting by the TO instruction given by the PLC
main unit and the connection method.
At this time, a different analog input can be selected for each channel.
2) The voltage input can be selected within the range from -10 to +10 V. The current input can
be selected within the range from -20 to +20 mA and from +4 to +20 mA. The input
characteristics can be adjusted for each channel (except while the analog value direct
displa y is used).
The thermocouple input can be selected among the K type, J type and T type. (The input
characteristics cannot be adjusted when the thermocouple input is used.)
3) The resolution is 0.63 mV (20 V × 1/32,000) or 2.50 mV (20 V × 1/8,000) when the voltage
input is used, 2.50 µA (40 mA × 1/16,000) or 5.00 µA (40 mA × 1/8,000) when the current
input is used, and 0.1 °C when the thermocouple input is used.
1-1
FX2N-8AD Analog input blockIntroduction 1
4) Up to two FX2N-8AD units can be connected to FX0N main unit, FX0N extension unit, FX
main unit.
Up to eight FX
8AD units can be connected to one FX
(For connection to the FX
Data transfer with the PLC is performed to buffer memories of the FX
-8AD units can be connected to one FX2N Series PLC. Up to four FX2N-
Lit while 5 V power is normally
supplied from PLC.
Lit while 24 V power is normally
supplied to “24+” and “24-”
terminals of FX
-8AD.V
2N
Terminal arrangement
V1+I1+
24+24-V2+I2+V4+I4+
COM6
V6+
V5+I5+
I6+
COM5
COM1
COM2
V8+I8+
V7+I7+
V3+I3+
COM7
COM8
COM3
COM4
• For wiring, refer to Section 6.
• Never perform wiring to terminals.
•
3-1
FX2N-8AD Analog input blockPart Name 3
MEMO
3-2
FX2N-8AD Analog input block
4.Installation
Install the FX2N-8AD to the right side of a main unit, extension unit, extension block or special
Installation 4
block of the FX
The FX
-8AD can be installed with a DIN rail (DIN46277 of 35 mm in width) or directly
2N
/FX1N/FX2N/FX
0N
Series PLC.
2NC
installed with screws M4. For the details, refer to the handy manual supplied together with the
PLC main unit.)
4-1
FX2N-8AD Analog input blockInstallation 4
Figure 4.1: Installation with DIN rail
•The FX2N-8AD can be installed on a DIN rail
I1+V1+
COM1COM3
V3+
24+
V5+
24-
FX2N-8AD
I6+
V6+
I5+
V2+
COM6
COM5
I2+
POWER
24V
V7+
I3+
I4+
COM2
V8+
I7+
COM4
V4+
I8+
COM8
COM7
Hook for DIN rail
Figure 4.2: Direct installation
Installation
screw M4
(DIN46277) of 35 mm in width as it is. For
removal, pull down on the DIN rail mounting
hook, then remove the FX
2N
-8AD.
•The FX2N-8AD can be installed directly by
inserting screws (M4) into installation holes.
For the pitch and the position of installation
holes, re fer to the figure on the le ft.
67(2.64)
Dimensions: mm(inch)
98(3.86)
4-2
FX2N-8AD Analog input block
5.Connection to PLC
Connect the FX2N-8AD to the right side of a main unit, extension unit or extension block of
Connection to PLC 5
FX
For c onnection t o a basic unit or extension block o f the FX
, FX1N, FX2N, FX
0N
Series PLC with an extension cable.
2NC
Series PLC, use an FX
2NC
2NC
-CNVIF.
Please check power supply availability to deter mine the number of FX
be connected to the FX
, FX1N, FX2N or FX
0N
2NC
PLCs.
-8AD blocks that can
2N
A unit No. 0 to 7 is automatically assigned to each special unit or special block connected to a
PLC basic unit from the one nearest to the basic unit.
The data is read from a nd written to the FX
-8AD by FROM/TO instr uctions given by the
2N
basic unit.
5-1
FX2N-8AD Analog input blockConnection to PLC 5
MEMO
5-2
FX2N-8AD Analog input block
6.Wiring
6.1Caution
1) Do not lay signal c ab le near to high voltage power cab le or house them in the same trunking
duct. Effects of noise or surge induction may occur. Keep signal cables a safe distance of
more than 100 mm (3.94") from these power cabl es.
Wiring 6
2) The ter minal screws of the FX
-8AD are M3 (0.12"), therefore cr imp style terminals (see
2N
drawing) suitable for use with these screws should be fitted to the cable for wiring.
Figure 6.1: Crimp Terminals
For M3 (0.12")
6.2 mm (0.24" )
or less
For M3 (0.12")
6.2 mm (0.24")
or less
3) The terminal tightening torque is 0.5 to 0.8 Nžm. Tighten securely to avoid malfunction.
4) Cut off all phases of power source before installation or perfor ming wiring work in order to
avoid electric shock or damage of product.
5) Replace the provided terminal cover before supplying power and operating the unit after
installation or wiring work in order to avoid electric shock.
6-1
FX2N-8AD Analog input blockWiring 6
Figure 6.2: Wiring
FX2N-8AD
*6
Thermocouple
(K, J or T type)
*1 Shielded cabl e
Current input
Voltage input
*5
DC24V
*4 Connected to terminal
of PLC main unit
Class D grounding
*3
*2
V3+
I3+
COM3
V2+
I2+
COM2
V1+
I1+
COM1
24+
24-
250
250
250
Ω
Ω
Ω
5.8k
200k
200k
5.8k
200k
AG
Ω
Ω
5.8k
Ω
Ω
Ω
Ω
DC/DC
converter
CH3
CH2
CH1
Note:Use solderless terminals of the following size (M3).
+15V
AG
-15V
Tighten them securely at the tightening torque of 0.5 to 0.8 N•m.
Figure 6.3: Crimp Terminals
For M3 (0.12")
6.2 mm (0.24" )
or less
For M3 (0.12")
6.2 mm (0.24")
or less
6-2
FX2N-8AD Analog input blockWiring 6
*1 Use a two-core, twisted, shielded cable for the analog input line, and separate it from
other power lines or a lines easily induced.
*2 If there is voltage ripple in the input or there is noise in the external wiring, connect a
capacitor of approximately 0.1 to 0.47 µF, 25 V.
*3 F or the current input, mak e sure to sho rt-circuit the “V O+” terminal and the “IO+” terminal
(O: input channel No.).
*4 Make sure to connect the terminal to the terminal of the PLC main unit to
which Class D grounding (100 Ω or less) is performed.
*5 The 24 V DC service power supply of the PLC is also available.
*6 Use an isolated type thermocouple.
-When using the thermocouple input, use compensating conductors suitable to the
thermocouple.
-Never perform wiring to terminals.
•
-For the terminal arrangement, refer to Section 3.
6-3
FX2N-8AD Analog input blockWiring 6
MEMO
6-4
FX2N-8AD Analog input block
7.Specifications
Table 7.1:General specifications
ItemSpecifications
Specifications 7
Ambient temperature
0 to +55 °C during operation, -20 to +70 °C during storage
range
Ambient humidity35 to 85 % RH during operation (Dew condensation shall not be allowed.)
In conformance to JIS C0040
F requency 10 to 57 Hz, half amplitude 0.075 mm, 57 to 150 Hz, acceleration 9.8
Vibration resistance
2
m/s
, 10 times in each of X, Y and Z directions (80 times in total)
(For product installed with DIN rail: F requency 10 to 57 Hz, half amplitude 0.035
2
mm, 57 to 150 Hz, acceleration 4.9 m/s
)
In conformance to JIS C0041
Impact resistance
147 m/s
2
for 11 ms, 3 times in each of X, Y and Z directions with half-sine pulses
By noise simulator of noise voltage 1,000 Vp-p, noise width 1 µs and frequency
Noise resistance
30 to 100 Hz
500 V AC for 1 min
Withstand voltage
(between analog input ter m inal and each terminal of PLC main unit)
In conformance to JEM-1021
Insulation resistance
5 MΩ or more by 500 V DC Megger (between all terminals as a whole and case)
Operating
atmosphere
Corrosive gas and much dusts shall not be detected.
7-1
FX2N-8AD Analog input blockSpecifications 7
Table 7.2:Power supply specifications
ItemSpecifications
Interface driving
24 V DC±10%, 80 mA (maximum), supplied via terminal from outside
power supply
CPU driving power
5 V DC, 50 mA, supplied via extension cable from PLC main unit
supply
Table 7.3:Performance specifications
ItemSpecifications
• When only voltage input and current input are used
500 µs x Number of used channels
• When thermocouple input is used for 1 or more channels
Conv ersion speed
Insulation method
Channel for voltage/current input: 1 ms x Number of used channels
Channel for thermocouple input: 40 ms x Number of use d channels
(Number of used channels indicates number of all channels used for voltage
input, current input or thermocouple input.)
Photocoupler insulates analog inpu t area from PLC.
DC/DC converter insulates power supply from analog I/O.
Channels are not insulated each other.
Number of occupied
8 points (including input points and output points)
I/O points
0N
FX
, FX1N, FX2N, FX
Applicable PLC
(For connection to FX
Built-in memoryEEPROM
2NC
Series PLC
2NC
Series PLC, FX
2NC
-CNV-IF is required.)
7-2
FX2N-8AD Analog input blockSpecifications 7
Table 7.4:Voltage/current input specifications
ItemVoltage inputCurrent input
-10 to +10 V DC
(input resistance: 200 kΩ)
Adjustment is ena b led in following condition:
Offset value: -10 to +9 V
Analog input range
Digital outputSigned 16-bit binarySigned 16-bit binary
Resolution
Gain val ue: 10 V or less
"Gain - Offset": > 1 V
(Resolution is constant.)
However, change is disabled while an alog
value direct display is used.
Maximum absolute input: ±15 V
0.63 mV (20 V × 1/32000)
•
2.5mV (20 V × 1/8000)
•
-20 to +20 mA DC, +4 to +20 mA DC
(input resistance: 250 Ω)
Adjustment is enabled in following condit ion:
Offset v alue: -20 to +17 mA
Gain value: 30 mA or less
"Gain - Offset": > 3 mA
(Resolution is constant.)
However, change is disabled while analog
value direct displa y is used.
Maximum absolute input: ±30 mA
2.50 µA (40 mA × 1/16,000)
•
during input of -20 to +20 mA
5.00 µA (40 mA × 1/8,000)
•
during input of -20 to +20 mA
2.00 µA (16 mA × 1/8,000)
•
during input of +4 to +20 mA
4.00 µA (16 mA × 1/4,000)
•
during input of +4 to +20 mA
Total accuracy
Ambient temperature: 25 °C ± 5 °C
±0.3% (±60 mV) against full scale 20 V
Ambient temperature: 0 to +55 °C
±0.5% (±100 mV) against full sc ale 20 V
Ambient temperature: 25 °C ± 5 °C
µ
±0.3% (±120
+4 to +20mA input is same (±120
Ambient temperature: 0 to +55 °C
±0.5% (±200
+4 to +20mA input is same (±200
A) against full scale 40 mA
µ
A) against full scale 40 mA
7-3
µ
µ
A)
A)
FX2N-8AD Analog input blockSpecifications 7
Table 7.5:Thermocouple input specifications
ItemK type thermocoupleJ type thermocoupleT type thermocouple
Analog input range
Digital outputSigned 16-bit binarySigned 16-bit binarySigned 16-bit binary
Resolution0.1 °C or 0.1 °F0.1
Less than
V1.10
Total
accuracy
V1.10
or more
-100 to 1200 °C
-148 to 2192 °F
Ambient temperature: 0 to 55 °C
± 1 % Against full scale (-100 °C to 1200 °C / -148 °F to 2192 °F)
However , 0 °C to 1000 °C / 32 °F to 1832 °F of K type and 25 °C to 600 °C /
77 °F to 600 °F of J type are 0.5 %.
Ambient temperature: 0 to 55 °C
± 0.5% against a full scale.
± 6.5°C / ± 11.7 °F when it uses K type
± 3.5°C / ± 6.3 °F when it uses J type
-100 to 600 °C
-148 to 1112 °F
°
C or 0.1 °F0.1
-100 to 350 °C
-148 to 662 °F
°
Ambient temperature:
0 to 55 °C
± 0.7%
(± 3.15°C / ± 5.67 °F)
against a full scale.
C or 0.1 °F
•For the I/O characteristics of the voltage/current/thermocouple input, refer to Section 9.
•FX
2N
-8AD is from production goods (SERIAL 0Z****) to V1.10 in December, 2000.
7-4
FX2N-8AD Analog input block
8. Buffer Memory (BFM)
Caution
1) Do not access the buffer memory of “Reserved” (BFM #18, #23, #25, #31, #33 to #40,
#49 to 50, #59, #60, #69, #70, #79, #80, #89, #90, #99, #100, #120 to #197) by the
Buffer Memory (BFM) 8
FROM/TO instruction. There is a possibility to cause abnormal operation of the FX
8AD if accessing these buffer memories.
2N
-
8-1
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Data transfer between the FX2N-8AD and the P LC main unit is pe rformed through buffer
memories (hereafter referred to as "BFM") of the FX
2N
-8AD.
Each BFM consists of 1 word, 16 bits. The BFM No. 0 to 3399 and a function are assigned to
each BFM.
Use FROM/TO instructions to read and write the data between the BFM and the PLC.
When the pow er is turned on from off, the initial value is written to each BFM. When you would
like to use different contents of the BFM, create a program for the PLC so that the desired
contents are written to the BFM every time the power of the PLC is turned on.
(The contents stored in BFM #0, #1, #19, #22, #24, #41 to #48 and #51 to #58 are sto red in the
built-in EEPROM, and held against power failure.)
8-2
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.1Buffer Memories (BFM) lists
Table 8.1:BFM Lists
BFM
No.
#0Specifies input mode of CH1 to CH4.
#1Specifies input mode of CH5 to CH8.
#2Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#3Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#4Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#5Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#6Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#7Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#8Number of times of a veraging of CH1 Setting range: 1 to 4, 095 ti mes
#9Number of times of a veraging of CH8 Setting range: 1 to 4, 095 ti mes
#10CH1 data (immediate data or average data)
#11CH2 data (immediate data or average data)
Description
Hold against
power failure
¡
¡
Initial value
H0000 at shipment
H0000 at shipment
1
1
1
1
1
1
1
1
#12CH3 data (immediate data or average data)
#13CH4 data (immediate data or average data)
#14CH5 data (immediate data or average data)
#15CH6 data (immediate data or average data)
#16CH7 data (immediate data or average data)
#17CH8 data (immediate data or average data)
8-3
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#18Reserved
Disables setting change of I/O characteristics
#19
#20
#21
#22
#23Reserved
#24Specif ies high-speed con version channel.Setting range: K0 to K8
#25Reserved
(BFM #0, BFM #1, BFM #21) and convenient functions (BFM #22).
Disables change.: K2, Enab les change.: K1
Initializes fun ct io n s.
(Initializes functions at K1, then returns automatically to K0 after
initialization is completed.)
Writes I/O characteristics. (Returns automatically to K0 after write of
offset/gain value is finished.)
Sets convenient functions (data addition, upper/lower limit value
detection, sudden change detection and peak value hold).
Description
Hold against
power failure
¡
¡
¡
Initial value
K1 at shipment
K0
K0
K1 at shipment
K0
K1 at shipment
K0
#26Upper/lower limit value error status (vali d while BFM #22 b1 is ON)
#27
#28Scale over status and disconnection detection
#29Erro r status
#30Model code (K2050)
#31Reserved
A/D data sudden change detection status
(valid while BFM #22 b2 is ON)
K0
K0
K0
K0
K2050
8-4
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
Operating time 0 to 64,800 (s)
#32
#33
#41CH1 offset dat a (mV or µA)
#42CH2 offset dat a (mV or µA)
#43CH3 offset dat a (mV or µA)
#44CH4 offset dat a (mV or µA)
#45CH5 offset dat a (mV or µA)
After that, 64,80 0 is kept.
Measurement starts when power is turned on, and measured value
is reset when power is turned off.
Thermo-couple disconnection detection(V1.10 or higher.)
It executes the disconnection detection with K 1.
It automatically returns to K0 after it completes it.
•
•
Reserved
•
Description
Hold against
power failure
¡
¡
¡
¡
¡
Initial value
K0
K0
K0 at shipment
K0 at shipment
K0 at shipment
K0 at shipment
K0 at shipment
#46CH6 offset dat a (mV or µA)
#47CH7 offset dat a (mV or µA)
#48CH8 offset dat a (mV or µA)
•
•
Reserved
•
#51CH1 gain data (mV or µA)
#52CH2 gain data (mV or µA)
¡
¡
¡
¡
¡
K0 at shipment
K0 at shipment
K0 at shipment
K5000 at shipment
K5000 at shipment
8-5
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#53CH3 gain data (mV or µA)
#54CH4 gain data (mV or µA)
#55CH5 gain data (mV or µA)
#56CH6 gain data (mV or µA)
#57CH7 gain data (mV or µA)
#58CH8 gain data (mV or µA)
#59
#60
#61
#62
#63
Reserved
CH1 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
CH2 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
CH3 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
Description
Hold against
power failure
¡
¡
¡
¡
¡
¡
Initial value
K5000 at shipment
K5000 at shipment
K5000 at shipment
K5000 at shipment
K5000 at shipment
K5000 at shipment
K0
K0
K0
#64
#65
#66
#67
CH4 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
CH5 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
CH6 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
CH7 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
K0
K0
K0
K0
8-6
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#68
#71CH1 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#72CH2 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#73CH3 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#74CH4 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#75CH5 lower limit value error set val ue (valid while BFM #22 b1 is ON)
CH8 addition data Setting range: -16,000 to +16,000
(valid while BFM #22 b0 is ON)
•
•
Reserved
•
Description
Hold against
power failure
Initial value
K0
Minimum digit al value
inside input range
Minimum digit al value
inside input range
Minimum digit al value
inside input range
Minimum digit al value
inside input range
Minimum digit al value
inside input range
#76CH6 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#77CH7 lower limit value error set val ue (valid while BFM #22 b1 is ON)
#78CH8 lower limit value error set val ue (valid while BFM #22 b1 is ON)
•
•
Reserved
•
Minimum digit al value
inside input range
Minimum digit al value
inside input range
Minimum digit al value
inside input range
8-7
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#81CH1 upper limit value error set value (valid while BFM #22 b1 is ON)
#82CH2 upper limit value error set value (valid while BFM #22 b1 is ON)
#83CH3 upper limit value error set value (valid while BFM #22 b1 is ON)
#84CH4 upper limit value error set value (valid while BFM #22 b1 is ON)
#85CH5 upper limit value error set value (valid while BFM #22 b1 is ON)
#86CH6 upper limit value error set value (valid while BFM #22 b1 is ON)
#87CH7 upper limit value error set value (valid while BFM #22 b1 is ON)
Description
Hold against
power failure
Initial value
Maximum digital value
inside input range
Maximum digital value
inside input range
Maximum digital value
inside input range
Maximum digital value
inside input range
Maximum digital value
inside input range
Maximum digital value
inside input range
Maximum digital value
inside input range
#88CH8 upper limit value error set value (valid while BFM #22 b1 is ON)
•
•
Reserved
•
#91
#92
CH1 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH2 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
Maximum digital value
inside input range
5% of full scale
5% of full scale
8-8
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#93
#94
#95
#96
#97
#98
#99
Description
CH3 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH4 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH5 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH6 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH7 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
CH8 sudden change detection set value
Setting range: 1 to 50% of full scale (valid while BFM #22 b2 is ON)
Clearness of upper and lower limit value error and sudden
change detection error
Hold against
power failure
Initial value
5% of full scale
5% of full scale
5% of full scale
5% of full scale
5% of full scale
5% of full scale
K0
•
•
Reserved
•
#101 CH1 peak value (minimum value) (valid while BFM #22 b3 is ON)
#102 CH2 peak value (minimum value) (valid while BFM #22 b3 is ON)
#103 CH3 peak value (minimum value) (valid while BFM #22 b3 is ON)
#104 CH4 peak value (minimum value) (valid while BFM #22 b3 is ON)
#105 CH5 peak value (minimum value) (valid while BFM #22 b3 is ON)
#106 CH6 peak value (minimum value) (valid while BFM #22 b3 is ON)
Refer to 8.2.21.
8-9
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
#107 CH7 peak value (minimum value) (valid while BFM #22 b3 is ON)
#108 CH8 peak value (minimum value) (valid while BFM #22 b3 is ON)
#109 Peak value (minimum value) r eset flag
#110 Unusable
#111 CH1 peak value (maximum value) (valid while BFM #22 b3 is ON)
#112 CH2 peak value (maximum value) (valid while BFM #22 b3 is ON)
#113 CH3 peak value (maximum value) (valid while BFM #22 b3 is ON)
#114 CH4 peak value (maximum value) (valid while BFM #22 b3 is ON)
#115 CH5 peak value (maximum value) (valid while BFM #22 b3 is ON)
#116 CH6 peak value (maximum value) (valid while BFM #22 b3 is ON)
#117 CH7 peak value (maximum value) (valid while BFM #22 b3 is ON)
#118 CH8 peak value (maximum value) (valid while BFM #22 b3 is ON)
Description
Hold against
power failure
Initial value
Refer to 8.2.21.
K0
Refer to 8.2.21.
#119 Peak value (maximum value) reset flag
•
•
Reserved
•
Data history sampling time
#198
(vali d only in channels for which number of times of averaging
(BFM #2 to #9) is set to "1")
Setting range: 0 to 30,000 ms
K0
K0
8-10
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
Resets or stops data history.
#199
#200 CH1 data history (1st value)
#201 CH1 data history (2nd value)
#202 CH1 data history (3rd value)
#599 CH1 data history (400th value)
#600 CH2 data history (1st value)
#601 CH2 data history (2nd value)
#602 CH2 data history (3rd value)
(vali d only in channels for which number of times of averaging
(BFM #2 to #9) is set to "1")
•
•
•
•
•
•
Description
Data history sampling is v alid
only in channels for which
number of times of a v erag ing
(BFM #2 to #9) is set to "1".
Hold against
power failure
Initial value
K0
K0
K0
K0
K0
K0
K0
K0
#999 CH2 data history (400th value)
#1000 CH3 data history (1st value)
#1001 CH3 data history (2nd value)
#1002 CH3 data history (3rd value)
K0
K0
K0
K0
8-11
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.1:BFM Lists
BFM
No.
•
•
•
#3397 CH8 data history (398th value)
#3398 CH8 data history (399th value)
#3399 CH8 data history (400th value)
Description
Data history sampling is v alid
only in channels for which
number of times of a v erag ing
(BFM #2 to #9) is set to "1".
Hold against
power failure
Initial value
K0
K0
K0
8-12
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2Details of buffer memories
8.2.1BFM #0, #1: Specifies input mode.
Specify the input mode of CH1 to CH4 by writing a numeric value to BFM #0. Specify the input
mode of CH5 to CH8 by writing a numeric value to BFM #1.
In the input mode specification, each BFM is expressed in a 4-digit hexadecimal code, and
each channel No. is assigned to each digit. Specify a numeric value 0 to F in each digit for
each channel.
BFM#0
H¡¡¡¡
CH1
CH2
CH3
CH4
BFM#1
H¡¡¡¡
CH5
CH6
CH7
CH8
¡=0: Voltage input mode (-10 to +10 V), resolution 0.63 mV (20 V x 1/32,000)
¡=1: Voltage input mode (-10 to +10 V), resolution 2.50 mV (20 V x 1/8,000)
¡=2: Voltage input mode, analog value direct display (-10,000 to +10,000), resolution 1 mV
¡=3: Current input mode (4 to 20 mA), resolution 2.00 µA (16 mA x 1/8,000)
¡=4: Current input mode (4 to 20 mA), resolution 4.00 µA (16 mA x 1/4,000)
¡=5: Current input mode, analog value direct display (4,000 to 20,000), resolution 2.00 µA
¡=6: Current input mode (-20 to +20 mA), resolution 2.50 µA (40 mA x 1/16,000)
¡=7: Current input mode (-20 to +20 mA), resolution 5.00 µA (40 mA x 1/8,000)
8-13
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
¡=8: Current input mode, analog value direct display (-20,000 to +20,000), resolution 2.50 µA
¡=9: Thermocouple input mode, K type, Celsius display (-100 to +1,200°C), resolution 0 .1°C
¡=A: Thermocouple input mode, J type, Celsius display (-100 to +600°C), resolution 0.1°C
¡=B: Thermocouple input mode, T type, Celsius display (-100 to +350°C), resolution 0.1°C
¡=C: Thermocouple input mode, K t ype, Farenheit displa y (-148 to +2,192°F), resolution 0.1°F
¡=D: Thermocouple input mode, J type , Farenheit displa y (-148 to +1 ,112°F), resolution 0.1°F
¡=E: Thermocouple input mode, T type, Farenheit display (-148 to +662°F), resolution 0.1°F
¡=F: Input channel release (unusable)
•The input characteristics are automatically changed in accordance with the setting of BFM
#0 and BFM #1.
(When the voltage input mode or the current input mode is selected, the input
characteristics can be changed. However, when the analog value direct display is selected,
the input characteristics cannot be changed.)
•The setting "release of all input channels (unusable)" is not available.
•It takes approximately 5 seconds to change the input mode (BFM #0, BFM #1) (to change
each set value).
Assue the time interval of 5 seconds or more after change of the input mode until execution
of write of each setting (TO instruction).
8-14
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.2BFM #2 to BFM #9: Number of times of averaging
When using BFM #10 to #17 as the average data, write the number of times of averaging to
BFM #2 to BFM #9.
The setting range of the number of times of averaging is 1 to 4,095.
However, when you set the number of times of averaging to "1", the immediate data (current
value) is stored in BFM #10 to BFM #17.
When you set the number of times of averaging to "0" or a smaller value, "0" is written. When
you set the number of times of averaging to "4,096" or a larger value, "4,096" is written. In
either case, a number of times of averaging setting error (BFM #29 b10) occurs.
The initial value is "1".
8-15
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Update of average data
•When the number of times of averaging (BFM #2 to BFM #9) is set to "400" or less, the
average (BFM #10 to BFM #17) is updated every time the A/D conversion processing is
performed.
At this time, the average is always calculated by sampling of the A/D conversion values as
many as the set number of times of averaging from the latest one.
The update time is as follows:
Average data update time = (A/D conversion time) x Number of channels
•When the number of times of averaging (BFM #2 to BFM #9) is set to "401" or more, the
average (BFM #10 to BFM #17) is updated every time A/D conversion is performed by as
many as the set number of times of averaging.
The update time is as follows:
A verage data update time = (A/D conversion time) x Number of channels x Number of times
of averaging
In either case above, until the number of times of A/D conversion reaches the set number of
times of averaging for the first time, the average at each time point is stored in BFM #10 to
BFM #17.
8-16
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.3BFM #10 to BFM #17: Channel data
The A/D conversion data of each channel is written to BFM #10 to BFM #17.
You can select the immediate (current value) data or the average data b y se tting th e num ber of
times of averaging (BFM #2 to BFM #9) described above.
8.2.4BMF #19: Disables setting change
BFM #19 enables or disables the setting change of the I/O characteristics (BFM #0, BFM #1,
BFM #21), the convenient functions (BFM #22) and the high-speed conversion channel (BFM
#24).
K1: Enables change (selected at shipment from factory).
K2: Disables change.
8.2.5BFM #20: Initializes functions
BFM #20 initializes all d ata stored in BFM #0 to BFM #33 99, and sets t he FX
-8AD to the
2N
status at shipment from the factory.
By initialization, the input characteristics are reset to the values set at shipment from the
factory (voltage input, offset value K0, gain value K5000).
K0: Normal
K1: Executes initialization.
(Writes K1, then returns automatically to K0 when initialization is completed.)
8-17
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.6BFM #21: Writes I/O characteristics
Each channel No. is assigned to the lower eight bits of BFM #21.
When a bit is set to ON, the offset data (BFM #41 to BFM #48) and the gain data (BFM #51 to
BFM #58) of the assigned channel No. are written to the built-in memory (EEPROM), and
become valid.
You can give the write command to two or more channels at a time. (When you inp ut "HFF", a ll
channels are written.)
When write is completed, BFM #21 returns automatically to K0.
BFM21
b15, b14, b13, b12, b11, b10, b9, b8, b7
CH8
Invalid
, b6, b5, b4, b3, b2, b1, b0
CH7
CH6
CH5 CH4
CH3
CH2 CH1
8-18
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.7BFM #22: Sets convenient functions
The functions described below are assigned to b0 to b3 of BFM #22. When a bit is set to ON,
the assigned function becomes valid.
When a bit is set to OFF, the assigned function becomes invalid.
b0: Data addition function
The data (BFM #10 to BFM #17), the peak v alu e (BFM #101 to BFM #1 08, BFM #111 to
BFM #118) and the data histor y (BFM #200 to BFM #3399) of each channel be come
the measured value added by the addition data (BFM #61 to BFM #68).
When using this function, write the value added by the addition data (BFM #61 to BFM
#68) to the lower limit value error set value (BFM #71 to BFM #78) an d the upper limi t
value error set value (BFM #81 to BFM #88).
The addition data (BFM #61 to BFM #68) is no t added to the s cale o v er da ta (BFM #28).
b1: Upper/lower limit value detection function
When the A/D conversion data of each channel is outside the range from th e lower limit
value error set value (BFM #71 to BFM #78 ) to t he up per lim it value error s et value (BFM
#81 to BFM #88), the resul t is written to the upper/lo wer limi t valu e error status (BFM #26) .
b2: Sudden change detection function
When the data (BF M #10 to BFM #17) o f each channel is upd ated, if the difference
between the previous value and the new value is larger than the sudden change
detection set value (BFM #91 to BFM #98), the result is written to the sudden change
detection status (BFM #27).
b3: Peak value hold function
The minimum value of the data (BFM #10 to BFM #17) of each channel is written to
BFM #101 to BFM #108, and the maximum value is written to BFM #111 to BFM #118.
When using only the voltage input mode and the current input mode, you can improve the A/D
conversion timing (to 1/4 of the normal timing) for only one channel among CH1 to CH8.
However, the conversion timing becomes slower in other channels (to twice of the normal
timing).
To select a channel, write "K1" (for CH1) to "K8" (for CH8) to BFM #24.
(When you write "K0", the high-speed conversion function is not available.)
Example: When BFM #24 is set to "K1"
Conversion channel
1 2 1 3 1 4 1 5 1 6 1 7 1 8
Conversion timing of CH1: 500 µs x 2 = 1 ms
Conversion timing of other channels: 500 µs x 2 x 8 (CH) = 8 ms
(Usual conversion timing of each channel: 500 µs x 8 (CH) = 4 ms)
•When the thermocouple input mode is used in one or more channels, the high-speed
conversion function is not available.
8-20
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.9BFM #26: Upper/lower limit value error status
When you use the upper/lo w e r limit value detection function (BFM #22 b1), the detection result
is written to BFM #26.
The lower lim it value error or the upper limit value error of each channel is as sig ned to e ach bit
of BFM #26. When the data (BFM #10 to BFM #17) of each channel is outside the range from
the lower limit valu e error set value (BFM #71 to BFM #78) to the upper limit value err or set
value (BFM #81 to BFM #88), the corresponding bit turns ON.
Once a bit turns ON, it remains ON until it is reset by BFM #99 or the power is turned off.
Even while an upper/lower limit value error is detected, the data (BFM #10 to BFM #17) of
each channel is continuously updated.
Table 8.2:Bit assignment in BFM #26
Bit
No.
b0
b1Upper limit value errorb9Upper limit value error
b2
b3Upper limit value errorb11Upper limit value error
b4
b5Upper limit value errorb13Upper limit value error
b6
b7Upper limit value errorb15Upper limit value error
Channel
No.
CH1
CH2
CH3
CH4
Description
Bit
No.
Lower limit value errorb8
Lower limit value errorb10
Lower limit value errorb12
Lower limit value errorb14
Channel
Description
No.
Lower limit value error
CH5
Lower limit value error
CH6
Lower limit value error
CH7
Lower limit value error
CH8
8-21
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.10BFM #27: A/D data sudden change detection status
When you use the sudden change detection function (BFM #22 b2), the detection result is
written to BFM #27.
The sudden change detection + direction or the sudden change detection - direction of each
channel is assigned to each bit o f BFM #27. When the data (BF M #10 to BFM #17) of each
channel is updated, if the difference between the previous value and the new v alue is larger than
the sudden c ha ng e de tec t io n se t value (BFM #91 to BFM #9 8) , t he c o rre sp on di n g bi t t urns ON.
At this time, when the new value is larger than the previous value, a bit for the + direction turns
ON. when the new value is smaller than th e pr evious value , a bi t for the - direction turns ON.
Once a bit turns ON, it remains ON u nt il i t is r eset by BFM #99 or the po wer is turned off .
Even while a sudden change error is detected, the data (BFM #10 to BFM #17) of each channel
is continuously updated.
Table 8.3:Bit assignment in BFM #27
Bit
No.
b0
b1
b2
b3
b4
b5
b6
b7
Channel
No.
CH1
CH2
CH3
CH4
Description
Sudden change error in - direction
Sudden change error in + direction
Sudden change error in - direction
Sudden change error in + direction
Sudden change error in - direction
Sudden change error in + direction
Sudden change error in - direction
Sudden change error in + direction
Bit
No.
b8
b9
b10
b11
b12
b13
b14
b15
Channel
Description
No.
Sudden change error in - direction
CH5
Sudden change error in + direction
Sudden change error in - direction
CH6
Sudden change error in + direction
Sudden change error in - direction
CH7
Sudden change error in + direction
Sudden change error in - direction
CH8
Sudden change error in + direction
8-22
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.11BFM #28: Scale over status
When the analog input value of each channel is outside the range in which A/D conversion is
available, the result is written to BFM #28.
Table 8.4:Rang e in which A/D conversion is available
Voltage input
mode
- 10.240V to
10.235V
Current input
mode
- 20.480mA to
20.470mA
K typeJ typeT type
-100 °C to 1200 °C
-148 °F to 2192 °F
Thermocouple input mode
-100 °C to 600 °C
-148 °F to 1112 °F
-100 °C to 350 °C
-148 °F to 662 °F
Once a bit turns ON, it remains ON until it is over written with the OFF status by the TO
instruction given by the PLC main unit or the power is turned off.
Even while a scale over error is detected, the data (BFM #10 to BFM #17) of each channel is
continuously updated.
8-23
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.5:Bit assignment in BFM #28
Bit
No.
b0
b1Scale over: More than upper limit and disconnection detection
b2
b3Scale over: More than upper limit and disconnection detection
b4
b5Scale over: More than upper limit and disconnection detection
b6
b7Scale over: More than upper limit and disconnection detection
b8
b9Scale over: More than upper limit and disconnection detection
b10
b11Scale over: More than upper limit and disconnection detection
Channel
Description
No.
Scale over: Less than lower limit
CH1
Scale over: Less than lower limit
CH2
Scale over: Less than lower limit
CH3
Scale over: Less than lower limit
CH4
Scale over: Less than lower limit
CH5
Scale over: Less than lower limit
CH6
b12
CH7
b13Scale over: More than upper limit and disconnection detection
b14
CH8
b15Scale over: More than upper limit and disconnection detection
Scale over: Less than lower limit
Scale over: Less than lower limit
8-24
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.12BFM #29: Error status
The error information is assigned to each bit of BFM #29.
Table 8.6:Bit assignment in BFM #29
Bit
No.
b0Error detectedb0 is ON while either one among b1 to b4 is ON.
b1Offset/gain set value error
b2Power error
b3Hardware error
b4A/D conv ersion value error
Thermocouple being
b5
warmed up
b6BFM read/write disabled
AssignmentDescription
Offset/gain value is outside setting range.
Set a correct value.
24 V power is not normally supplied.
Check wiring and supply voltage.
FX
Contact Mitsubishi Electric System Service nearest to you.
A/D conversion value is abnormal.
Using scale over data (BFM #28), check channel in which error has
occurred.
This bit is ON for 20 minutes after power is turned on.
This bit is ON during input characteristics change processing.
While this bit is ON, correct A/D data cannot be read from or written
to BFM.
-8AD may have failed.
2N
b7
b8Set value error detectedThis bit is ON while either bit among b9 to b15 is ON.
8-25
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.6:Bit assignment in BFM #29
Bit
No.
b9Input mode setting error
Number of times of
b10
averaging setting error
b11
Sudden change detection
b12
set value error
Upper/lower limit value
b13
error set value error
High-speed conversion
b14
channel setting error
b15Addition data setting error
AssignmentDescription
Input mode (BFM #0, BFM #1) is incorrectly set.
Set it within range from 0 to F.
Number of times of averaging is incorrectly set.
Set it within range from 1 to 4,095.
Sudden change detection set value is incorrect.
Set a correct value.
Upper/lower limit value error set value is incorrect.
Set a correct value.
High-speed conversion channel is incorrectly set.
Set it within range from 0 to 8.
Addition data is incorrectly set.
Set it within range from -16,000 to +16,000.
8.2.13BFM #30: Model code
BFM #30 stores the fixed value "K2050".
8.2.14BFM #32: Operating time
BFM #32 stores the continuous operating time of the FX
Measurement star ts when the power is tur ned on, and t he measured value is reset when the
power is turned off.
The measurement range is from 0 to 64,800 (s). After that, 64,800 is kept.
2N
-8AD.
8-26
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.15BFM#33 disconnection detection (Only goods: since V1.10).
It does the disconnection detection of all channels used by writing K1 in BFM#33 in the
thermo-couple input mode (Set it by BFM#1 and # 0).
It executes the disconnection detection only once, and the result is written in BFM#28.
(It turns on the odd number bit of the channel where the disconnection occurs. Refer to Table
8.5.)
When it completes the execution of the disconnection detection, K0 is automatically written in
BFM#33.
Write K1 in BFM#33 regularly when you continuously execute the disconnection detection.
At this time, you should use the internal clock so that the interruption of the analog to digital
conversion may increase when it does every operation execution.
It turns off POWER LED during the disconnection detection execution. (Blink when
continuously executing it)
Program example
1s clock
M8013
RUN monitor
M8000
TO
P
FROMK0K28
K0K33K1K1
K4M100
K1
In the program of the following, when it detects
the disconnection with ea ch channel, it turns on
the undermentioned supplementary Relay.
8.2.16BFM #41 to BFM #48: Offset data
BFM #51 to BFM #58: Gain data
Offset data : Analog input value when the digital value is "0"
Gain data: Analog input value when the digital value is as shown below
(The digital value varies depending on the setting of the input mode.)
Standard digital value of offset and gain in each input mode
(A number in the input mode column indicates a value set in BFM #0, BFM #1.)
Table 8.7:Standard digital value
Input mode
(BFM #0, BFM #1)
Standard offset
value
Standard gain
value
012345678
00
80002000
Unchange-
00
able
Unchange-
80004000
able
Unchange-
able
Unchange-
able
00
Unchange-
able
Unchange-
80004000
able
•You can set the offset data and the gain data for each channel.
•Write the set value in the unit of "mV" for voltage input or "µA" for current input.
•You cannot change the input char acte ristics in th e anal og value direct display mo de and the
thermocouple input mode. (Even if you write a numeric value, it is ignored.)
8-28
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Initial offset/gain value
(Unit: mV for voltage input, µA for current input)
Table 8.8:Initial offset/gain value
Input mode
(BFM #0, BFM #1)
Initial offset value
Initial gain value
012345678
000400040004000000
500050005000200002000020000200002000020000
Setting range
Table 8.9:Setting range
Voltage inputCurrent input
Offset data-1000 to +9000 (mV)-2000 to +1700 (µA)
Gain data
Gain value - Offset value
= 1,000 to 10,000 (mV)
Gain value - Offset value
= 3,000 to 30,000 (µA)
However, the actual effective input range is "-10 to +10 V" or "-20 to +20 mA".
8-29
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.17BFM #61 to BFM #68: Addition data
When you use the data addition function (BFM #22 b0), the da ta (BFM #10 to BFM #17), the
peak val ue (BFM #101 to BFM #108, BFM #111 to BFM #118) and the data history (BFM #200
to BFM #999) of each channel become the measured value added by the addition data (BFM
#61 to BFM #68).
When using the data addition function, write the value added by the addition data (BFM #61 to
BFM #68) to the lower limit value error set value (BFM #71 to BFM #78) and the upper limit
value error set value (BFM #81 to BFM #88).
Setting range
:
-16,000 to +16,000
8-30
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.18BFM #71 to BFM #78: Lower limit, error set value
BFM #81 to BFM #88: Upper limit, error set value
When using the upper/lower limit value det ection func tion (BFM # 22 b1), wr ite th e lower limit
value of each channel to BFM #71 to BFM #79 and the upper limit value of each channel to
BFM #81 to BFM #88.
When using the data addition funct ion (BFM #22 b0 ) together, write the value added by the
addition data (BFM #61 to BFM #68) to BFM #71 to BFM #78 and BFM #81 to BFM #88.
Setting range
The setting range varies depending on the setting of the input mode (BFM #0, BFM #1).
The table below shows the setting range in each input mode. Write the set value in a digital
value.
Table 8.10: Setting range
Initial value
Input mode (BFM #0, BFM #1)Setting range
0: Voltage input mode (-10 to +10 V), resolution 10 V x 1/16,000-16384 to 16383-1638416383
1: Voltage input mode (-10 to +10 V), resolution 10 V x 1/4,000-4096 to 4095-40964095
2: Voltage input mode, analog v alue direct display (-10,000 to +10,000 )
3: Current input mode (4 to 20 mA), reso lution 20 mA x 1/8,000-1 to 8191-18191
4: Current input mode (4 to 20 mA), reso lution 20 mA x 1/4,000-1 to 4095-14095
5: Current input mode, analog value direct display (4,000 to 20,000) 3999 to 20400399920400
6: Current input mode (-20 to +20 mA), reso lution 20 mA x 1/8,000-8192 to 8191-81928191
-10200 to 10200-1020010200
Lower
limit
8-31
Upper
limit
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.10: Setting range
Initial value
Input mode (BFM #0, BFM #1)Setting range
7: Current input mode (-20 to +20 mA), reso lution 20 mA x 1/4,000-4096 to 4095-40964095
8: Current input mode, analog value direct display (-20,000 to +20,000)
9: Thermocouple i nput mode (K type), Celsius display-1000 to 12000-100012000
A: Thermocouple input mode (J type ), Celsius display -1000 to 6000-10006000
B: Thermocouple input mode (T type ), Celsius display -1000 to 3500-10003500
C: Thermocouple input mode (K type ), Farenheit display-1480 to 21920-148021920
D: Thermocouple input mode (J typ e), Farenheit display-1480 to 11120-148011120
E: Thermocouple input mode (T type ), Farenheit display-1480 to 6620-14806620
F: Channel unusableInvalid-11
-20400 to 20400-2040020400
Lower
limit
Upper
limit
8-32
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.19BFM #91 to BFM #98: Sudden change detection set value
When using the sudden change detection function (BFM #22 b2), write the set value to judge
the sudden change.
When the data (BFM #10 to BFM #17) of each channel is updated, if the difference between
the previous value and the new value is larger than the sudden change detection set value
(BFM #91 to BFM #98), the result is written to the sudden change detection status (BFM #27).
Setting range
The setting range varies depending on the setting of the input mode (BFM #0, BFM #1).
The table below shows the setting range in each input mode.
Write the set value in a digital value.
Table 8.11: Setting range
Input mode (BFM #0, BFM #1)Setting rangeInitial value
0: Voltage input mode (-10 to +10 V), reso lution 10 V x 1/16,0001 to 163831600
1: Voltage input mode (-10 to +10 V), resolution 10 V x 1/4,0001 to 4095 400
2: Voltage input mode, analog v alue direct display (-10,000 to +10,000 )
3: Current input mode (4 to 20 mA), reso lution 20 mA x 1/8,0001 to 4095 400
4: Current input mode (4 to 20 mA), reso lution 20 mA x 1/4,0001 to 2047 200
5: Current input mode, analog value direct display (4,000 to 20,000) 1 to 8191 800
6: Current input mode (-20 to +20 mA), reso lution 20 mA x 1/8,0001 to 8191 800
7: Current input mode (-20 to +20 mA), reso lution 20 mA x 1/4,0001 to 4095 400
8: Current input mode, analog value direct display (-20,000 to +20,000)
9: Thermocouple i nput mode (K type), Celsius display1 to 6500 650
1 to 100001000
1 to 200002000
8-33
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
Table 8.11: Setting range
Input mode (BFM #0, BFM #1)Setting rangeInitial value
A: Thermocouple input mode (J type ), Celsius display 1 to 3500 350
B: Thermocouple input mode (T type ), Celsius display 1 to 4500 450
C: Thermocouple input mode (K type), Farenheit display1 to 117001170
D: Thermocouple input mode (J type), Farenheit display1 to 6300 630
E: Thermocouple input mode (T type ), Farenheit display1 to 4050 405
F: Channel unusableInvalid 0
8-34
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.20BFM #99: Clears upper/lower limit value error and sudden change detection error
The commands to clear the lower limit value error, the upper limit value error and the sudden
change detection error are assigned to the lower three bits of BFM #99.
When a bit is set to ON, the flag of the correspond ing error status (BFM #26, BFM #27 ) is reset
for all channels at a time.
After reset is finished, each bit of BFM #99 returns automatically to OFF.
You can set two or more clear commands to ON at a time.
Table 8.12: Bit assignment in BFM #99
Bit No.Description
b0Clears lower limit va lue error.
b1Clears upper limit value error.
b2Clears sudden change detection error.
b3 to b15Unused
8-35
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.21BFM #101 to BFM #108: Peak value (minimum value)
BFM #111 to BFM #118: Peak value (maximum value)
When you use the pe ak value hold function (BFM #22 b3), one of the convenient functions, the
minimum value of the data (BFM #10 to BFM #17) of each channel is written to BFM #101 to
BFM #108, and the maximum value is written to BFM #111 to BFM #118.
When you use the data addit ion function (BFM #22 b0) t ogether, the minimum/maximum
measured value added by the addition data is written.
Initial value
When the peak hold function is not used: K0
When the peak hold function is used: Digital value when the power is turned on
8-36
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.22BFM #109: Peak value reset flag (minimum value)
BFM #119: Peak value reset flag (maximum value)
When you use the peak value hold function (BFM #22 b3), BFM #109 clears the peak value
(minimum value) stored in BFM #101 to BFM #108, and BFM #119 clears the peak value
(maximum value) stored in BFM #111 to BFM #118.
The channel No. to be reset is assigned to each bit of BFM #109 and BFM #119. When a bit is
set to ON, the peak value of the assigned channel is cleared.
(You can set two or more bits to ON at a time.)
Table 8.13: Bit assignment
BFM
#109
BFM
#119
Bit No.b15 to b8b7b6b5b4b3b2b1b0
Channel No.
Unusable
(BFM No.)
Bit No.b15 to b8b7b6b5b4b3b2b1b0
Channel No.
Unusable
(BFM No.)
CH8
(#108)
CH8
(#108)
CH7
(#107)
CH7
(#107)
CH6
(#106)
CH6
(#106)
CH5
(#105)
CH5
(#105)
CH4
(#104)
CH4
(#104)
CH3
(#103)
CH3
(#103)
CH2
(#102)
CH2
(#102)
CH1
(#101)
CH1
(#101)
8-37
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.23BFM #198: Data history sampling time
Set the data history sampling time.
BFM #198 is valid only in channels for which the number of times of averaging (BFM #2 to #9)
is set to "1".
Setting range
0 to 30,000 ms
Sampling cycle
When only voltage input and current input are used
When the set value is "0": 500 µs x Number of effective channels
When the set value is "1" or more : Set value (ms) x Number of effective channels
When thermocouple input is used for one or more channels
Channel for voltage input or current input
When the set value is "0" or "1": 1 ms x Number of effective channels
When the set value is "2" or more: Set value (ms) x Number of effective channels
Channel for thermocouple input
When the set value is "0" to "39": 40 ms x Number of effective channels
When the set value is "40" or more : Set value (ms) x Number of effective channels
8-38
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
When the high-speed conversion mode is used (and only voltage input and current
input are used)
When the set value is "0" or "1"
Channel specified for high-speed conversion : 1 ms
Other channels: 1 ms x Number of effective channels
When the set value is "2" or more
Channel specified for high-speed conversion: Set value (ms) x Number of effective
channels
Other channels: Set value (ms) x Number of effective
channels x 2
•"Number of effec tiv e channel s" indicates the n umber of all channels f or which the number of
times of averaging (BFM #2 to BFM #9) is set to "1" without regard to the input mode
(voltage input, current input or thermocouple input).
8-39
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.24BFM #199: Resets or stops data history
The data history reset function is assigned to the lower eight bits of BFM #199. The data
history stop function is assigned to the upper eight bits of BFM #199.
Each function is valid only in channels for which the number of times of averaging (BFM #2 to
#9) is set to "1".
Data history reset function
This function clears the sampled data history in each channel.
The channel No. to be reset is assigned to each of the lower eight bits of BFM #199.
When a bit is set to ON, the data history (all contents from the 1st value to the 400th value) of
the assigned channel is cleared. (You can set two or more bits to ON at a time.)
When the clear operation is completed, each bit returns automatically to OFF.
Table 8.14: Assignment of lower eight bits
Bit No.b7b6b5b4b3b2b1b0
Channel No.CH8CH7CH6CH5CH4CH3CH2CH1
Data history stop function
This function stops temporarily sampling of the data history in the unit of channel.
The channel No. to be stopped temporarily is assigned to each of the upper eight bits of BFM
#199.
When a bit is set to ON, sampling of the data histor y of the assigned channel is stopped
temporarily. (You can set two or more bits to ON at a time.)
When a bit is set to OFF, sampling of the data history of the assigned channel restarts.
Table 8.15: Assignment of upper eight bits
Bit No.b15b14b13b12b11b10b9b8
Channel No.CH8CH7CH6CH5CH4CH3CH2CH1
8-40
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
8.2.25BFM #200 to BFM #3399: Data history
The A/D conversion of each channel is sampled, and written to BFM #200 to BFM #3399.
The table bel o w shows the assignment of ch annel No. and BFM No. Data is st ored in turn from
the smallest BFM No.
Up to 400 values can be stored for each channel. When the number of values exceeds "400",
the existing data is overwritten with new data from the smallest BFM No.
Data history samp ling is valid only in channels for which the number of times of averaging
(BFM #2 to #9) is set to "1".
•If much data history is read at a time to the PLC main unit by one FR OM instruction, a w atch
dog timer error occurs in the PLC main unit.
In such a case, divide the required data histor y using many FROM instructions, and inser t
the WDT instruction (watch dog timer refresh instruction) after each FROM instruction.
8-41
FX2N-8AD Analog input blockBuffer Memory (BFM) 8
MEMO
8-42
FX2N-8AD Analog input block
9.Adjustment of I/O Characteristics
At the time of shipment from the factory, the FX2N-8AD has the standard I/O characteristics in
accordance with each input mode (BFM #0, BFM #1).
In the voltage input mode and the current input mode, you can adjust the standard I/O
characteristics for each channel. (You cannot adjust the standard I/O characteristics in the
analog value direct output mode and the thermocouple input mode.)
Adjustment of I/O Characteristics 9
9-1
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
Digital value
-10
10
4,000
Approx. +4,080
Approx.
+10.2 V
Approx.
-10.2 V
-4,000
Approx. -4,080
Input
voltage
(V)
9.1Standard I/O characteristics
Explanation on description
The input mode of the standard I/O characteristics is abbreviated as shown below.
0. Voltage input, -10 to 10V, 20V × 1/32,000
Figure 9.1: Standard I/O characteristics
0. Voltage input, -10 to +10 V, 20 V × 1/32,0001. Voltage input, -10 to +10 V, 20 V x 1/8,000
➀
: Input mode set in BFM #0, BFM #1
➀
: Input mode
➁
: Analog input range
➂
: Resolution
➃
Approx. +16,320
Input
voltage
(V)
➁
Digital value
16,000
-10
10
➂
➃
•In the analog value direct display mode and
the thermocouple input mode,
input range and
Approx.
+10.2 V
Resolution are omitted.
➃
Analog
➂
-10.2 V
Approx.
-16,000
Approx. -16, 32 0
9-2
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
Digital value
Input current
(mA)
0420
8,000
Digital value
Input current
(mA)
0420
20,000
4,000
2. Voltage input, direct display (-10,000 to +10,000)3. Current input, 4 to 20 mA, 16 mA x 1/8,000
Digital value
Approx. -10, 20 0
10,000
Input
voltage
(V)
-10
10
-10.2 V
Approx.
-10,000
Approx. +10,200
Approx.
+10.2 V
4. Current input, 4 to 20 mA, 16 mA x 1/4,0005. Current input, direct display (4,000 to 20,000)
Digital value
4,000
0420
Input current
(mA)
9-3
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
Digital value
-20
20
4,000
-4,000
Input
current
(mA)
0
Digital value
0
12,000
-1,000
Input
temperature
(°C)
-100
1,200
6. Current input, -20 to +20 mA, 40 mA x 1/16,0007. Current input, -20 to +20 mA, 40 mA x 1/8,000
Digital value
8,000
Input
current
(mA)
-20
8. Current input, direct display (-20,000 to +20,000)9. Thermocouple input, K type, Celsius
Input
current
(mA)
-20
Digital value
20,000
0
-8,000
0
-20,000
20
20
9-4
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
Digital value
0
3,500
-1,000
Input
temperature
(°C)
-100
350
Digital value
0
11,120
-1,480
Input
temperature
(°F)
-148
1,112
A. Thermocouple input, J type, CelsiusB. Thermocouple input, T type, Celsius
Digital value
6,000
Input
temperature
(°C)
-100
0
-1,000
600
C. Thermocouple input, K type, FarenheitD. Thermocouple input, J type, Farenheit
Digital value
21,920
Input
temperature
(°F)
-148
0
-1,480
2,192
9-5
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
E. Thermocouple input, T type, Farenheit
Digital value
6,620
Input
temperature
(°F)
-148
0
-1,480
662
9-6
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
9.2Adjustment of I/O characteristics
Adjust the I/O characteristics using the buffer memories in the FX2N-8AD.
At first, write the input mode to BFM #0 and BFM #1, write the offset data to BFM #41 to BFM
#48, then write the gain data to BFM #51 to BFM #58. Afte r that, update the offset data and the
gain data of each channel using BFM #21.
9-7
FX2N-8AD Analog input blockAdjustment of I/O Characteristics 9
Figure 9.2: Example program
X000
Operation
start
instruction
M0
T0
P
TO
P
TO
SET
TO
K50
P
TO
P
TO
P
TO
P
TO
P
TO
RSTM0
K0K0H1600K1
K0K1HFFA1K1
M0
*1
K0K41K0K2
K0K51K1250K2
K0K44K0K1
K0K54
K0K21H00FFK1
K10000
K1
Specifies the input mode of CH1 to CH4.
Specifies the input mode of CH5 to CH8.
Writes the of fset value of CH1 and CH2.
Writes the gai n value of CH1 and CH2.
Writes the of fset value of CH4.
Writes the gai n value of CH4.
Writes the offset v al ue and gain value of al l channels at a time.
*1 It takes approximately 5 seconds to change the input mode (BFM #0, BMF #1) (to change
each set value).
Assure the time inte rval of 5 seco nds or more after ch ange of th e input mode until execution
of write of each setting (TO instruction).
•The I/O characteristics can be written (by BFM #21) to one channel at a time, or two or
more channels at a time.
9-8
FX2N-8AD Analog input block
10.Example program
This section introduces an example of program to tak e analog data to the PLC using the FX2N8AD.
Condition
Example program 10
System configuration:
The FX
-8AD (unit No. 0) is connected as a special block nearest to the FX2N/FX
2N
Series PLC main unit.
Input mode:
CH1 and CH2 : Mode 0 (voltage input, -10 to +10 V, resolution 20 V x 1/32,000)
CH3 and CH4 : Mode 3 (current input, +4 to +20 mA, resolution 16 mA x 1/8,000)
CH5 and CH6 : Mode 9 (thermocouple input, K type, Celsius display)
CH7 and CH8 : Mode F (unused)
Number of times of averaging:
1 (initial valu e) in each channel
I/O characteristics:
Standard I/O characteristics (initial value) in each channel
Convenient function:
Upper/lower limit value detection function is used.
2NC
10-1
FX2N-8AD Analog input blockExample program 10
Data history function:
Used while sampling time is set to 0 ms (initial value).
CH1 to CH4: Sampling time = 1 ms x 6 (Number of effective channels) = 6 ms
CH5 and CH6 : Sampling time = 40 ms x 6 (Number of effective channels) = 240 ms
I/O assignment:
X001: Clears the upper/lower limit value error.
X002: Clears the scale over error.
Y000 to Y017 : Output the upper/lower limit value error status of each channel.
Y020 to Y037 : Output scale over status of each channel.
10-2
FX2N-8AD Analog input blockExample program 10
Figure 10.1:Example program
Initial pulse
M8002
RUN monitor
M8000
T0
Clear of upper/
lower limit value
error
X001
Clear of scale
over error
X002
FNC 79
TO
FNC 79
TO
TO
FNC 79
P
TO
FNC 78
FROM
FNC 78
FROM
FNC 78
FROM
FNC 78
FROM
FNC 79
P
TO
FNC 79
P
TO
K0K0H3300K1
K0K1HFF99K1
K50
K0K22H0002K1
K0K10D0K6
K0K26K4M0K1
K0K28 K4M20K1
K0K29D6K1
K0K99H0003K1
K0K28K0K1
As for the cha nged i nput
Specifies the input mode of
CH1 to CH4.
mode, the power fai l ure
maintenance is done by
EEPROM.
Specifies the input mode of
CH5 to CH8.
Stand by for fi ve seconds.
The change of program i n the
input mode and stand by for
five sec onds can be omitted.
At use the input mode
memorized in EEPROM.
Enables the upper/lower limit value detection function.
Reads the channel data from CH1 to CH6.
.....
(CH1
D0, CH2 → D1,
→
CH6 → D5)
Reads the upper/lower limit value error stat us.
(M0 to M15)
Reads the scale over statu s.
(M20 to M25)
Reads the error status.
(BFM #29
→
D6)
Clears the upper/lower limit value error.
Clears the sc al e over error.
10-3
FX2N-8AD Analog input blockExample program 10
Lower limit value error of CH1
M0
Upper limit value error of CH1
M1
• • •
Upper limit value error of CH8
M15
Scale over error of CH1 (lower limit value)
M20
Scale over error of CH1 (upper limit value)
M21
• • •
Scale over error of CH8 (upper limit value)
M35
Y0
Y1
Outputs the upper/ l ower limit value error status of each c hanne l.
Y17
Y20
Y21
Outputs the scale over error st a t us of each channe l.
Y37
10-4
FX2N-8AD Analog input blockExample program 10
T0
FNC 78
FROM
FNC 07
WDT
FNC 78
FROM
FNC 07
WDT
FNC 78
FROM
FNC 07
WDT
FNC 78
FROM
FNC 07
WDT
END
K0K200D10K10
K0K600D20K10
K0K1000D30K10
K0K2200D60K10
Reads the CH1 data his tory (for 10 tim e s) to D10 to D19.
Refreshes the watch dog timer.*1
Reads the CH2 data his tory (for 10 tim e s) to D20 to D29.
Refreshes the watch dog timer.*1
Reads the CH3 data his tory (for 10 tim e s) to D30 to D39.
Refreshes the watch dog timer.*1
Reads the CH6 data his tory (for 10 tim e s) to D60 to D69.
Refreshes the watch dog timer.*1
Note:
When many FROM/TO instructions are executed in the same scan, the PLC might have a
watchdog timer error. In this case, add a watchdog timer reset (FNC07 WDT) instruction
with each FROM/TO instruction.
10-5
FX2N-8AD Analog input blockExample program 10
MEMO
10-6
FX2N-8AD Analog input block
Appendix A:
Associated Manuals List
For further information manual about FX Series, refer to following table.
Table A-1:List of Further Information Manual
Manual NameManual No.Description
/FX0N Hardware ManualJY992D47501
FX
0
FX
FX
Hardware ManualJY992D88201
1N
Hardware ManualJY992D66301
2N
Appendix A
This manual contains hardware explanations of wiring,
installation and specifications for FX0 and FX0N Series
programmable controllers.
This manual contains hardware explanations of wiring,
installation and specifications for FX1N Series
programmable controllers.
This manual contains hardware explanations of wiring,
installation and specifications for FX2N Series
programmable controllers.
FX
Hardware ManualJY992D76401
2NC
FX Programming ManualJY992D48301
FX Programming Manual
II
JY992D88101
This manual contains hardware explanations of wiring,
installation and specifications for FX
2NC
Series
programmable controllers.
This manual contains instruction explanations for the
, FX0S, FX0N, FX, FX2C, FX2N and FX
FX
0
Series
2NC
programmable controllers.
This manual contains instruction explanations for the
FX
, FX1N, FX2N and FX
1S
Series programmable
2NC
controllers.
A-1
FX2N-8AD Analog input blockAppendix A
MEMO
A-2
USER’S MANUAL
FX2N-8AD Analog input block
HEAD OFFICE: MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100-8310
HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN
MODEL
MODEL CODE
JY992D86001C
(MEE)
FX2N-8AD-U-E
09R608
Effective Apr. 2003
Specifications are subuject tochange without notice.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.