Page 2 - FX2N-5A Special function block; Foreword
FX2N-5A Special function block Foreword • This manual contains text, diagrams and explanations which will guide the reader in the correct installationand operation of the FX 2N -5A Special function block. It should be read and understood before attempting to install or use the unit. • Fur ther infor...
Page 3 - USER’S MANUAL; Date
FX 2N -5A Special function block USER’S MANUAL This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patentlicenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrialproperty rights which may occur as ...
Page 5 - Guidelines for the Safety of the User and Protection of the FX; This manual provides infor mation for the use of the FX
FX2N-5A Special function block iii Guidelines for the Safety of the User and Protection of the FX 2N -5A Special function block. This manual provides infor mation for the use of the FX 2N -5A Special function block. The manual has been written to be used by trained and competent personnel. The defin...
Page 6 - Notes on the Symbols Used in this Manual
FX2N-5A Special function block iv Notes on the Symbols Used in this Manual At various times throughout this manual cer tain symbols will be used to highlight points whichare intended to ensure the users personal safety and protect the integr ity of equipment.Whenever any of the following symbols are...
Page 8 - Note Concerning the CE Marking
FX2N-5A Special function block vi Note Concerning the CE Marking This document does not guarantee that a mechanical system including this product will complywith the following standards. Compliance to EMC standards of the entire mechanical systemshould be checked by the user / manufacturer. Complian...
Page 9 - EMC; Programmable Controller (Open Type Equipment); Standard
FX2N-5A Special function block vii EMC The following products have shown compliance thr ough direct testing (of the identifiedstandards below) and design analysis (through the creation of a technical construction file) tothe European Directive for Electromagnetic Compatibility (89/336/EEC) when used...
Page 15 - Introduction 1; Introduction
Introduction 1 1-1 1. Introduction The FX 2N -5A analog special function block has four input channels and one output channel. The input channels receive analog signals and conver ts them to the comparable digital values.The output channel takes a digital value and outputs an equivalent analog signa...
Page 16 - MEMO
FX2N-5A Special function block Introduction 1 1-2 MEMO
Page 17 - External Dimensions and Parts 2; External Dimensions and Parts
External Dimensions and Parts 2 2-1 2. External Dimensions and Parts FX -5A POWER 24V AD/DA 2N 24+ 24- VI- OUT V+ I+ V+ VI- V+ I+ VI- I+ VI- V+ I+ V+ I+ VI- IN4 IN3 IN2 IN1 5A 4(0.16") 87(3.43") 9(0.35") 55(2.17") 90(3.54") 1) 10) 9) 2) 80(3.15") 3) 8) 7) 55(2.17") 4) 5) ...
Page 18 - to light this indicator lamp.
FX2N-5A Special function block External Dimensions and Parts 2 2-2 1) Direct mounting hole (2- φ 4.5) (0.18) 2) Extension cable 3) Power indicator lamp (LED) 5V power is supplied from the programmable controller to light this indicator lamp. 4) Power supply terminals (Screw terminal: M3 (0.12)) 5) A...
Page 19 - Installation 3; Installation; Install the FX
Installation 3 3-1 3. Installation Install the FX 2N -5A to the right side of a main unit, extension unit, extension block or special block of the FX 0N /FX 1N /FX 2N /FX 2NC /FX 3U /FX 3UC Series PLC. The FX 2N -5A can be installed with DIN rail (DIN46277 of 35 mm in width) or directly installed wi...
Page 20 - • The FX
FX2N-5A Special function block Installation 3 3-2 Figure 3.1: Installation with DIN rail • The FX 2N -5A can be installed on DIN rail (DIN46277) of 35 mm in width as it is. Forremoval, pull down on the DIN rail mountinghook, then remove the FX 2N -5A. Figure 3.2: Direct installation • The FX 2N -5A ...
Page 21 - Connection to PLC 4; Connection to PLC
Connection to PLC 4 4-1 4. Connection to PLC Connect the FX 2N -5A to the right side of a main unit, extension unit or extension block of FX 0N / FX 1N /FX 2N /FX 2NC /FX 3U /FX 3UC Series PLC with an extension cable. For connection to a basic unit or extension block of the FX 2NC Series PLC, use an...
Page 23 - Wiring 5; Wiring; Caution; ) The terminal screws of the FX; or less
Wiring 5 5-1 5. Wiring 5.1 Caution 1) Do not lay signal cabling near to high voltage power cabling or house them in the same trunking duct. Effects of noise or surge induction may occur. Keep signal cables at safe dis-tance of more than 100 mm (3.94") from these power cables. 2) The terminal scr...
Page 24 - Input Wiring
FX2N-5A Special function block Wiring 5 5-2 5.2 Input Wiring Figure 5.2: Input Wiring *1 Use a two-core, shielded twisted pair for the analog input line, and separate itfrom other power lines or a lines easilyinduced. *2 If there is voltage ripple in the input signal or there is noise in the exter n...
Page 25 - Output Wiring; *1 Use a twisted pair shielded cable for the
FX2N-5A Special function block Wiring 5 5-3 5.3 Output Wiring Please refer to 5.2 for the wiring for "24+", "24-" terminals. Figure 5.3: Output Wiring *1 Use a twisted pair shielded cable for the analog output. This cable should be wiredaway f r o m p owe r l i n e s o r a ny o t h e...
Page 27 - Specifications 6; Specifications; Malfunctions may occur.; Item
Specifications 6 6-1 6. Specifications *1 If the pressure is higher than the atmospheric pressure, do not use FX 2N -8AD. Malfunctions may occur. Table 6.1: General specifications Item Specifications Ambient temperature range 0 to +55 ° C during operation, -20 to +70 ° C during storage Ambient humid...
Page 29 - Analog input range
FX2N-5A Special function block Specifications 6 6-3 Table 6.4: Voltage/current input specifications Item Voltage input Current input Analog input range -10 to +10 V DC (input resistance: 200 k Ω ) Adjustment is enabled with the following conditions:Offset value: -32000 to +5000 mVGain value: -5000 t...
Page 33 - Data transfer between the FX
Buffer Memory (BFM) 7 7-1 7. Buffer Memory (BFM) Caution 1) Do not access the “Reserved” buffer memories “Reserved” (BFM #16, #17, #24, #31 to #40, #46 to #50, #56 to #70, #75 to #80, #85 to #90, #95 to #98, #100, #110, #120 to #199) using FROM/TO instructions. Accessing the reserved buffer memories...
Page 35 - BFM
FX2N-5A Special function block Buffer Memory (BFM) 7 7-3 #18 Hold last value / reset output to offset value when PLC is stopped { K0 #19 Disables setting change of I/O characteristics and convenient functions. The following BFMs are protected:BFM 0 (input channel mode settings)BFM 1 (output channel ...
Page 43 - Digital Value 5
FX2N-5A Special function block Buffer Memory (BFM) 7 7-11 #219 CH2 Scaling function Digital Value 5 This function defines a Scaling input curve (similar to a look up table) for each channel. { K0 • • • #238 CH4 Scaling function Analog Value 5 { K0 #239 CH4 Scaling function Digital Value 5 { K0 #240 ...
Page 44 - Details of buffer memories; The meaning of the digits is as follows:; range error alarm will be set in BFM 28
FX2N-5A Special function block Buffer Memory (BFM) 7 7-12 7.2 Details of buffer memories 7.2.1 BFM 0 input mode specification (READ/WRITE) BFM 0 specifies the input mode of CH1 to CH4. The BFM consists of a 4-digit hexadecimalcode, where one digit is assigned to each input channel. The range for eac...
Page 46 - Specify of output mode
FX2N-5A Special function block Buffer Memory (BFM) 7 7-14 7.2.2 BFM 1 output mode specification (READ/WRITE) BFM 1 specifies the output mode of the analog output CH1. The BFM consists of a 4-digithexadecimal code, where only the lowest digit is assigned to the analog output channel. Therange for the...
Page 48 - Update of average data
FX2N-5A Special function block Buffer Memory (BFM) 7 7-16 7.2.3 BFM 2 to BFM 5 Number of averaging times (READ/WRITE) The number of averaging times of BFM 2 to BFM 5 specify the number of samples that is usedto calculate the average values which are displayed in BFM 6 to BFM 9.The setting range of t...
Page 49 - BFM 6 to BFM 9 Averaged Input Channel data (READ only)
FX2N-5A Special function block Buffer Memory (BFM) 7 7-17 7.2.4 BFM 6 to BFM 9 Averaged Input Channel data (READ only) The average A/D conversion data of each input channel is displayed in BFM 6 to BFM 9. Thenumber of samples to calculate the average data is influenced by the setting in BFM 2 to BFM...
Page 51 - The permitted values are as follows:
FX2N-5A Special function block Buffer Memory (BFM) 7 7-19 7.2.10 BFM 19 setting change enable/disable (READ/WRITE) BFM 19 permits or prohibits the change of the I/O characteristics for the following functions: BFM 0 (input channel mode settings)BFM 1 (output channel mode settings)BFM18 (hold/reset l...
Page 52 - BFM 20 will reset the FX; Permitted values are as follows:; initialization is completed.
FX2N-5A Special function block Buffer Memory (BFM) 7 7-20 7.2.11 BFM 20 Initialization function (reset all values to default) (READ/WRITE) BFM 20 will reset the FX 2N -5A to the factory default. By initialization, the modes, average numbers, offset/gain settings, direct output controlfunction, lower...
Page 53 - The b0 to b4 bits of BFM 21 are assigned to each channel of the FX; Invalid
FX2N-5A Special function block Buffer Memory (BFM) 7 7-21 7.2.12 BFM 21 Writes I/O characteristics (offset/gain Scaling function setting) (READ/WRITE) The b0 to b4 bits of BFM 21 are assigned to each channel of the FX 2N -5A. (Bit 4 is assingned to the analog output channel, bit 3 is assigned to inp...
Page 54 - b0: Upper/lower limit average value detection function
FX2N-5A Special function block Buffer Memory (BFM) 7 7-22 7.2.13 BFM 22 Convenient functions setting (READ/WRITE) The functions described below are assigned to b0 to b3 of BFM 22. When a bit is set ON, theassigned functions become valid. Other bits, not specified by the values below, will simply bei...
Page 55 - The values of the Hex digits are as follows:; added to the analog output value in BFM 14.
FX2N-5A Special function block Buffer Memory (BFM) 7 7-23 b8 to b11: switch off range over/range under alarm for corresponding input channel The value of BFM 22 is stored non-volatile in the internal EEPROM. There is a safety functionto protect the internal EEPROM from being destroyed by accidentall...
Page 56 - BFM 24 Reserved
FX2N-5A Special function block Buffer Memory (BFM) 7 7-24 Example: Value in BFM 23 is set to H1234.Output value (BFM 15) = BFM 14(TO) - BFM 10 - BFM 7 + BFM 12 + BFM 9If at least one Hex digit in BFM 23 is set to a Hex number between 1 and 4, after calculating ofthe digital output value in BFM 15, t...
Page 57 - Description
FX2N-5A Special function block Buffer Memory (BFM) 7 7-25 7.2.16 BFM 25 Filter-level selection register (READ/WRITE) The following Table shows the possible values of BFM 25 for using the digital Filter of the FX 2N -5A-Device: Table 7.2: Bit assignment in BFM 25 Bit No. Channel No. Description b0 CH...
Page 58 - Formula for filter cut-off frequency f; sampling time per input; update every 2 ms
FX2N-5A Special function block Buffer Memory (BFM) 7 7-26 Formula for filter cut-off frequency f L : f L = F 1 /(sampling time × no. of active channels) [Hz] with cut-off frequency factor F 1 =0.1, 0.05, 0.025 or 0.01. There are two filter parameters that can be changed, the filter-level and the cut...
Page 59 - A/D conversion value when input filter is used.
FX2N-5A Special function block Buffer Memory (BFM) 7 7-27 A/D conversion value when input filter is used. Time Analog valueDigital value When input filter is used The change of the A/D conversion valuebecomes smooth.It is smooth when numerical value at levelis large. Time The change in shorter width...
Page 66 - BFM 29 Error status; The error information is assigned to each bit of BFM 29.; Assignment
FX2N-5A Special function block Buffer Memory (BFM) 7 7-34 7.2.20 BFM 29 Error status The error information is assigned to each bit of BFM 29. Table 7.7: Bit assignment in BFM 29 Bit No. Assignment Description b0 Error detected b0 is ON if at least one output of b1 to b5 is ON. b1 Offset/gain set val...
Page 67 - Filter mode setting error
FX2N-5A Special function block Buffer Memory (BFM) 7 7-35 b10 Number of averaging times setting error Number of averaging times is incorrectly set.Set it within range from 1 to 256. If the no. of average data was set to a value outside the range of 1 to 256, the corresponding BFM was set to 1. In th...
Page 71 - Setting range; Current input; Offset data
FX2N-5A Special function block Buffer Memory (BFM) 7 7-39 Setting range However, the actual effective input range is "-10 to +10 V", "-20 to +20 mA", "4 to +20 mA" or "-100 to +100mV". Table 7.9: Setting range Voltage input (+/-10V) Current input Voltage input (+/-100...
Page 72 - A for current output)
FX2N-5A Special function block Buffer Memory (BFM) 7 7-40 7.2.26 BFM 55 Analog output Gain data (READ/WRITE) Output Gain data: Analog output voltage or current if digital input in BFM 14 is 16000 (or 1000as stated in table below) default gain value for voltage mode (-10V/+10V) is 5V (=K5000), forcur...
Page 73 - Range of setting
FX2N-5A Special function block Buffer Memory (BFM) 7 7-41 7.2.27 BFM 71 to BFM 74 Lower limit, alarm set value (READ/WRITE) 7.2.28 BFM 81 to BFM 84 Upper limit, alarm set value (READ/WRITE) The upper/lower limit value of the alar m detection function (BFM 22 b0, b1) is written to thelower limit valu...
Page 74 - A: Scaling function current input mode
FX2N-5A Special function block Buffer Memory (BFM) 7 7-42 A: Scaling function current input mode -32768 to +32767 B: Scaling function voltage input mode -32768 to +32767 C to E: It is not possible to set. Invalid F: No input channel use Invalid Input mode (BFM#0) Range of setting
Page 75 - BFM 91 to BFM 94 Sudden change detection set value (READ/WRITE)
FX2N-5A Special function block Buffer Memory (BFM) 7 7-43 7.2.29 BFM 91 to BFM 94 Sudden change detection set value (READ/WRITE) When using the sudden change detection functions, the set value to judge the sudden changeis written to BFM 91 to 94. If the value is 0, the function is disabled. The vali...
Page 77 - Initial value
FX2N-5A Special function block Buffer Memory (BFM) 7 7-45 7.2.31 BFM 101 to BFM 108 Peak value (minimum value) (READ only) 7.2.32 BFM 111 to BFM 118 Peak value (maximum value) (READ only) When the peak value hold function (BFM 22 b2,b3) is used the minimum average values of thed a t a ( B F M 6 t o ...
Page 80 - Scaling function setting procedures; The Scaling function is set according to the following procedure.
FX2N-5A Special function block Buffer Memory (BFM) 7 7-48 Scaling function setting procedures The Scaling function is set according to the following procedure. 1) Please make a set change in the I/O characteristic permission (BFM19=K1). ↓ 2) Please write the mode which uses the Scaling function in B...
Page 81 - Program example when Scaling function is used
FX2N-5A Special function block Buffer Memory (BFM) 7 7-49 Program example when Scaling function is used Set change permission of I/Ocharacteristic Input mode settingAnalog input CH1 is set inScaling function Analog scale value of changepoint 1 Digital value of change point 1 Digital value of change ...
Page 83 - in BFM 0
FX2N-5A Special function block Buffer Memory (BFM) 7 7-51 • The range in which the analog scale value and digital value can be set varies according tothe I/O mode selected for BFM0 and BFM1.When setting the analog scale value, write the value conver ted to percentage (1/100). Example: When input mod...
Page 84 - Setting range of analog input; Set BFM 0 to 9
FX2N-5A Special function block Buffer Memory (BFM) 7 7-52 Setting range of analog input Set BFM 0 to 9 Set BFM 0 to A Analog scale value: -10000 to +10000 Analog scale value: 2000 to 10000 Digital value : -32768 to +32767 Digital value : -32768 to +32767 Digital value 32767 -10000 (-10V) -32768 1000...
Page 86 - Setting range of analog output; Set BFM 1 to 9
FX2N-5A Special function block Buffer Memory (BFM) 7 7-54 Setting range of analog output Set BFM 1 to 9 Set BFM 1 to A Analog scale value: -10000 to +10000 Analog scale value: 0 to 10000 Digital value : -32768 to +32767 Digital value : -32768 to +32767 Digital value 32767 -10000 (-10V) -32768 10000 ...
Page 89 - The figure below shows the example for an analog input.
FX2N-5A Special function block Buffer Memory (BFM) 7 7-57 The figure below shows the example for an analog input. BFM#206:10000BFM#207:425 BFM#200:-10000BFM 201 :50 BFM#202:-4000BFM#203:275 BFM#204:3000BFM#205:375 C a lc ula ted Digita l Value Analog Input Scale Value (% of maximum range) Example fo...
Page 91 - Adjustment of I/O Characteristics 8; Adjustment of I/O Characteristics; Standard I/O characteristics; Explanation; Input mode or output mode
Adjustment of I/O Characteristics 8 8-1 8. Adjustment of I/O Characteristics The factory, the FX 2N -5A has standard I/O characteristics in accordance with each input mode (BFM #0, BFM #1) set as the factory default.In the voltage input mode and current input mode, adjust the standard I/O characteri...
Page 92 - Input characteristics
FX2N-5A Special function block Adjustment of I/O Characteristics 8 8-2 Input characteristics 0. Voltage input, -10 to 10V → -32000 to +32000 1. Current input, 4 to 20mA → 0 to 32000 Digital value -10 10 32000 Approx.32767 A pprox . 10. 24 0V A pprox . -10. 24 0V -32000Approx.-32768 Input voltage (V)...
Page 95 - Output characteristics; -10 to 10V
FX2N-5A Special function block Adjustment of I/O Characteristics 8 8-5 Output characteristics 0.Voltage output, -32000 to +32000 → -10 to 10V 1.Voltage output, -2000 to +2000 → -10 to 10V Digital value -10 10 32000 Approx.10.240 A pprox .327 67 A pprox .- 327 68 -32000 Approx.-10.240 Output Voltage ...
Page 98 - Adjustment of I/O characteristics; Adjust the I/O characteristics using the buffer memories in the FX
FX2N-5A Special function block Adjustment of I/O Characteristics 8 8-8 8.2 Adjustment of I/O characteristics Adjust the I/O characteristics using the buffer memories in the FX 2N -5A. At first, write the input/output mode to BFM #0 and BFM #1, write the offset data to BFM #41 toBFM #45, then write t...
Page 101 - Example program 9; Example program; Program example for analog input/output; Condition; The FX; Number of times of averaging:; 0 in each input channel
Example program 9 9-1 9. Example program 9.1 Program example for analog input/output The section introduces an example program to manipulate analog input/output using the FX 2N -5A. Condition System configuration: The FX 2N -5A (unit No. 0) is connected as a special function block nearest to the FX ...
Page 104 - Outline of FROM/TO commands; FX
FX2N-5A Special function block Example program 9 9-4 9.2 Outline of FROM/TO commands FX 2N -5A reads and writes FROM/TO commands of PLC. FROM/TO commands are outlined as follows. • When X010 and X011 are OFF, the transfer is not executed and the data of the transferdestination does not vary. For det...
Page 105 - Appendix A; Further Information Manual; Manual Name
Appendix A A-1 Appendix A:Associated Manuals List For fur ther information manual about FX Series, refer to following table: Table A-1: Further Information Manual Manual Name Manual No. Description FX 0 /FX 0N Hardware Manual JY992D47501 This manual contains hardware explanations of wiring, installa...
Page 108 - Specifications are subject to change without notice.; MODEL
HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPANHIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY997D11401D(MEE) Effective September 2008 Specifications are subject to change without notice. USER’S MANUAL FX 2N -5A Special function block MODEL FX2N-5A-U-E MODEL CODE 09...