User's Manual: FX - 4AD Analog Input Block
User's Manual: FX - 4AD Analog Input Block
User's Manual: FX - 4AD Analog Input Block
List of Further Information Manuals 3. PLC Connection • For crossover wiring to the next block of the FX2NC-4AD, remove the resin
Manual Name Manual No. Description cover from the power crossover connector.
When connecting the FX 2NC -
4 AD t o t h e F X 2 N C / F X 3 U C Slide
This manual contains hardware explanations lock 4.2 Input wiring
FX2NC Hardware Series main unit or extension
JY992D76401 of wiring, installation and specifications for
Manual
the FX2NC Series programmable controllers. block, remove the extension For terminal arrangement, refer to Chapter 2 of this manual.
FX2NC-4AD Analog input block FX3UC This manual contains hardware explanations
port cover from the right side of
t h e m a in u n it o r ex t e n sio n Slide lock
Hook Case of current input
Terminal
FX2NC-4AD
User's Manual JY997D28701 of wiring, installation and specifications for
Thank you very much for purchasing this product. - Hardware Edition the FX3UC Series programmable controllers. block, keep the slide lock in the Shield *1 block 6.8kΩ
main unit or extension block Hook V
+
ch
In order to handle the product properly please read this manual thoroughly This manual contains instruction pulled upward, then align the *2 250Ω
FX Programming I
+
before starting to use the product. Manual II JY992D88101 explanations for the FX1S, FX1N, FX2N and hook in the FX2NC-4AD with the 200kΩ
FX2NC Series programmable controllers. COM
mounting hole in the former
FX3S / FX3G / FX3GC / This manual contains instruction step of the main unit or SLD *3
Main unit FX2NC-4AD
User’s Manual FX3U / FX3UC
Programming
JY997D16601 explanations for the FX3S, FX3G, FX3GC,
FX3U, FX3UC Series programmable
extension block.
Then push the slide lock downward to fix the FX2NC-4AD. When connecting two
Case of voltage input
Shield *1 6.8kΩ ch
MODEL FX2NC-4AD Manual controllers. or more FX2NC-4AD units, connect an FX2NC -4AD unit to another FX2NC-4AD V
+
unit in the same way. 250Ω
MANUAL Number JY997D07801E I
+
1. Introduction Up to four special function blocks or special function units in total can be COM
200kΩ
Date April 2015
The FX2NC-4AD analog input block (hereafter referred to as "FX2NC-4AD") converts connected to the FX2NC Series PLC including those connected to the FX2NC-
CNV-IF. SLD
Guidelines for the Safety of the User and Protection of the FX2NC-4AD 4 points of analog input values (voltage and current inputs) into digital values, and
special function block. transfers them to the main unit. Up to eight special function blocks or special function units in total can be *4
The FX2NC-4AD can be connected to the FX2NC / FX3UC Series PLC. connected to the FX3UC*1 Series PLC including those connected to the FX2NC-
in V
+, I
+, and ch
in
This manual should be used by trained and competent personnel. The the diagram indicates a ch
definition of such a person or persons is as follows: 1) A combination of voltage and current analog inputs selectable via the PLC TO CNV-IF or FX3UC-IPS-5V.
instruction should be used to configure the individual input channels. For each connected special function block or special function unit, a unit number number.
a) Any engineer using the product associated with this manual, should be of a is assigned starting with 0 for the special function block and special function unit *1 When wiring the analog output cable, use a shielded two-core twisted
2) The voltage input range can be selected within -10 to 10V, alternatively, the
competent nature, trained and qualified to the local and national standards. current input range can be selected within -20 to 20mA and 4 to 20mA. The nearest to the main unit. cable, and separate it from other power cables and cables easily affected
These engineers should be fully aware of all aspects of safety with regards input characteristics can be adjusted for each channel (except when {=2, 5, 8 From the main unit, use FROM/TO instructions to read or write data stored in by induction.
to automated equipment. is set in BFM #0 that disables all changes to the offset or gain). the FX2NC-4AD. *2 For current input, short-circuit the V
+ terminal and the I
+ terminal
b) Any commissioning or service engineer must be of a competent nature, 3) The resolution is 0.32 mV (20 V × 1/64,000) or 2.50 mV (20 V × 1/8,000) when *1 Up to seven special function blocks or special function units in total can be (
: Input channel No.).
trained and qualified to the local and national standards. voltage input is used, and 1.25 μA (40 mA × 1/32,000) or 5.00 μA (40 mA × 1/ connected to the FX3UC -32MT-LT(-2) PLC. Unit numbers assigned to special
c) All operators of the completed equipment should be trained to use this 8,000) when current input is used. *3 The "SLD" terminal and " " terminal are internally connected.
function units / blocks begins with No.1.
product in a safe and coordinated manner in compliance to established 4) Data transfer with the PLC is performed via the buffer memories of the FX2NC- *4 Do not wire the " • " terminal.
safety practices. 4AD using FROM/TO instructions. 4. Wiring Terminal connector handling
Note:The term 'completed equipment' refers to a third party constructed 2. External Dimensions and Part Name 4.1 Power supply wiring The FX 2NC -4AD is equipped with a terminal connector whose form is
device which contains or uses the product associated with this manual.
standards. Compliance to EMC standards of the entire mechanical module insulating sleeve, and applicable wiring, please refer to the PLC main unit
V2+ SLD COM1 I1+ V1+
3)’ FX2NC-10BPCB1:
PW
90(3.55")
3) 64, 96])
SLD COM3 I3+
Note The general specifications are equivalent to those of the main unit. (For
1) Connection example with the power supply through crossover wiring to the
V4+
• Authorized Representative in the European Community: FX2NC input extension block details, refer to the PLC main unit manual.)
SLD COM4 I4+
buffer memories (hereafter referred to as "BFM") of the FX2NC-4AD. •• follows up the analog input
• Reserved ⎯ setting (BFM #6 to #9) is 0] Digital output value
Each BFM consists of 1 word, 16 bits. BFM No. 0 to 1799 have assigned value.
Setting range: 0 to 30,000 ms
functionality, communication with these BFMs should be performed using CH1 addition data Setting range: -16,000 to 16,000 Digital filter set value
TO/FROM instructions supplied by the main unit. #61 K0 Resets or stops data history.
(valid while BFM #22 b0 is ON)
When the power is switched ON from OFF, the initial value is written to each [Effective only for channels whose number of Digital filter set value
CH2 addition data Setting range: -16,000 to 16,000 #199 K0
BFM. Create a program for the PLC so that the desired contents are written #62 K0 averaging times (BFM #2 to #5) is 1 and digital filter
(valid while BFM #22 b0 is ON) setting (BFM #6 to #9) is 0] They are converted into stable digital output values.
to the BFMs every time the power of the PLC is turned ON. (time margin: less than 10 samplings)
(The contents stored in BFM #0, #19, #22, #41 to #44 and #51 to #54 are CH3 addition data Setting range: -16,000 to 16,000 CH1 data history Time
#63 K0 #200 Data history sampling is K0
held in the built-in EEPROM, and kept against power failure.) (valid while BFM #22 b0 is ON) (1st value) The table below shows the relationship between the set value of BFM #6 to
effective only for channels
CH4 addition data Setting range: -16,000 to 16,000 •• •• whose number of averaging •• #9 and the operation.
6.1 Buffer Memories (BFM) lists #64 K0 • • times (BFM #2 to #5) is 1 •
(valid while BFM #22 b0 is ON) Digital filter function is invalid. Set value error occurs
BFM CH4 data history and digital filter setting (BFM Set value < 0
Description Initial value •• Reserved ⎯ #1799 #6 to #9) is 0. K0 (BFM #29 b11 turns ON.).
No. • (400th value)
Set value = 0 Digital filter function is invalid.
#0 Specifies input mode of CH1 to CH4. H0000 Minimum digital
CH1 lower limit error set value (valid while BFM #22 1 ≤ Set value ≤ 1,600 Digital filter function is valid.
#71 value inside input 6.2 Details of buffer memories
#1 Reserved ⎯ b1 is ON)
range
BFM #0: Specifies input mode. Digital filter function is invalid. Set value error occurs
Number of averaging times for CH1 1,600 < Set value
#2 K1 Minimum digital Specify the input mode of CH1 to CH4 by writing a numeric BFM#0 (BFM #29 b11 turns ON.).
Setting range: 1 to 4,095 times CH2 lower limit error set value (valid while BFM #22
#72 value inside input value to BFM #0.
b1 is ON) H{{{{ BFM #10 to BFM #13: Channel data
Number of averaging times for CH2 range
#3 K1 The input mode specification declares, each BFM expressed CH1
Setting range: 1 to 4,095 times The A/D conversion data for each channel is written to BFM #10 to #13.
Minimum digital as a 4-digit hexadecimal code, and each channel No. is CH2
CH3 lower limit error set value (valid while BFM #22 BFM #19: Disables setting change
Number of averaging times for CH3 #73 value inside input assigned to each digit. Specify a numeric value 0 to F in CH3
#4 K1 b1 is ON)
Setting range: 1 to 4,095 times range each digit for each channel. CH4 BFM #19 enables or disables the setting change of the I/O characteristics
Number of averaging times for CH4 Minimum digital {=0: Voltage input mode (-10 to 10V → -32000 to 32000), (BFM #0, #41 to #44, #51 to #54), the convenient functions (BFM #22).
#5 K1 CH4 lower limit error set value (valid while BFM #22 K1: Enables change (factory default).
Setting range: 1 to 4,095 times #74
b1 is ON)
value inside input resolution 0.32mV
range {=1: Voltage input mode (-10 to 10V → -4000 to 4000), resolution 2.50mV K2: Disables change.
#6 CH1: Digital filter setting Set range: 0 to 1,600 K0
•• {=2: Voltage input mode (-10 to 10V → -10000 to 10000), resolution 1mV BFM #20: Initializes functions
#7 CH2: Digital filter setting Set range: 0 to 1,600 K0 • Reserved ⎯ {=3: Current input mode (4 to 20mA → 0 to 16000), resolution 1.25 μA BFM #20 initializes all data stored in BFM #0 to BFM #1799, and sets the
#8 CH3: Digital filter setting Set range: 0 to 1,600 K0 Maximum digital {=4: Current input mode (4 to 20 mA → 0 to 4000), resolution 5.00 μA FX2NC-4AD to factory default.
#81
CH1 upper limit error set value (valid while BFM #22
value inside input {=5: Current input mode (4mA to 20mA → 4000 to 20000), resolution 1.25 μA By initialization, the input characteristics are reset to the values set at
#9 CH4: Digital filter setting Set range: 0 to 1,600 K0 b1 is ON) {=6: Current input mode (-20 to 20 mA → -16000 to 16000), resolution 1.25 μA
range factory default (voltage input, offset value K0, gain value K5000).
#10 CH1 data (immediate data or average data) ⎯ {=7: Current input mode (-20 to 20 mA → -4000 to 4000), resolution 5.00 μA K0: Normal
Maximum digital
#11 CH2 data (immediate data or average data) ⎯ #82
CH2 upper limit error set value (valid while BFM #22
value inside input {=8: Current input mode (-20 to 20 mA → -20000 to 20000), resolution 1.25 μA K1: Executes initialization. (Writes K1, subsequently returns to K0
b1 is ON) {=9 to E:Unusable when initialization is completed.)
range
#12 CH3 data (immediate data or average data) ⎯ {=F: Corresponding CH is not used.
Maximum digital BFM #21: Writes I/O characteristics
#13 CH4 data (immediate data or average data) ⎯ #83
CH3 upper limit error set value (valid while BFM #22
value inside input • The input characteristics are changed automatically according to the setting of Each channel No. is assigned to the lower 4 bits of BFM #21.
b1 is ON) BFM #0. (The input characteristics can be changed to independent values
•• range When a bit is set to ON, the offset data (BFM #41 to BFM #44) and the gain
• Reserved ⎯ except when {=2, 5, 8 is set in BFM #0 that disables all changes to the offset or
Maximum digital data (BFM #51 to BFM #54) of the assigned channel No. are written to the
CH4 upper limit error set value (valid while BFM #22 gain.) built-in memory (EEPROM).
Disables setting change of I/O characteristics #84 value inside input
(BFM #0, BFM #21) and convenient functions b1 is ON) • It takes approximately 5 seconds to change the input mode (to change each Give the write command to two or more channels at a time. (When entering
#19 K1 range
(BFM #22). set value). "HF", all channels are written to.)
Disables change: K2, Enables change: K1 •• Reserved ⎯
• Time interval of 5 seconds or more after changing the input mode until the When the write is completed, BFM #21 subsequently returns to K0.
Initializes functions. write of each setting (TO instruction) is performed. BFM21
CH1 sudden change detection set value
(Initializes functions at K1, then returns #91 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale • Setting "HFFFF" to allocate all channels as unusable is not allowed. b1 5, b14 , b1 3, b12 , b 11, b1 0, b 9, b8, b7 , b 6, b 5, b4, b3 , b2, b 1, b0
#20 K0
automatically to K0 after initialization is #22 b2 is ON) CH4 CH3 CH2 CH1
completed.) BFM #2 to BFM #5: Number of averaging times Invalid
CH2 sudden change detection set value (Make sure to set the number of averaging times to "1" when using the digital BFM #22: Sets convenient functions
Writes I/O characteristics. (Returns #92 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale
#21 automatically to K0 after write of offset/gain K0 filer.) The functions described below are assigned to b0 to b3 of BFM #22. When
#22 b2 is ON) The allowable set range of the number of averaging times is 1 to 4,095.
value is finished.) a bit is set to ON, the assigned function becomes valid.
CH3 sudden change detection set value If the number of averaging times is set to "1", the immediate data (current value) When a bit is set to OFF, the assigned function becomes invalid.
Sets convenient functions (data addition, upper/ #93 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale is stored in BFM #10 to #13. Otherwise, BFM #10 to BFM #13 will be averaged
#22 lower limit value detection, sudden change K0 #22 b2 is ON) depending on the value set in BFM #2 to BFM #5.
detection and minimum/maximum value hold).
CH4 sudden change detection set value If the number of averaging times is set to "0" or less, "0" is written. If the number
•• Reserved ⎯ #94 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale of averaging times is set to "4,096" or more, "4096" is written. In either case,
•
#22 b2 is ON) number of averaging times setting error (BFM #29 b10) occurs. The initial set
Upper/lower limit value error status (valid while value is "1".
#26 K0 ••
BFM #22 b1 is ON) • Reserved ⎯
JY997D07801E
List of Further Information Manuals 3. PLC Connection • For crossover wiring to the next block of the FX2NC-4AD, remove the resin
Manual Name Manual No. Description cover from the power crossover connector.
When connecting the FX 2NC -
4 AD t o t h e F X 2 N C / F X 3 U C Slide
This manual contains hardware explanations lock 4.2 Input wiring
FX2NC Hardware Series main unit or extension
JY992D76401 of wiring, installation and specifications for
Manual
the FX2NC Series programmable controllers. block, remove the extension For terminal arrangement, refer to Chapter 2 of this manual.
FX2NC-4AD Analog input block FX3UC This manual contains hardware explanations
port cover from the right side of
t h e m a in u n it o r ex t e n sio n Slide lock
Hook Case of current input
Terminal
FX2NC-4AD
User's Manual JY997D28701 of wiring, installation and specifications for
Thank you very much for purchasing this product. - Hardware Edition the FX3UC Series programmable controllers. block, keep the slide lock in the Shield *1 block 6.8kΩ
main unit or extension block Hook V
+
ch
In order to handle the product properly please read this manual thoroughly This manual contains instruction pulled upward, then align the *2 250Ω
FX Programming I
+
before starting to use the product. Manual II JY992D88101 explanations for the FX1S, FX1N, FX2N and hook in the FX2NC-4AD with the 200kΩ
FX2NC Series programmable controllers. COM
mounting hole in the former
FX3S / FX3G / FX3GC / This manual contains instruction step of the main unit or SLD *3
Main unit FX2NC-4AD
User’s Manual FX3U / FX3UC
Programming
JY997D16601 explanations for the FX3S, FX3G, FX3GC,
FX3U, FX3UC Series programmable
extension block.
Then push the slide lock downward to fix the FX2NC-4AD. When connecting two
Case of voltage input
Shield *1 6.8kΩ ch
MODEL FX2NC-4AD Manual controllers. or more FX2NC-4AD units, connect an FX2NC -4AD unit to another FX2NC-4AD V
+
unit in the same way. 250Ω
MANUAL Number JY997D07801E I
+
1. Introduction Up to four special function blocks or special function units in total can be COM
200kΩ
Date April 2015
The FX2NC-4AD analog input block (hereafter referred to as "FX2NC-4AD") converts connected to the FX2NC Series PLC including those connected to the FX2NC-
CNV-IF. SLD
Guidelines for the Safety of the User and Protection of the FX2NC-4AD 4 points of analog input values (voltage and current inputs) into digital values, and
special function block. transfers them to the main unit. Up to eight special function blocks or special function units in total can be *4
The FX2NC-4AD can be connected to the FX2NC / FX3UC Series PLC. connected to the FX3UC*1 Series PLC including those connected to the FX2NC-
in V
+, I
+, and ch
in
This manual should be used by trained and competent personnel. The the diagram indicates a ch
definition of such a person or persons is as follows: 1) A combination of voltage and current analog inputs selectable via the PLC TO CNV-IF or FX3UC-IPS-5V.
instruction should be used to configure the individual input channels. For each connected special function block or special function unit, a unit number number.
a) Any engineer using the product associated with this manual, should be of a is assigned starting with 0 for the special function block and special function unit *1 When wiring the analog output cable, use a shielded two-core twisted
2) The voltage input range can be selected within -10 to 10V, alternatively, the
competent nature, trained and qualified to the local and national standards. current input range can be selected within -20 to 20mA and 4 to 20mA. The nearest to the main unit. cable, and separate it from other power cables and cables easily affected
These engineers should be fully aware of all aspects of safety with regards input characteristics can be adjusted for each channel (except when {=2, 5, 8 From the main unit, use FROM/TO instructions to read or write data stored in by induction.
to automated equipment. is set in BFM #0 that disables all changes to the offset or gain). the FX2NC-4AD. *2 For current input, short-circuit the V
+ terminal and the I
+ terminal
b) Any commissioning or service engineer must be of a competent nature, 3) The resolution is 0.32 mV (20 V × 1/64,000) or 2.50 mV (20 V × 1/8,000) when *1 Up to seven special function blocks or special function units in total can be (
: Input channel No.).
trained and qualified to the local and national standards. voltage input is used, and 1.25 μA (40 mA × 1/32,000) or 5.00 μA (40 mA × 1/ connected to the FX3UC -32MT-LT(-2) PLC. Unit numbers assigned to special
c) All operators of the completed equipment should be trained to use this 8,000) when current input is used. *3 The "SLD" terminal and " " terminal are internally connected.
function units / blocks begins with No.1.
product in a safe and coordinated manner in compliance to established 4) Data transfer with the PLC is performed via the buffer memories of the FX2NC- *4 Do not wire the " • " terminal.
safety practices. 4AD using FROM/TO instructions. 4. Wiring Terminal connector handling
Note:The term 'completed equipment' refers to a third party constructed 2. External Dimensions and Part Name 4.1 Power supply wiring The FX 2NC -4AD is equipped with a terminal connector whose form is
device which contains or uses the product associated with this manual.
standards. Compliance to EMC standards of the entire mechanical module insulating sleeve, and applicable wiring, please refer to the PLC main unit
V2+ SLD COM1 I1+ V1+
3)’ FX2NC-10BPCB1:
PW
90(3.55")
3) 64, 96])
SLD COM3 I3+
Note The general specifications are equivalent to those of the main unit. (For
1) Connection example with the power supply through crossover wiring to the
V4+
• Authorized Representative in the European Community: FX2NC input extension block details, refer to the PLC main unit manual.)
SLD COM4 I4+
buffer memories (hereafter referred to as "BFM") of the FX2NC-4AD. •• follows up the analog input
• Reserved ⎯ setting (BFM #6 to #9) is 0] Digital output value
Each BFM consists of 1 word, 16 bits. BFM No. 0 to 1799 have assigned value.
Setting range: 0 to 30,000 ms
functionality, communication with these BFMs should be performed using CH1 addition data Setting range: -16,000 to 16,000 Digital filter set value
TO/FROM instructions supplied by the main unit. #61 K0 Resets or stops data history.
(valid while BFM #22 b0 is ON)
When the power is switched ON from OFF, the initial value is written to each [Effective only for channels whose number of Digital filter set value
CH2 addition data Setting range: -16,000 to 16,000 #199 K0
BFM. Create a program for the PLC so that the desired contents are written #62 K0 averaging times (BFM #2 to #5) is 1 and digital filter
(valid while BFM #22 b0 is ON) setting (BFM #6 to #9) is 0] They are converted into stable digital output values.
to the BFMs every time the power of the PLC is turned ON. (time margin: less than 10 samplings)
(The contents stored in BFM #0, #19, #22, #41 to #44 and #51 to #54 are CH3 addition data Setting range: -16,000 to 16,000 CH1 data history Time
#63 K0 #200 Data history sampling is K0
held in the built-in EEPROM, and kept against power failure.) (valid while BFM #22 b0 is ON) (1st value) The table below shows the relationship between the set value of BFM #6 to
effective only for channels
CH4 addition data Setting range: -16,000 to 16,000 •• •• whose number of averaging •• #9 and the operation.
6.1 Buffer Memories (BFM) lists #64 K0 • • times (BFM #2 to #5) is 1 •
(valid while BFM #22 b0 is ON) Digital filter function is invalid. Set value error occurs
BFM CH4 data history and digital filter setting (BFM Set value < 0
Description Initial value •• Reserved ⎯ #1799 #6 to #9) is 0. K0 (BFM #29 b11 turns ON.).
No. • (400th value)
Set value = 0 Digital filter function is invalid.
#0 Specifies input mode of CH1 to CH4. H0000 Minimum digital
CH1 lower limit error set value (valid while BFM #22 1 ≤ Set value ≤ 1,600 Digital filter function is valid.
#71 value inside input 6.2 Details of buffer memories
#1 Reserved ⎯ b1 is ON)
range
BFM #0: Specifies input mode. Digital filter function is invalid. Set value error occurs
Number of averaging times for CH1 1,600 < Set value
#2 K1 Minimum digital Specify the input mode of CH1 to CH4 by writing a numeric BFM#0 (BFM #29 b11 turns ON.).
Setting range: 1 to 4,095 times CH2 lower limit error set value (valid while BFM #22
#72 value inside input value to BFM #0.
b1 is ON) H{{{{ BFM #10 to BFM #13: Channel data
Number of averaging times for CH2 range
#3 K1 The input mode specification declares, each BFM expressed CH1
Setting range: 1 to 4,095 times The A/D conversion data for each channel is written to BFM #10 to #13.
Minimum digital as a 4-digit hexadecimal code, and each channel No. is CH2
CH3 lower limit error set value (valid while BFM #22 BFM #19: Disables setting change
Number of averaging times for CH3 #73 value inside input assigned to each digit. Specify a numeric value 0 to F in CH3
#4 K1 b1 is ON)
Setting range: 1 to 4,095 times range each digit for each channel. CH4 BFM #19 enables or disables the setting change of the I/O characteristics
Number of averaging times for CH4 Minimum digital {=0: Voltage input mode (-10 to 10V → -32000 to 32000), (BFM #0, #41 to #44, #51 to #54), the convenient functions (BFM #22).
#5 K1 CH4 lower limit error set value (valid while BFM #22 K1: Enables change (factory default).
Setting range: 1 to 4,095 times #74
b1 is ON)
value inside input resolution 0.32mV
range {=1: Voltage input mode (-10 to 10V → -4000 to 4000), resolution 2.50mV K2: Disables change.
#6 CH1: Digital filter setting Set range: 0 to 1,600 K0
•• {=2: Voltage input mode (-10 to 10V → -10000 to 10000), resolution 1mV BFM #20: Initializes functions
#7 CH2: Digital filter setting Set range: 0 to 1,600 K0 • Reserved ⎯ {=3: Current input mode (4 to 20mA → 0 to 16000), resolution 1.25 μA BFM #20 initializes all data stored in BFM #0 to BFM #1799, and sets the
#8 CH3: Digital filter setting Set range: 0 to 1,600 K0 Maximum digital {=4: Current input mode (4 to 20 mA → 0 to 4000), resolution 5.00 μA FX2NC-4AD to factory default.
#81
CH1 upper limit error set value (valid while BFM #22
value inside input {=5: Current input mode (4mA to 20mA → 4000 to 20000), resolution 1.25 μA By initialization, the input characteristics are reset to the values set at
#9 CH4: Digital filter setting Set range: 0 to 1,600 K0 b1 is ON) {=6: Current input mode (-20 to 20 mA → -16000 to 16000), resolution 1.25 μA
range factory default (voltage input, offset value K0, gain value K5000).
#10 CH1 data (immediate data or average data) ⎯ {=7: Current input mode (-20 to 20 mA → -4000 to 4000), resolution 5.00 μA K0: Normal
Maximum digital
#11 CH2 data (immediate data or average data) ⎯ #82
CH2 upper limit error set value (valid while BFM #22
value inside input {=8: Current input mode (-20 to 20 mA → -20000 to 20000), resolution 1.25 μA K1: Executes initialization. (Writes K1, subsequently returns to K0
b1 is ON) {=9 to E:Unusable when initialization is completed.)
range
#12 CH3 data (immediate data or average data) ⎯ {=F: Corresponding CH is not used.
Maximum digital BFM #21: Writes I/O characteristics
#13 CH4 data (immediate data or average data) ⎯ #83
CH3 upper limit error set value (valid while BFM #22
value inside input • The input characteristics are changed automatically according to the setting of Each channel No. is assigned to the lower 4 bits of BFM #21.
b1 is ON) BFM #0. (The input characteristics can be changed to independent values
•• range When a bit is set to ON, the offset data (BFM #41 to BFM #44) and the gain
• Reserved ⎯ except when {=2, 5, 8 is set in BFM #0 that disables all changes to the offset or
Maximum digital data (BFM #51 to BFM #54) of the assigned channel No. are written to the
CH4 upper limit error set value (valid while BFM #22 gain.) built-in memory (EEPROM).
Disables setting change of I/O characteristics #84 value inside input
(BFM #0, BFM #21) and convenient functions b1 is ON) • It takes approximately 5 seconds to change the input mode (to change each Give the write command to two or more channels at a time. (When entering
#19 K1 range
(BFM #22). set value). "HF", all channels are written to.)
Disables change: K2, Enables change: K1 •• Reserved ⎯
• Time interval of 5 seconds or more after changing the input mode until the When the write is completed, BFM #21 subsequently returns to K0.
Initializes functions. write of each setting (TO instruction) is performed. BFM21
CH1 sudden change detection set value
(Initializes functions at K1, then returns #91 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale • Setting "HFFFF" to allocate all channels as unusable is not allowed. b1 5, b14 , b1 3, b12 , b 11, b1 0, b 9, b8, b7 , b 6, b 5, b4, b3 , b2, b 1, b0
#20 K0
automatically to K0 after initialization is #22 b2 is ON) CH4 CH3 CH2 CH1
completed.) BFM #2 to BFM #5: Number of averaging times Invalid
CH2 sudden change detection set value (Make sure to set the number of averaging times to "1" when using the digital BFM #22: Sets convenient functions
Writes I/O characteristics. (Returns #92 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale
#21 automatically to K0 after write of offset/gain K0 filer.) The functions described below are assigned to b0 to b3 of BFM #22. When
#22 b2 is ON) The allowable set range of the number of averaging times is 1 to 4,095.
value is finished.) a bit is set to ON, the assigned function becomes valid.
CH3 sudden change detection set value If the number of averaging times is set to "1", the immediate data (current value) When a bit is set to OFF, the assigned function becomes invalid.
Sets convenient functions (data addition, upper/ #93 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale is stored in BFM #10 to #13. Otherwise, BFM #10 to BFM #13 will be averaged
#22 lower limit value detection, sudden change K0 #22 b2 is ON) depending on the value set in BFM #2 to BFM #5.
detection and minimum/maximum value hold).
CH4 sudden change detection set value If the number of averaging times is set to "0" or less, "0" is written. If the number
•• Reserved ⎯ #94 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale of averaging times is set to "4,096" or more, "4096" is written. In either case,
•
#22 b2 is ON) number of averaging times setting error (BFM #29 b10) occurs. The initial set
Upper/lower limit value error status (valid while value is "1".
#26 K0 ••
BFM #22 b1 is ON) • Reserved ⎯
b0: Data addition function BFM #28: Scale over status BFM #32: Operating time BFM #91 to BFM #94: Sudden change detection set value
The data (BFM #10 to BFM #13), minimum/maximum value (BFM #101 The result of the analog input value for each individual channel that has BFM #32 stores the continuous operating time for the FX2NC-4AD. When using the sudden change detection function (BFM #22 b2), enter the
to BFM #104, BFM #111 to BFM #114) and data history (BFM #200 to exceeded the input range will be written to BFM#28. Measurement starts when the power is turned ON, and the measured value is set value to judge the sudden change.
BFM #1799) of each channel is the measured value added by the Range in which input is available: reset when the power is turned OFF. When the data (BFM #10 to BFM #13) of each channel is updated, if the
addition data (BFM #61 to BFM #64). The measurement range is from 0 to 64,800 (s). After that, 64,800 is kept. difference between the previous value and the new value is larger than the
Voltage input mode Current input mode*1
When using this function, enter the value added by the addition data BFM #41 to BFM #44: Offset data sudden change detection set value (BFM #91 to BFM #94), the result is
(BFM #61 to BFM #64) to the lower limit value error set value (BFM - 10.2V to 10.2V - 20.4mA to 20.4mA BFM #51 to BFM #54: Gain data written to the sudden change detection status (BFM #27).
#71 to BFM #74) and the upper limit value error set value (BFM #81 to Offset data:Analog input value when the digital value is "0"
*1 The above table shows the available input range in the current input mode. A Setting range
BFM #84). Gain data :Analog input value when the digital value is as shown below (The
The addition data (BFM #61 to BFM #64) is not added to the scale over scale over status bit turns ON when the analog input value is -40.960mA or less The setting range will vary depending on the setting of the input mode (BFM
digital value varies depending on the setting of the input mode.)
data (BFM #28). or +40.940mA or more. #0).
Standard digital value for offset and gain in each input mode The table below shows the setting range for each input mode.
b1: Upper/lower limit value detection function Use the upper / lower limit detection function to detect the scale over status in (A number in the input mode column indicates a value set in BFM #0.)
When the A/D conversion data of each channel is outside the range of Write the set value in a digital value.
the current input mode.
the lower limit value error set value (BFM #71 to BFM #74) to the upper Input mode (BFM #0) 0 1 2 3 4 5 6 7 8 Input mode (BFM #0) Setting range Initial value
A bit will remain ON unless it is reset from switching the Power OFF or
limit value error set value (BFM #81 to BFM #84), the result is written to Standard offset value 0 0 - 0 0 - 0 0 -
overwriting the ON bit with an OFF bit via a TO instruction. 0: Voltage input mode
the upper/lower limit value error status (BFM #26). 1 to 32767 3200
Even while a scale over error is detected, the data (BFM #10 to BFM #13) of Standard gain value 16000 2000 - 16000 4000 - 16000 4000 - (-10 to 10 V → -32000 to 32000)
b2: Sudden change detection function
each channel continues to be updated. 1: Voltage input mode
When the data (BFM #10 to BFM #13) of each channel is updated, if • Set the offset and gain data for each channel. 1 to 4095 400
the difference between the previous value and the new value is larger Bit assignment of BFM #28 (-10 to 10 V → -4000 to 4000)
• Write the set value in units of "mV" for voltage input or "μA" for current input.
than the sudden change detection set value (BFM #91 to BFM #94), Bit No. Channel No. Description 2: Voltage input mode
• Do not change the input characteristics when {=2, 5, 8 is set in BFM #0. 1 to 10000 1000
the result is written to the sudden change detection status (BFM #27). b0 Scale over: Less than lower limit (Even if a numerical value is written, it is ignored.) (-10 to 10 V → -10000 to 10000)
b3: Minimum/maximum value hold function CH1
The minimum value of the data (BFM #10 to BFM #13) of each channel b1 Scale over: More than upper limit Initial offset/gain value (Unit: mV for voltage input, μA for current input) 3: Current input mode
1 to 8191 800
(4 to 20 mA → 0 to 16000)
is written to BFM #101 to BFM #104, and the maximum value is written b2 Scale over: Less than lower limit Input mode (BFM #0) 0 1 2 3 4 5 6 7 8
to BFM #111 to BFM #114. CH2 4: Current input mode
Initial offset value 0 4000 0 1 to 2047 200
b3 Scale over: More than upper limit (4 to 20 mA → 0 to 4000)
BFM #26: Upper/lower limit error status
b4 Scale over: Less than lower limit Initial gain value 5000 20000 5: Current input mode
The upper /lower limit value detection function (BFM#22 b1), writes 1 to 8191 800
detected errors to the corresponding bits in BFM#26 (see table). Upper and CH3 (4 to 20 mA → 4000 to 20000)
b5 Scale over: More than upper limit Setting range
lower limit error status for the four channels is located in bit-pairs in the first 6: Current input mode
8bits of BFM#26. b6 Scale over: Less than lower limit Voltage input Current input 1 to 16383 1600
(-20 to 20 mA → -16000 to 16000)
When the data (BFM #10 to BFM #13) of any channel is outside the range CH4
b7 Scale over: More than upper limit Offset data -10000 to 9000 (mV) -20000 to 17000 (μA)
from the lower limit error value (BFM #71 to BFM #74) to the upper limit 7: Current input mode
1 to 4095 400
error value (BFM #81 to BFM #84), the corresponding bit turns ON. Gain value - Offset value Gain value - Offset value (-20 to 20 mA → -4000 to 4000)
BFM #29: Error status Gain data
When a bit turns ON, it remains ON until it is reset by BFM #99 or the = 1,000 to 10,000 (mV) = 3,000 to 30,000 (μA)
Error information is assigned to each bit of BFM #29. 8: Current input mode
1 to 20000 2000
power is turned OFF. The actual effective input range is "-10 to 10 V" or "-20 to 20 mA". (-20 to 20 mA → -20000 to 20000)
Even while an upper/lower limit value error is detected, the data (BFM #10 Bit assignment of BFM #29
to BFM #13) of each channel continues to be updated. Bit BFM #61 to BFM #64: Addition data BFM #99: Clears upper/lower limit value error and sudden change
Assignment Description When using the data addition function (BFM #22 b0), data (BFM #10 to BFM
Bit assignment of BFM #26 No. detection error
#13), minimum/maximum value (BFM #101 to BFM #104, BFM #111 to BFM The commands to clear the lower and upper limit value error and the
Bit No. Channel No. Description b0 Error detected b0 is ON while either b2 to b4 is ON.
#114) and data history (BFM #200 to BFM #1799) of each channel becomes the sudden change detection error are assigned to the lower three bits of BFM
b0 Lower limit error b1 ⎯ ⎯ measured value added by the addition data (BFM #61 to BFM #64). #99.
CH1 When using the data addition function, enter the value added by the addition
b1 Upper limit error 24V DC power is not correctly supplied. The flag of the corresponding error status (BFM #26, BFM #27) is reset for
b2 Power error data (BFM #61 to BFM #64) to the lower limit value error set value (BFM #71 to all channels simultaneously when a bit is set to ON.
Check the wiring and supply voltage.
b2 Lower limit error BFM #74) and the upper limit value error set value (BFM #81 to BFM #84). After the reset is finished, each bit of BFM #99 returns automatically to the
CH2 FX2NC-4AD may have malfunctioned. Setting range: -16,000 to 16,000
b3 Upper limit error OFF state.
b3 Hardware error Contact the nearest Mitsubishi Electric System The setting of two or more clear commands to ON at the same time is
b4 Lower limit error Service center. BFM #71 to BFM #74: Lower limit, error set value
possible.
CH3 BFM #81 to BFM #88: Upper limit, error set value
b5 Upper limit error A/D conversion value is abnormal. Bit assignment of BFM #99
b4 A/D conversion value error Using the scale over data (BFM #28), check When using the upper/lower limit value detection function (BFM #22 b1), write
b6 Lower limit error the channel in which the error has occurred. the lower limit value of each channel to BFM #71 to BFM #74 and the upper limit Bit No. Description
CH4 value of each channel to BFM #81 to BFM #84.
b7 Upper limit error b5 ⎯ ⎯ b0 Clears lower limit error.
When using the data addition function (BFM #22 b0), enter the value added by
This bit will be ON during the input the addition data to BFM #61 to BFM #64. b1 Clears upper limit error.
BFM #27: A/D data sudden change detection status
The sudden change detection function (BFM#22 b2) writes detected errors characteristics change processing. While this Setting range b2 Clears sudden change detection error.
b6 BFM read/write disabled
to the corresponding bits in BFM#27. The sudden change detection status bit is ON, correct A/D data will not read from or
written to BFMs. The setting range will vary depending on the setting of the input mode (BFM #0). b3 to b15 Unusable
for negative or positive changes is located in the first 8bits of BFM#27 in The table below shows the setting range for each input mode. Enter the set
bit-pairs. b7 ⎯ ⎯
value as a digital value. BFM #101 to BFM #104: Minimum value
When the data (BFM #10 to BFM #13) of each channel is updated, if the
difference between the previous value and the new value is larger than the This bit will be ON while either b9 to b15 is Initial value BFM #111 to BFM #114: Maximum value
b8 Set value error detected
ON. When using the minimum/maximum value hold function (BFM #22 b3), the
su dden chan ge dete ction se t valu e (BFM # 91 to BFM #94 ), the Input mode (BFM #0) Setting range Lower Upper
corresponding bit in BFM #27 turns ON. Input mode (BFM #0) is incorrectly set. minimum value of the data (BFM #10 to BFM #13) of each channel is
b9 Input mode setting error limit limit
At this time, when the new value is larger than the previous value, a bit for Set it within the range from 0 to 8. written to BFM #101 to BFM #104, and the maximum value is written to
the + direction turns ON. when the new value is smaller than the previous 0: Voltage input mode -32768 to BFM #111 to BFM #114.
Number of averaging times Number of averaging times is incorrectly set. -32768 32767
value, a bit for the - direction turns ON. b10 (-10 to 10 V → -32000 to 32000) 32767 When using the data addition function (BFM #22 b0), the minimum/
setting error Set it within the range from 1 to 4,095. maximum measured value will be added to the addition data (BFM #61 to
When a bit turns ON, it remains ON until it is reset by BFM #99 or the 1: Voltage input mode
power is turned OFF. The digital filter setting is incorrect. (-10 to 10 V → -4000 to 4000)
-4096 to 4095 -4096 4095 BFM #64).
b11 Digital filter setting error
Even while a sudden change error is detected, the data (BFM #10 to BFM Reset within the range of 0 to 1,600. Initial value
#13) of each channel continues to be updated. 2: Voltage input mode -10200 to Minimum/maximum value hold function is not used:K0
Sudden change detection Sudden change detection set value is -10200 10200
Bit assignment of BFM #27 b12 (-10 to 10 V → -10000 to 10000) 10200 Minimum/maximum value hold function is used: Digital value when the
set value error incorrect. Set a correct value.
3: Current input mode power is turned ON
Bit No. Channel No. Description Upper/lower limit set value Upper/lower limit set value is incorrect. Set a -1 to 16383 -1 16383
b13 (4 to 20 mA → 0 to 16000) BFM #109: Minimum value reset
b0 Sudden change error in - direction error correct value.
CH1 4: Current input mode BFM #119: Maximum value reset
b1 Sudden change error in + direction b14 ⎯ ⎯ (4 to 20 mA → 0 to 4000)
-1 to 4095 -1 4095
When using the minimum/maximum value hold function (BFM #22 b3),
b2 Sudden change error in - direction Addition data is incorrectly set. BFM #109 clears the minimum value stored in BFM #101 to BFM #104,
b15 Addition data setting error 5: Current input mode
CH2 Set it within range from -16,000 to 16,000. 3999 to 20400 3999 20400 and BFM #119 clears the maximum value stored in BFM #111 to BFM
(4 to 20 mA → 4000 to 20000)
b3 Sudden change error in + direction #114.
BFM #30: Model code 6: Current input mode -16384 to
-16384 16383
The channel No. that will be reset is assigned to each bit of BFM #109 and
b4 Sudden change error in - direction
CH3 BFM #30 stores a fixed value of "K2070". (-20 to 20 mA → -16000 to 16000) 16383 BFM #119. When a bit is set ON, minimum/maximum value of the assigned
b5 Sudden change error in + direction
7: Current input mode
channel is cleared. (Setting two or more bits ON simultaneously is
-4096 to 4095 -4096 4095 possible.)
b6 Sudden change error in - direction (-20 to 20 mA → -4000 to 4000)
CH4
b7 Sudden change error in + direction 8: Current input mode -20400 to
-20400 20400
(-20 to 20 mA → -20000 to 20000) 20400
Bit assignment 7.1 Standard I/O characteristics 7.2 Adjustment of I/O characteristics
BFM #109 Bit No. b15 to b4 b3 b2 b1 b0 The input mode of the standard I/O characteristics is abbreviated as shown Adjust the I/O characteristics using the buffer memories in the FX2NC-4AD. Lower limit value error of CH1
below: Firstly, enter the input mode to BFM #0, then enter the offset data to BFM #41 to M0
Channel No. CH4 CH3 CH2 CH1
Unusable BFM #44, subsequently enter the gain data to BFM #51 to BFM #54. Y0
(BFM No.) (#104) (#103) (#102) (#101) 0. Voltage input, -10 to 10V, -32,000 to 32000
➁ ➃ Upper limit value error of CH1
➀ ➂ Update the offset data and the gain data for each channel using BFM #21.
M1
BFM #119 Bit No. b15 to b4 b3 b2 b1 b0 ➀ : Input mode set in BFM #0 ➁ : Input mode Example program (Adjustment of CH1, CH2 and CH4) Y1
Outputs the upper/
➂ : Analog input range ➃ : Digital output range lower limit value
•••
Channel No. CH4 CH3 CH2 CH1 X000 error status of each
Unusable FNC 79 Specifies the input
(BFM No.) (#114) (#113) (#112) (#111) K0 K0 H1600 K1 channel.
0. Voltage input, -10 to 10 V, 1. Voltage input, -10 to 10 V, Operation TO P mode of CH1 to CH4. Upper limit value error of CH4
BFM #198: Data history sampling time -32,000 to 32000 -4000 to 4000 start M7
instruction SET M0 Y7
Set the data history sampling time. Digital value Digital value
Setting range: 0 to 30,000 ms M0 *1 Scale over error of CH1 (lower limit value)
TO K50
Sampling cycle 32640 4,080 M20
When the set value is "0" :1 ms x Number of effective channels T0 Y20
Approx.
32000 4,000
Approx.
10.2 V
10.2 V
When the set value is "1" or more :Set value (ms) x Number of effective FNC 79 Offset value of CH1
TO P
K0 K41 K0 K2 and CH2. Scale over error of CH1 (upper limit value)
channels Input Input M21
BFM #199: Resets or stops data history voltage -10V voltage -10V FNC 79 Gain value of CH1 and Y21 Outputs the scale
K0 K51 K1250 K2
TO P CH2. over error status of
•••
The data history reset function is assigned to the lower 4 bits of BFM #199. 0 10V 0 10V
Approx.
-10.2 V
Approx.
-10.2 V
The data history stop function is assigned to the upper 4 bits of BFM #199. each channel.
FNC 79 K0 K44 K0 K1 Offset value of CH4.
Data history reset function -32000
TO P Scale over error of CH4 (upper limit value)
-4,000
This function clears the sampled data history for each channel. -32640 -4,080 FNC 79
M27
The channel No. to be reset is assigned to each of the lower 4 bits of BFM K0 K54 K10000 K1 Gain value of CH4. Y27
TO P
#199.
When a bit is set to ON, the data history (all contents from the 1st value to FNC 79 K0 K21 H000F K1 Offset value and gain T0 Reads the CH1 data
2. Voltage input, -10 to 10 V, 3. Current input, 4 to 20 mA, TO P value of all channels at FNC 78
the 400th value) of the assigned channel is cleared. (The setting of two or FROM K0 K200 D10 K10 history (for 10 times) to
-10,000 to 10,000 (Direct mode) 0 to 16000 a time.
more bits to ON simultaneously is possible.) RST M0 D10 to D19.
When the clear operation is completed, each bit returns automatically to Digital value Digital value
FNC 07 Refreshes the watch
the OFF state. *1 It takes approximately 5 seconds to change the input mode (BFM #0) (to WDT dog timer.*1
16400
Assignment of lower 4 bits 10,200 change each set value). Reads the CH2 data
10,000 FNC 78
Approx.
Assure that a time interval of 5 seconds or more is held after a change of the
Approx.20.4mA
FNC 78
Reads the CH3 data
channels. The channel No. to be temporarily stopped is assigned to each 8. Example program FROM K0 K1000 D30 K10 history (for 10 times) to
of the upper 4 bits of BFM #199. When a bit is set to ON, sampling of the -10,000 D30 to D39.
data history of the assigned channel is temporarily stopped. (Setting two or This section introduces an example program to read analog data from the
-10,200 0 4mA 20mA Input FNC 07 Refreshes the watch
more bits to ON at a time.) FX2NC-4AD and connecting to digital data in the PLC. WDT dog timer.*1
current
When a bit is set to OFF, sampling of the data history of the assigned Condition
channel restarts. System configuration: Reads the CH4 data
Assignment of upper 4 bits 4. Current input, 4 to 20 mA, 5. Current input, 4 to 20 mA, FNC 78 K0 K1400 D40 K10 history (for 10 times) to
The FX 2NC -4AD is connected as a special function block nearest to the FROM
0 to 4000 4,000 to 20,000 (Direct mode) FX2NC Series PLC main unit (unit No. 0). D40 to D49.
Bit No. b15 to b12 b11 b10 b9 b8
Digital value Digital value Input mode: FNC 07 Refreshes the watch
Channel No. Unusable CH4 CH3 CH2 CH1 WDT dog timer.*1
CH1 and CH2: Mode 0 (voltage input, -10 to 10 V → -32000 to 32000)
4100 CH3 and CH4: Mode 3 (current input, 4 to 20 mA → 0 to 16000)
20400 END
BFM #200 to BFM #1799: Data history Number of averaging times: 1 (initial value) in each channel
Approx. 20.4mA
The A/D conversion value of each channel is sampled, and written to the
Approx. 20.4mA
I/O characteristics: 1) The input mode setting will be kept by the EEPROM, therefore,
BFMs shown below. The table below shows the assignment between the 4000 20000 Standard I/O characteristics (initial value) in each channel continual channel settings is not needed after powering down.
channel No. and the BFM No. Data is stored in ascending order of the BFM Convenient function: Upper/lower limit value detection function is used.
No. Data history function: *1 When multiple data history items are read, the scan time of the PLC
Up to 400 data history items are written for each channel. When the Used while sampling time is set to 0ms (initial value). becomes longer.
number of history items exceeds 400, the data is overwritten starting from 4000 CH1 to CH4: Sampling time = 1ms × 4 (Number of effective channels) = 4ms In the FX2NC Series PLC, when the scan time exceeds 200 ms, the CPU
the smallest BFM No. I/O assignment: error indicator lamp lights and the PLC stops.
The data history function is valid only for channels whose number of 0 4mA 20mA Input 0 4mA 20mA Input X001 : Clears the upper/lower limit value error. When reading many data history items, divide data history items to be
averaging times (BFM #2 to #5) is set to "1" and digital filter setting (BFM current current read using two or more FROM instructions, then insert the WDT (watch
X002 : Clears the scale over error.
#6 to #9) is set to "0". Y000 to Y007: Output the upper/lower limit value error status of each dog timer refresh) instruction between FROM instructions.
6. Current input, -20 to 20 mA, 7. Current input, -20 to 20 mA,
Assignment of channel No. and BFM No. channel.
-16000 to 16000 -4000 to 4000
BFM No. Y020 to Y027: Output scale over status of each channel.
Channel
No. Digital value Digital value Example program
1st value 2nd value 3rd value ••••• 400th value
16320 4080
CH1 #200 #201 #202 ••••• #599 Initial pulse
16000 4000
Approx.
20.4mA
This manual confers no industrial property rights or any rights of any other kind,
20.4mA
Approx.
CH2 #600 #601 #602 ••••• #999 M8002 Specifies the input
FNC 79 K0 K0 H3300 K1 mode of CH1 to nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be
TO
CH3 #1000 #1001 #1002 ••••• #1399 Input Input CH4. held responsible for any problems involving industrial property rights which may
current -20mA current -20mA RUN monitor 1) occur as a result of using the contents noted in this manual.
CH4 #1400 #1401 #1402 ••••• #1799 0 20mA M8000 Stand by for five
0 20mA
-20.4mA
-20.4mA
TO
Approx.
K50
Approx.
• If a considerable amount of data history is read from the main unit using a seconds. Warranty
FROM instruction, a watch dog timer error occurs in the main unit. T0 Enables the upper/ Mitsubishi will not be held liable for damage caused by factors found not to be
-16000 -4000 FNC 79 K0 K22 H0002 K1 lower limit value the cause of Mitsubishi; opportunity loss or lost profits caused by faults in the
In such a case, divide the required data history using multiple FROM TO P detection function.
instructions, and insert the WDT instruction (watch dog timer refresh -16320 -4080 Mitsubishi products; damage, secondary damage, accident compensation
FNC 78 Reads the channel data caused by special factors unpredictable by Mitsubishi; damages to products
instruction) after each FROM instruction. K0 K10 D0 K4 from CH1 to CH4.
FROM other than Mitsubishi products; and to other duties.
8. Current input, -20 to 20 mA, (CH1 → D0, CH2 →
7. Adjustment of I/O Characteristics D1, ..... CH4 → D3)
-20,000 to 20,000 (Direct mode)
For factory default, the FX 2NC -4AD has standard I/O characteristics in FNC 78
FROM K0 K26 K2M0 K1
Reads the upper/lower
limit value error status.
For safe use
accordance with each input mode (BFM #0). Digital value (M0 to M7)
In t he vo lta ge a n d curre n t inp ut m o de, a dju st th e sta nd a rd I/ O 20400 • This product has been manufactured as a general-purpose part for general
Clear of FNC 78 K0 K28 K2M20 K1
Reads the scale over industries, and has not been designed or manufactured to be incorporated in
characteristics for each channel. (Do not change the input characteristics 20000 FROM status.(M20 to M27)
upper/lower
Approx.
20.4mA
when 2, 5, 8 is set in BEM #0.) a device or system used in purposes related to human life.
limit value
error FNC 78 K0 K29 D6 K1
Reads the error status. • Before using the product for special purposes such as nuclear power, electric
Input FROM (BFM #29 → D6) power, aerospace, medicine or passenger movement vehicles, consult with
current -20mA X001 Mitsubishi Electric.
FNC 79 Clears the upper/lower
0 20mA TO P K0 K99 H0003 K1 limit value error. • This product has been manufactured under strict quality control. However
-20.4mA
Approx.
Clear of scale over error when installing the product where major accidents or losses could occur if the
X002 product fails, install appropriate backup or failsafe functions in the system.
-20000 FNC 79 K0 K28 K0 K1 Clears the scale over
TO P error.
-20400
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
b0: Data addition function BFM #28: Scale over status BFM #32: Operating time BFM #91 to BFM #94: Sudden change detection set value
The data (BFM #10 to BFM #13), minimum/maximum value (BFM #101 The result of the analog input value for each individual channel that has BFM #32 stores the continuous operating time for the FX2NC-4AD. When using the sudden change detection function (BFM #22 b2), enter the
to BFM #104, BFM #111 to BFM #114) and data history (BFM #200 to exceeded the input range will be written to BFM#28. Measurement starts when the power is turned ON, and the measured value is set value to judge the sudden change.
BFM #1799) of each channel is the measured value added by the Range in which input is available: reset when the power is turned OFF. When the data (BFM #10 to BFM #13) of each channel is updated, if the
addition data (BFM #61 to BFM #64). The measurement range is from 0 to 64,800 (s). After that, 64,800 is kept. difference between the previous value and the new value is larger than the
Voltage input mode Current input mode*1
When using this function, enter the value added by the addition data BFM #41 to BFM #44: Offset data sudden change detection set value (BFM #91 to BFM #94), the result is
(BFM #61 to BFM #64) to the lower limit value error set value (BFM - 10.2V to 10.2V - 20.4mA to 20.4mA BFM #51 to BFM #54: Gain data written to the sudden change detection status (BFM #27).
#71 to BFM #74) and the upper limit value error set value (BFM #81 to Offset data:Analog input value when the digital value is "0"
*1 The above table shows the available input range in the current input mode. A Setting range
BFM #84). Gain data :Analog input value when the digital value is as shown below (The
The addition data (BFM #61 to BFM #64) is not added to the scale over scale over status bit turns ON when the analog input value is -40.960mA or less The setting range will vary depending on the setting of the input mode (BFM
digital value varies depending on the setting of the input mode.)
data (BFM #28). or +40.940mA or more. #0).
Standard digital value for offset and gain in each input mode The table below shows the setting range for each input mode.
b1: Upper/lower limit value detection function Use the upper / lower limit detection function to detect the scale over status in (A number in the input mode column indicates a value set in BFM #0.)
When the A/D conversion data of each channel is outside the range of Write the set value in a digital value.
the current input mode.
the lower limit value error set value (BFM #71 to BFM #74) to the upper Input mode (BFM #0) 0 1 2 3 4 5 6 7 8 Input mode (BFM #0) Setting range Initial value
A bit will remain ON unless it is reset from switching the Power OFF or
limit value error set value (BFM #81 to BFM #84), the result is written to Standard offset value 0 0 - 0 0 - 0 0 -
overwriting the ON bit with an OFF bit via a TO instruction. 0: Voltage input mode
the upper/lower limit value error status (BFM #26). 1 to 32767 3200
Even while a scale over error is detected, the data (BFM #10 to BFM #13) of Standard gain value 16000 2000 - 16000 4000 - 16000 4000 - (-10 to 10 V → -32000 to 32000)
b2: Sudden change detection function
each channel continues to be updated. 1: Voltage input mode
When the data (BFM #10 to BFM #13) of each channel is updated, if • Set the offset and gain data for each channel. 1 to 4095 400
the difference between the previous value and the new value is larger Bit assignment of BFM #28 (-10 to 10 V → -4000 to 4000)
• Write the set value in units of "mV" for voltage input or "μA" for current input.
than the sudden change detection set value (BFM #91 to BFM #94), Bit No. Channel No. Description 2: Voltage input mode
• Do not change the input characteristics when {=2, 5, 8 is set in BFM #0. 1 to 10000 1000
the result is written to the sudden change detection status (BFM #27). b0 Scale over: Less than lower limit (Even if a numerical value is written, it is ignored.) (-10 to 10 V → -10000 to 10000)
b3: Minimum/maximum value hold function CH1
The minimum value of the data (BFM #10 to BFM #13) of each channel b1 Scale over: More than upper limit Initial offset/gain value (Unit: mV for voltage input, μA for current input) 3: Current input mode
1 to 8191 800
(4 to 20 mA → 0 to 16000)
is written to BFM #101 to BFM #104, and the maximum value is written b2 Scale over: Less than lower limit Input mode (BFM #0) 0 1 2 3 4 5 6 7 8
to BFM #111 to BFM #114. CH2 4: Current input mode
Initial offset value 0 4000 0 1 to 2047 200
b3 Scale over: More than upper limit (4 to 20 mA → 0 to 4000)
BFM #26: Upper/lower limit error status
b4 Scale over: Less than lower limit Initial gain value 5000 20000 5: Current input mode
The upper /lower limit value detection function (BFM#22 b1), writes 1 to 8191 800
detected errors to the corresponding bits in BFM#26 (see table). Upper and CH3 (4 to 20 mA → 4000 to 20000)
b5 Scale over: More than upper limit Setting range
lower limit error status for the four channels is located in bit-pairs in the first 6: Current input mode
8bits of BFM#26. b6 Scale over: Less than lower limit Voltage input Current input 1 to 16383 1600
(-20 to 20 mA → -16000 to 16000)
When the data (BFM #10 to BFM #13) of any channel is outside the range CH4
b7 Scale over: More than upper limit Offset data -10000 to 9000 (mV) -20000 to 17000 (μA)
from the lower limit error value (BFM #71 to BFM #74) to the upper limit 7: Current input mode
1 to 4095 400
error value (BFM #81 to BFM #84), the corresponding bit turns ON. Gain value - Offset value Gain value - Offset value (-20 to 20 mA → -4000 to 4000)
BFM #29: Error status Gain data
When a bit turns ON, it remains ON until it is reset by BFM #99 or the = 1,000 to 10,000 (mV) = 3,000 to 30,000 (μA)
Error information is assigned to each bit of BFM #29. 8: Current input mode
1 to 20000 2000
power is turned OFF. The actual effective input range is "-10 to 10 V" or "-20 to 20 mA". (-20 to 20 mA → -20000 to 20000)
Even while an upper/lower limit value error is detected, the data (BFM #10 Bit assignment of BFM #29
to BFM #13) of each channel continues to be updated. Bit BFM #61 to BFM #64: Addition data BFM #99: Clears upper/lower limit value error and sudden change
Assignment Description When using the data addition function (BFM #22 b0), data (BFM #10 to BFM
Bit assignment of BFM #26 No. detection error
#13), minimum/maximum value (BFM #101 to BFM #104, BFM #111 to BFM The commands to clear the lower and upper limit value error and the
Bit No. Channel No. Description b0 Error detected b0 is ON while either b2 to b4 is ON.
#114) and data history (BFM #200 to BFM #1799) of each channel becomes the sudden change detection error are assigned to the lower three bits of BFM
b0 Lower limit error b1 ⎯ ⎯ measured value added by the addition data (BFM #61 to BFM #64). #99.
CH1 When using the data addition function, enter the value added by the addition
b1 Upper limit error 24V DC power is not correctly supplied. The flag of the corresponding error status (BFM #26, BFM #27) is reset for
b2 Power error data (BFM #61 to BFM #64) to the lower limit value error set value (BFM #71 to all channels simultaneously when a bit is set to ON.
Check the wiring and supply voltage.
b2 Lower limit error BFM #74) and the upper limit value error set value (BFM #81 to BFM #84). After the reset is finished, each bit of BFM #99 returns automatically to the
CH2 FX2NC-4AD may have malfunctioned. Setting range: -16,000 to 16,000
b3 Upper limit error OFF state.
b3 Hardware error Contact the nearest Mitsubishi Electric System The setting of two or more clear commands to ON at the same time is
b4 Lower limit error Service center. BFM #71 to BFM #74: Lower limit, error set value
possible.
CH3 BFM #81 to BFM #88: Upper limit, error set value
b5 Upper limit error A/D conversion value is abnormal. Bit assignment of BFM #99
b4 A/D conversion value error Using the scale over data (BFM #28), check When using the upper/lower limit value detection function (BFM #22 b1), write
b6 Lower limit error the channel in which the error has occurred. the lower limit value of each channel to BFM #71 to BFM #74 and the upper limit Bit No. Description
CH4 value of each channel to BFM #81 to BFM #84.
b7 Upper limit error b5 ⎯ ⎯ b0 Clears lower limit error.
When using the data addition function (BFM #22 b0), enter the value added by
This bit will be ON during the input the addition data to BFM #61 to BFM #64. b1 Clears upper limit error.
BFM #27: A/D data sudden change detection status
The sudden change detection function (BFM#22 b2) writes detected errors characteristics change processing. While this Setting range b2 Clears sudden change detection error.
b6 BFM read/write disabled
to the corresponding bits in BFM#27. The sudden change detection status bit is ON, correct A/D data will not read from or
written to BFMs. The setting range will vary depending on the setting of the input mode (BFM #0). b3 to b15 Unusable
for negative or positive changes is located in the first 8bits of BFM#27 in The table below shows the setting range for each input mode. Enter the set
bit-pairs. b7 ⎯ ⎯
value as a digital value. BFM #101 to BFM #104: Minimum value
When the data (BFM #10 to BFM #13) of each channel is updated, if the
difference between the previous value and the new value is larger than the This bit will be ON while either b9 to b15 is Initial value BFM #111 to BFM #114: Maximum value
b8 Set value error detected
ON. When using the minimum/maximum value hold function (BFM #22 b3), the
su dden chan ge dete ction se t valu e (BFM # 91 to BFM #94 ), the Input mode (BFM #0) Setting range Lower Upper
corresponding bit in BFM #27 turns ON. Input mode (BFM #0) is incorrectly set. minimum value of the data (BFM #10 to BFM #13) of each channel is
b9 Input mode setting error limit limit
At this time, when the new value is larger than the previous value, a bit for Set it within the range from 0 to 8. written to BFM #101 to BFM #104, and the maximum value is written to
the + direction turns ON. when the new value is smaller than the previous 0: Voltage input mode -32768 to BFM #111 to BFM #114.
Number of averaging times Number of averaging times is incorrectly set. -32768 32767
value, a bit for the - direction turns ON. b10 (-10 to 10 V → -32000 to 32000) 32767 When using the data addition function (BFM #22 b0), the minimum/
setting error Set it within the range from 1 to 4,095. maximum measured value will be added to the addition data (BFM #61 to
When a bit turns ON, it remains ON until it is reset by BFM #99 or the 1: Voltage input mode
power is turned OFF. The digital filter setting is incorrect. (-10 to 10 V → -4000 to 4000)
-4096 to 4095 -4096 4095 BFM #64).
b11 Digital filter setting error
Even while a sudden change error is detected, the data (BFM #10 to BFM Reset within the range of 0 to 1,600. Initial value
#13) of each channel continues to be updated. 2: Voltage input mode -10200 to Minimum/maximum value hold function is not used:K0
Sudden change detection Sudden change detection set value is -10200 10200
Bit assignment of BFM #27 b12 (-10 to 10 V → -10000 to 10000) 10200 Minimum/maximum value hold function is used: Digital value when the
set value error incorrect. Set a correct value.
3: Current input mode power is turned ON
Bit No. Channel No. Description Upper/lower limit set value Upper/lower limit set value is incorrect. Set a -1 to 16383 -1 16383
b13 (4 to 20 mA → 0 to 16000) BFM #109: Minimum value reset
b0 Sudden change error in - direction error correct value.
CH1 4: Current input mode BFM #119: Maximum value reset
b1 Sudden change error in + direction b14 ⎯ ⎯ (4 to 20 mA → 0 to 4000)
-1 to 4095 -1 4095
When using the minimum/maximum value hold function (BFM #22 b3),
b2 Sudden change error in - direction Addition data is incorrectly set. BFM #109 clears the minimum value stored in BFM #101 to BFM #104,
b15 Addition data setting error 5: Current input mode
CH2 Set it within range from -16,000 to 16,000. 3999 to 20400 3999 20400 and BFM #119 clears the maximum value stored in BFM #111 to BFM
(4 to 20 mA → 4000 to 20000)
b3 Sudden change error in + direction #114.
BFM #30: Model code 6: Current input mode -16384 to
-16384 16383
The channel No. that will be reset is assigned to each bit of BFM #109 and
b4 Sudden change error in - direction
CH3 BFM #30 stores a fixed value of "K2070". (-20 to 20 mA → -16000 to 16000) 16383 BFM #119. When a bit is set ON, minimum/maximum value of the assigned
b5 Sudden change error in + direction
7: Current input mode
channel is cleared. (Setting two or more bits ON simultaneously is
-4096 to 4095 -4096 4095 possible.)
b6 Sudden change error in - direction (-20 to 20 mA → -4000 to 4000)
CH4
b7 Sudden change error in + direction 8: Current input mode -20400 to
-20400 20400
(-20 to 20 mA → -20000 to 20000) 20400
Bit assignment 7.1 Standard I/O characteristics 7.2 Adjustment of I/O characteristics
BFM #109 Bit No. b15 to b4 b3 b2 b1 b0 The input mode of the standard I/O characteristics is abbreviated as shown Adjust the I/O characteristics using the buffer memories in the FX2NC-4AD. Lower limit value error of CH1
below: Firstly, enter the input mode to BFM #0, then enter the offset data to BFM #41 to M0
Channel No. CH4 CH3 CH2 CH1
Unusable BFM #44, subsequently enter the gain data to BFM #51 to BFM #54. Y0
(BFM No.) (#104) (#103) (#102) (#101) 0. Voltage input, -10 to 10V, -32,000 to 32000
➁ ➃ Upper limit value error of CH1
➀ ➂ Update the offset data and the gain data for each channel using BFM #21.
M1
BFM #119 Bit No. b15 to b4 b3 b2 b1 b0 ➀ : Input mode set in BFM #0 ➁ : Input mode Example program (Adjustment of CH1, CH2 and CH4) Y1
Outputs the upper/
➂ : Analog input range ➃ : Digital output range lower limit value
•••
Channel No. CH4 CH3 CH2 CH1 X000 error status of each
Unusable FNC 79 Specifies the input
(BFM No.) (#114) (#113) (#112) (#111) K0 K0 H1600 K1 channel.
0. Voltage input, -10 to 10 V, 1. Voltage input, -10 to 10 V, Operation TO P mode of CH1 to CH4. Upper limit value error of CH4
BFM #198: Data history sampling time -32,000 to 32000 -4000 to 4000 start M7
instruction SET M0 Y7
Set the data history sampling time. Digital value Digital value
Setting range: 0 to 30,000 ms M0 *1 Scale over error of CH1 (lower limit value)
TO K50
Sampling cycle 32640 4,080 M20
When the set value is "0" :1 ms x Number of effective channels T0 Y20
Approx.
32000 4,000
Approx.
10.2 V
10.2 V
When the set value is "1" or more :Set value (ms) x Number of effective FNC 79 Offset value of CH1
TO P
K0 K41 K0 K2 and CH2. Scale over error of CH1 (upper limit value)
channels Input Input M21
BFM #199: Resets or stops data history voltage -10V voltage -10V FNC 79 Gain value of CH1 and Y21 Outputs the scale
K0 K51 K1250 K2
TO P CH2. over error status of
•••
The data history reset function is assigned to the lower 4 bits of BFM #199. 0 10V 0 10V
Approx.
-10.2 V
Approx.
-10.2 V
The data history stop function is assigned to the upper 4 bits of BFM #199. each channel.
FNC 79 K0 K44 K0 K1 Offset value of CH4.
Data history reset function -32000
TO P Scale over error of CH4 (upper limit value)
-4,000
This function clears the sampled data history for each channel. -32640 -4,080 FNC 79
M27
The channel No. to be reset is assigned to each of the lower 4 bits of BFM K0 K54 K10000 K1 Gain value of CH4. Y27
TO P
#199.
When a bit is set to ON, the data history (all contents from the 1st value to FNC 79 K0 K21 H000F K1 Offset value and gain T0 Reads the CH1 data
2. Voltage input, -10 to 10 V, 3. Current input, 4 to 20 mA, TO P value of all channels at FNC 78
the 400th value) of the assigned channel is cleared. (The setting of two or FROM K0 K200 D10 K10 history (for 10 times) to
-10,000 to 10,000 (Direct mode) 0 to 16000 a time.
more bits to ON simultaneously is possible.) RST M0 D10 to D19.
When the clear operation is completed, each bit returns automatically to Digital value Digital value
FNC 07 Refreshes the watch
the OFF state. *1 It takes approximately 5 seconds to change the input mode (BFM #0) (to WDT dog timer.*1
16400
Assignment of lower 4 bits 10,200 change each set value). Reads the CH2 data
10,000 FNC 78
Approx.
Assure that a time interval of 5 seconds or more is held after a change of the
Approx.20.4mA
FNC 78
Reads the CH3 data
channels. The channel No. to be temporarily stopped is assigned to each 8. Example program FROM K0 K1000 D30 K10 history (for 10 times) to
of the upper 4 bits of BFM #199. When a bit is set to ON, sampling of the -10,000 D30 to D39.
data history of the assigned channel is temporarily stopped. (Setting two or This section introduces an example program to read analog data from the
-10,200 0 4mA 20mA Input FNC 07 Refreshes the watch
more bits to ON at a time.) FX2NC-4AD and connecting to digital data in the PLC. WDT dog timer.*1
current
When a bit is set to OFF, sampling of the data history of the assigned Condition
channel restarts. System configuration: Reads the CH4 data
Assignment of upper 4 bits 4. Current input, 4 to 20 mA, 5. Current input, 4 to 20 mA, FNC 78 K0 K1400 D40 K10 history (for 10 times) to
The FX 2NC -4AD is connected as a special function block nearest to the FROM
0 to 4000 4,000 to 20,000 (Direct mode) FX2NC Series PLC main unit (unit No. 0). D40 to D49.
Bit No. b15 to b12 b11 b10 b9 b8
Digital value Digital value Input mode: FNC 07 Refreshes the watch
Channel No. Unusable CH4 CH3 CH2 CH1 WDT dog timer.*1
CH1 and CH2: Mode 0 (voltage input, -10 to 10 V → -32000 to 32000)
4100 CH3 and CH4: Mode 3 (current input, 4 to 20 mA → 0 to 16000)
20400 END
BFM #200 to BFM #1799: Data history Number of averaging times: 1 (initial value) in each channel
Approx. 20.4mA
The A/D conversion value of each channel is sampled, and written to the
Approx. 20.4mA
I/O characteristics: 1) The input mode setting will be kept by the EEPROM, therefore,
BFMs shown below. The table below shows the assignment between the 4000 20000 Standard I/O characteristics (initial value) in each channel continual channel settings is not needed after powering down.
channel No. and the BFM No. Data is stored in ascending order of the BFM Convenient function: Upper/lower limit value detection function is used.
No. Data history function: *1 When multiple data history items are read, the scan time of the PLC
Up to 400 data history items are written for each channel. When the Used while sampling time is set to 0ms (initial value). becomes longer.
number of history items exceeds 400, the data is overwritten starting from 4000 CH1 to CH4: Sampling time = 1ms × 4 (Number of effective channels) = 4ms In the FX2NC Series PLC, when the scan time exceeds 200 ms, the CPU
the smallest BFM No. I/O assignment: error indicator lamp lights and the PLC stops.
The data history function is valid only for channels whose number of 0 4mA 20mA Input 0 4mA 20mA Input X001 : Clears the upper/lower limit value error. When reading many data history items, divide data history items to be
averaging times (BFM #2 to #5) is set to "1" and digital filter setting (BFM current current read using two or more FROM instructions, then insert the WDT (watch
X002 : Clears the scale over error.
#6 to #9) is set to "0". Y000 to Y007: Output the upper/lower limit value error status of each dog timer refresh) instruction between FROM instructions.
6. Current input, -20 to 20 mA, 7. Current input, -20 to 20 mA,
Assignment of channel No. and BFM No. channel.
-16000 to 16000 -4000 to 4000
BFM No. Y020 to Y027: Output scale over status of each channel.
Channel
No. Digital value Digital value Example program
1st value 2nd value 3rd value ••••• 400th value
16320 4080
CH1 #200 #201 #202 ••••• #599 Initial pulse
16000 4000
Approx.
20.4mA
This manual confers no industrial property rights or any rights of any other kind,
20.4mA
Approx.
CH2 #600 #601 #602 ••••• #999 M8002 Specifies the input
FNC 79 K0 K0 H3300 K1 mode of CH1 to nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be
TO
CH3 #1000 #1001 #1002 ••••• #1399 Input Input CH4. held responsible for any problems involving industrial property rights which may
current -20mA current -20mA RUN monitor 1) occur as a result of using the contents noted in this manual.
CH4 #1400 #1401 #1402 ••••• #1799 0 20mA M8000 Stand by for five
0 20mA
-20.4mA
-20.4mA
TO
Approx.
K50
Approx.
• If a considerable amount of data history is read from the main unit using a seconds. Warranty
FROM instruction, a watch dog timer error occurs in the main unit. T0 Enables the upper/ Mitsubishi will not be held liable for damage caused by factors found not to be
-16000 -4000 FNC 79 K0 K22 H0002 K1 lower limit value the cause of Mitsubishi; opportunity loss or lost profits caused by faults in the
In such a case, divide the required data history using multiple FROM TO P detection function.
instructions, and insert the WDT instruction (watch dog timer refresh -16320 -4080 Mitsubishi products; damage, secondary damage, accident compensation
FNC 78 Reads the channel data caused by special factors unpredictable by Mitsubishi; damages to products
instruction) after each FROM instruction. K0 K10 D0 K4 from CH1 to CH4.
FROM other than Mitsubishi products; and to other duties.
8. Current input, -20 to 20 mA, (CH1 → D0, CH2 →
7. Adjustment of I/O Characteristics D1, ..... CH4 → D3)
-20,000 to 20,000 (Direct mode)
For factory default, the FX 2NC -4AD has standard I/O characteristics in FNC 78
FROM K0 K26 K2M0 K1
Reads the upper/lower
limit value error status.
For safe use
accordance with each input mode (BFM #0). Digital value (M0 to M7)
In t he vo lta ge a n d curre n t inp ut m o de, a dju st th e sta nd a rd I/ O 20400 • This product has been manufactured as a general-purpose part for general
Clear of FNC 78 K0 K28 K2M20 K1
Reads the scale over industries, and has not been designed or manufactured to be incorporated in
characteristics for each channel. (Do not change the input characteristics 20000 FROM status.(M20 to M27)
upper/lower
Approx.
20.4mA
when 2, 5, 8 is set in BEM #0.) a device or system used in purposes related to human life.
limit value
error FNC 78 K0 K29 D6 K1
Reads the error status. • Before using the product for special purposes such as nuclear power, electric
Input FROM (BFM #29 → D6) power, aerospace, medicine or passenger movement vehicles, consult with
current -20mA X001 Mitsubishi Electric.
FNC 79 Clears the upper/lower
0 20mA TO P K0 K99 H0003 K1 limit value error. • This product has been manufactured under strict quality control. However
-20.4mA
Approx.
Clear of scale over error when installing the product where major accidents or losses could occur if the
X002 product fails, install appropriate backup or failsafe functions in the system.
-20000 FNC 79 K0 K28 K0 K1 Clears the scale over
TO P error.
-20400
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
JY997D07801E
List of Further Information Manuals 3. PLC Connection • For crossover wiring to the next block of the FX2NC-4AD, remove the resin
Manual Name Manual No. Description cover from the power crossover connector.
When connecting the FX 2NC -
4 AD t o t h e F X 2 N C / F X 3 U C Slide
This manual contains hardware explanations lock 4.2 Input wiring
FX2NC Hardware Series main unit or extension
JY992D76401 of wiring, installation and specifications for
Manual
the FX2NC Series programmable controllers. block, remove the extension For terminal arrangement, refer to Chapter 2 of this manual.
FX2NC-4AD Analog input block FX3UC This manual contains hardware explanations
port cover from the right side of
t h e m a in u n it o r ex t e n sio n Slide lock
Hook Case of current input
Terminal
FX2NC-4AD
User's Manual JY997D28701 of wiring, installation and specifications for
Thank you very much for purchasing this product. - Hardware Edition the FX3UC Series programmable controllers. block, keep the slide lock in the Shield *1 block 6.8kΩ
main unit or extension block Hook V
+
ch
In order to handle the product properly please read this manual thoroughly This manual contains instruction pulled upward, then align the *2 250Ω
FX Programming I
+
before starting to use the product. Manual II JY992D88101 explanations for the FX1S, FX1N, FX2N and hook in the FX2NC-4AD with the 200kΩ
FX2NC Series programmable controllers. COM
mounting hole in the former
FX3S / FX3G / FX3GC / This manual contains instruction step of the main unit or SLD *3
Main unit FX2NC-4AD
User’s Manual FX3U / FX3UC
Programming
JY997D16601 explanations for the FX3S, FX3G, FX3GC,
FX3U, FX3UC Series programmable
extension block.
Then push the slide lock downward to fix the FX2NC-4AD. When connecting two
Case of voltage input
Shield *1 6.8kΩ ch
MODEL FX2NC-4AD Manual controllers. or more FX2NC-4AD units, connect an FX2NC -4AD unit to another FX2NC-4AD V
+
unit in the same way. 250Ω
MANUAL Number JY997D07801E I
+
1. Introduction Up to four special function blocks or special function units in total can be COM
200kΩ
Date April 2015
The FX2NC-4AD analog input block (hereafter referred to as "FX2NC-4AD") converts connected to the FX2NC Series PLC including those connected to the FX2NC-
CNV-IF. SLD
Guidelines for the Safety of the User and Protection of the FX2NC-4AD 4 points of analog input values (voltage and current inputs) into digital values, and
special function block. transfers them to the main unit. Up to eight special function blocks or special function units in total can be *4
The FX2NC-4AD can be connected to the FX2NC / FX3UC Series PLC. connected to the FX3UC*1 Series PLC including those connected to the FX2NC-
in V
+, I
+, and ch
in
This manual should be used by trained and competent personnel. The the diagram indicates a ch
definition of such a person or persons is as follows: 1) A combination of voltage and current analog inputs selectable via the PLC TO CNV-IF or FX3UC-IPS-5V.
instruction should be used to configure the individual input channels. For each connected special function block or special function unit, a unit number number.
a) Any engineer using the product associated with this manual, should be of a is assigned starting with 0 for the special function block and special function unit *1 When wiring the analog output cable, use a shielded two-core twisted
2) The voltage input range can be selected within -10 to 10V, alternatively, the
competent nature, trained and qualified to the local and national standards. current input range can be selected within -20 to 20mA and 4 to 20mA. The nearest to the main unit. cable, and separate it from other power cables and cables easily affected
These engineers should be fully aware of all aspects of safety with regards input characteristics can be adjusted for each channel (except when {=2, 5, 8 From the main unit, use FROM/TO instructions to read or write data stored in by induction.
to automated equipment. is set in BFM #0 that disables all changes to the offset or gain). the FX2NC-4AD. *2 For current input, short-circuit the V
+ terminal and the I
+ terminal
b) Any commissioning or service engineer must be of a competent nature, 3) The resolution is 0.32 mV (20 V × 1/64,000) or 2.50 mV (20 V × 1/8,000) when *1 Up to seven special function blocks or special function units in total can be (
: Input channel No.).
trained and qualified to the local and national standards. voltage input is used, and 1.25 μA (40 mA × 1/32,000) or 5.00 μA (40 mA × 1/ connected to the FX3UC -32MT-LT(-2) PLC. Unit numbers assigned to special
c) All operators of the completed equipment should be trained to use this 8,000) when current input is used. *3 The "SLD" terminal and " " terminal are internally connected.
function units / blocks begins with No.1.
product in a safe and coordinated manner in compliance to established 4) Data transfer with the PLC is performed via the buffer memories of the FX2NC- *4 Do not wire the " • " terminal.
safety practices. 4AD using FROM/TO instructions. 4. Wiring Terminal connector handling
Note:The term 'completed equipment' refers to a third party constructed 2. External Dimensions and Part Name 4.1 Power supply wiring The FX 2NC -4AD is equipped with a terminal connector whose form is
device which contains or uses the product associated with this manual.
standards. Compliance to EMC standards of the entire mechanical module insulating sleeve, and applicable wiring, please refer to the PLC main unit
V2+ SLD COM1 I1+ V1+
3)’ FX2NC-10BPCB1:
PW
90(3.55")
3) 64, 96])
SLD COM3 I3+
Note The general specifications are equivalent to those of the main unit. (For
1) Connection example with the power supply through crossover wiring to the
V4+
• Authorized Representative in the European Community: FX2NC input extension block details, refer to the PLC main unit manual.)
SLD COM4 I4+
buffer memories (hereafter referred to as "BFM") of the FX2NC-4AD. •• follows up the analog input
• Reserved ⎯ setting (BFM #6 to #9) is 0] Digital output value
Each BFM consists of 1 word, 16 bits. BFM No. 0 to 1799 have assigned value.
Setting range: 0 to 30,000 ms
functionality, communication with these BFMs should be performed using CH1 addition data Setting range: -16,000 to 16,000 Digital filter set value
TO/FROM instructions supplied by the main unit. #61 K0 Resets or stops data history.
(valid while BFM #22 b0 is ON)
When the power is switched ON from OFF, the initial value is written to each [Effective only for channels whose number of Digital filter set value
CH2 addition data Setting range: -16,000 to 16,000 #199 K0
BFM. Create a program for the PLC so that the desired contents are written #62 K0 averaging times (BFM #2 to #5) is 1 and digital filter
(valid while BFM #22 b0 is ON) setting (BFM #6 to #9) is 0] They are converted into stable digital output values.
to the BFMs every time the power of the PLC is turned ON. (time margin: less than 10 samplings)
(The contents stored in BFM #0, #19, #22, #41 to #44 and #51 to #54 are CH3 addition data Setting range: -16,000 to 16,000 CH1 data history Time
#63 K0 #200 Data history sampling is K0
held in the built-in EEPROM, and kept against power failure.) (valid while BFM #22 b0 is ON) (1st value) The table below shows the relationship between the set value of BFM #6 to
effective only for channels
CH4 addition data Setting range: -16,000 to 16,000 •• •• whose number of averaging •• #9 and the operation.
6.1 Buffer Memories (BFM) lists #64 K0 • • times (BFM #2 to #5) is 1 •
(valid while BFM #22 b0 is ON) Digital filter function is invalid. Set value error occurs
BFM CH4 data history and digital filter setting (BFM Set value < 0
Description Initial value •• Reserved ⎯ #1799 #6 to #9) is 0. K0 (BFM #29 b11 turns ON.).
No. • (400th value)
Set value = 0 Digital filter function is invalid.
#0 Specifies input mode of CH1 to CH4. H0000 Minimum digital
CH1 lower limit error set value (valid while BFM #22 1 ≤ Set value ≤ 1,600 Digital filter function is valid.
#71 value inside input 6.2 Details of buffer memories
#1 Reserved ⎯ b1 is ON)
range
BFM #0: Specifies input mode. Digital filter function is invalid. Set value error occurs
Number of averaging times for CH1 1,600 < Set value
#2 K1 Minimum digital Specify the input mode of CH1 to CH4 by writing a numeric BFM#0 (BFM #29 b11 turns ON.).
Setting range: 1 to 4,095 times CH2 lower limit error set value (valid while BFM #22
#72 value inside input value to BFM #0.
b1 is ON) H{{{{ BFM #10 to BFM #13: Channel data
Number of averaging times for CH2 range
#3 K1 The input mode specification declares, each BFM expressed CH1
Setting range: 1 to 4,095 times The A/D conversion data for each channel is written to BFM #10 to #13.
Minimum digital as a 4-digit hexadecimal code, and each channel No. is CH2
CH3 lower limit error set value (valid while BFM #22 BFM #19: Disables setting change
Number of averaging times for CH3 #73 value inside input assigned to each digit. Specify a numeric value 0 to F in CH3
#4 K1 b1 is ON)
Setting range: 1 to 4,095 times range each digit for each channel. CH4 BFM #19 enables or disables the setting change of the I/O characteristics
Number of averaging times for CH4 Minimum digital {=0: Voltage input mode (-10 to 10V → -32000 to 32000), (BFM #0, #41 to #44, #51 to #54), the convenient functions (BFM #22).
#5 K1 CH4 lower limit error set value (valid while BFM #22 K1: Enables change (factory default).
Setting range: 1 to 4,095 times #74
b1 is ON)
value inside input resolution 0.32mV
range {=1: Voltage input mode (-10 to 10V → -4000 to 4000), resolution 2.50mV K2: Disables change.
#6 CH1: Digital filter setting Set range: 0 to 1,600 K0
•• {=2: Voltage input mode (-10 to 10V → -10000 to 10000), resolution 1mV BFM #20: Initializes functions
#7 CH2: Digital filter setting Set range: 0 to 1,600 K0 • Reserved ⎯ {=3: Current input mode (4 to 20mA → 0 to 16000), resolution 1.25 μA BFM #20 initializes all data stored in BFM #0 to BFM #1799, and sets the
#8 CH3: Digital filter setting Set range: 0 to 1,600 K0 Maximum digital {=4: Current input mode (4 to 20 mA → 0 to 4000), resolution 5.00 μA FX2NC-4AD to factory default.
#81
CH1 upper limit error set value (valid while BFM #22
value inside input {=5: Current input mode (4mA to 20mA → 4000 to 20000), resolution 1.25 μA By initialization, the input characteristics are reset to the values set at
#9 CH4: Digital filter setting Set range: 0 to 1,600 K0 b1 is ON) {=6: Current input mode (-20 to 20 mA → -16000 to 16000), resolution 1.25 μA
range factory default (voltage input, offset value K0, gain value K5000).
#10 CH1 data (immediate data or average data) ⎯ {=7: Current input mode (-20 to 20 mA → -4000 to 4000), resolution 5.00 μA K0: Normal
Maximum digital
#11 CH2 data (immediate data or average data) ⎯ #82
CH2 upper limit error set value (valid while BFM #22
value inside input {=8: Current input mode (-20 to 20 mA → -20000 to 20000), resolution 1.25 μA K1: Executes initialization. (Writes K1, subsequently returns to K0
b1 is ON) {=9 to E:Unusable when initialization is completed.)
range
#12 CH3 data (immediate data or average data) ⎯ {=F: Corresponding CH is not used.
Maximum digital BFM #21: Writes I/O characteristics
#13 CH4 data (immediate data or average data) ⎯ #83
CH3 upper limit error set value (valid while BFM #22
value inside input • The input characteristics are changed automatically according to the setting of Each channel No. is assigned to the lower 4 bits of BFM #21.
b1 is ON) BFM #0. (The input characteristics can be changed to independent values
•• range When a bit is set to ON, the offset data (BFM #41 to BFM #44) and the gain
• Reserved ⎯ except when {=2, 5, 8 is set in BFM #0 that disables all changes to the offset or
Maximum digital data (BFM #51 to BFM #54) of the assigned channel No. are written to the
CH4 upper limit error set value (valid while BFM #22 gain.) built-in memory (EEPROM).
Disables setting change of I/O characteristics #84 value inside input
(BFM #0, BFM #21) and convenient functions b1 is ON) • It takes approximately 5 seconds to change the input mode (to change each Give the write command to two or more channels at a time. (When entering
#19 K1 range
(BFM #22). set value). "HF", all channels are written to.)
Disables change: K2, Enables change: K1 •• Reserved ⎯
• Time interval of 5 seconds or more after changing the input mode until the When the write is completed, BFM #21 subsequently returns to K0.
Initializes functions. write of each setting (TO instruction) is performed. BFM21
CH1 sudden change detection set value
(Initializes functions at K1, then returns #91 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale • Setting "HFFFF" to allocate all channels as unusable is not allowed. b1 5, b14 , b1 3, b12 , b 11, b1 0, b 9, b8, b7 , b 6, b 5, b4, b3 , b2, b 1, b0
#20 K0
automatically to K0 after initialization is #22 b2 is ON) CH4 CH3 CH2 CH1
completed.) BFM #2 to BFM #5: Number of averaging times Invalid
CH2 sudden change detection set value (Make sure to set the number of averaging times to "1" when using the digital BFM #22: Sets convenient functions
Writes I/O characteristics. (Returns #92 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale
#21 automatically to K0 after write of offset/gain K0 filer.) The functions described below are assigned to b0 to b3 of BFM #22. When
#22 b2 is ON) The allowable set range of the number of averaging times is 1 to 4,095.
value is finished.) a bit is set to ON, the assigned function becomes valid.
CH3 sudden change detection set value If the number of averaging times is set to "1", the immediate data (current value) When a bit is set to OFF, the assigned function becomes invalid.
Sets convenient functions (data addition, upper/ #93 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale is stored in BFM #10 to #13. Otherwise, BFM #10 to BFM #13 will be averaged
#22 lower limit value detection, sudden change K0 #22 b2 is ON) depending on the value set in BFM #2 to BFM #5.
detection and minimum/maximum value hold).
CH4 sudden change detection set value If the number of averaging times is set to "0" or less, "0" is written. If the number
•• Reserved ⎯ #94 Setting range: 1 to 50% of full scale (valid while BFM 5% of full scale of averaging times is set to "4,096" or more, "4096" is written. In either case,
•
#22 b2 is ON) number of averaging times setting error (BFM #29 b10) occurs. The initial set
Upper/lower limit value error status (valid while value is "1".
#26 K0 ••
BFM #22 b1 is ON) • Reserved ⎯
b0: Data addition function BFM #28: Scale over status BFM #32: Operating time BFM #91 to BFM #94: Sudden change detection set value
The data (BFM #10 to BFM #13), minimum/maximum value (BFM #101 The result of the analog input value for each individual channel that has BFM #32 stores the continuous operating time for the FX2NC-4AD. When using the sudden change detection function (BFM #22 b2), enter the
to BFM #104, BFM #111 to BFM #114) and data history (BFM #200 to exceeded the input range will be written to BFM#28. Measurement starts when the power is turned ON, and the measured value is set value to judge the sudden change.
BFM #1799) of each channel is the measured value added by the Range in which input is available: reset when the power is turned OFF. When the data (BFM #10 to BFM #13) of each channel is updated, if the
addition data (BFM #61 to BFM #64). The measurement range is from 0 to 64,800 (s). After that, 64,800 is kept. difference between the previous value and the new value is larger than the
Voltage input mode Current input mode*1
When using this function, enter the value added by the addition data BFM #41 to BFM #44: Offset data sudden change detection set value (BFM #91 to BFM #94), the result is
(BFM #61 to BFM #64) to the lower limit value error set value (BFM - 10.2V to 10.2V - 20.4mA to 20.4mA BFM #51 to BFM #54: Gain data written to the sudden change detection status (BFM #27).
#71 to BFM #74) and the upper limit value error set value (BFM #81 to Offset data:Analog input value when the digital value is "0"
*1 The above table shows the available input range in the current input mode. A Setting range
BFM #84). Gain data :Analog input value when the digital value is as shown below (The
The addition data (BFM #61 to BFM #64) is not added to the scale over scale over status bit turns ON when the analog input value is -40.960mA or less The setting range will vary depending on the setting of the input mode (BFM
digital value varies depending on the setting of the input mode.)
data (BFM #28). or +40.940mA or more. #0).
Standard digital value for offset and gain in each input mode The table below shows the setting range for each input mode.
b1: Upper/lower limit value detection function Use the upper / lower limit detection function to detect the scale over status in (A number in the input mode column indicates a value set in BFM #0.)
When the A/D conversion data of each channel is outside the range of Write the set value in a digital value.
the current input mode.
the lower limit value error set value (BFM #71 to BFM #74) to the upper Input mode (BFM #0) 0 1 2 3 4 5 6 7 8 Input mode (BFM #0) Setting range Initial value
A bit will remain ON unless it is reset from switching the Power OFF or
limit value error set value (BFM #81 to BFM #84), the result is written to Standard offset value 0 0 - 0 0 - 0 0 -
overwriting the ON bit with an OFF bit via a TO instruction. 0: Voltage input mode
the upper/lower limit value error status (BFM #26). 1 to 32767 3200
Even while a scale over error is detected, the data (BFM #10 to BFM #13) of Standard gain value 16000 2000 - 16000 4000 - 16000 4000 - (-10 to 10 V → -32000 to 32000)
b2: Sudden change detection function
each channel continues to be updated. 1: Voltage input mode
When the data (BFM #10 to BFM #13) of each channel is updated, if • Set the offset and gain data for each channel. 1 to 4095 400
the difference between the previous value and the new value is larger Bit assignment of BFM #28 (-10 to 10 V → -4000 to 4000)
• Write the set value in units of "mV" for voltage input or "μA" for current input.
than the sudden change detection set value (BFM #91 to BFM #94), Bit No. Channel No. Description 2: Voltage input mode
• Do not change the input characteristics when {=2, 5, 8 is set in BFM #0. 1 to 10000 1000
the result is written to the sudden change detection status (BFM #27). b0 Scale over: Less than lower limit (Even if a numerical value is written, it is ignored.) (-10 to 10 V → -10000 to 10000)
b3: Minimum/maximum value hold function CH1
The minimum value of the data (BFM #10 to BFM #13) of each channel b1 Scale over: More than upper limit Initial offset/gain value (Unit: mV for voltage input, μA for current input) 3: Current input mode
1 to 8191 800
(4 to 20 mA → 0 to 16000)
is written to BFM #101 to BFM #104, and the maximum value is written b2 Scale over: Less than lower limit Input mode (BFM #0) 0 1 2 3 4 5 6 7 8
to BFM #111 to BFM #114. CH2 4: Current input mode
Initial offset value 0 4000 0 1 to 2047 200
b3 Scale over: More than upper limit (4 to 20 mA → 0 to 4000)
BFM #26: Upper/lower limit error status
b4 Scale over: Less than lower limit Initial gain value 5000 20000 5: Current input mode
The upper /lower limit value detection function (BFM#22 b1), writes 1 to 8191 800
detected errors to the corresponding bits in BFM#26 (see table). Upper and CH3 (4 to 20 mA → 4000 to 20000)
b5 Scale over: More than upper limit Setting range
lower limit error status for the four channels is located in bit-pairs in the first 6: Current input mode
8bits of BFM#26. b6 Scale over: Less than lower limit Voltage input Current input 1 to 16383 1600
(-20 to 20 mA → -16000 to 16000)
When the data (BFM #10 to BFM #13) of any channel is outside the range CH4
b7 Scale over: More than upper limit Offset data -10000 to 9000 (mV) -20000 to 17000 (μA)
from the lower limit error value (BFM #71 to BFM #74) to the upper limit 7: Current input mode
1 to 4095 400
error value (BFM #81 to BFM #84), the corresponding bit turns ON. Gain value - Offset value Gain value - Offset value (-20 to 20 mA → -4000 to 4000)
BFM #29: Error status Gain data
When a bit turns ON, it remains ON until it is reset by BFM #99 or the = 1,000 to 10,000 (mV) = 3,000 to 30,000 (μA)
Error information is assigned to each bit of BFM #29. 8: Current input mode
1 to 20000 2000
power is turned OFF. The actual effective input range is "-10 to 10 V" or "-20 to 20 mA". (-20 to 20 mA → -20000 to 20000)
Even while an upper/lower limit value error is detected, the data (BFM #10 Bit assignment of BFM #29
to BFM #13) of each channel continues to be updated. Bit BFM #61 to BFM #64: Addition data BFM #99: Clears upper/lower limit value error and sudden change
Assignment Description When using the data addition function (BFM #22 b0), data (BFM #10 to BFM
Bit assignment of BFM #26 No. detection error
#13), minimum/maximum value (BFM #101 to BFM #104, BFM #111 to BFM The commands to clear the lower and upper limit value error and the
Bit No. Channel No. Description b0 Error detected b0 is ON while either b2 to b4 is ON.
#114) and data history (BFM #200 to BFM #1799) of each channel becomes the sudden change detection error are assigned to the lower three bits of BFM
b0 Lower limit error b1 ⎯ ⎯ measured value added by the addition data (BFM #61 to BFM #64). #99.
CH1 When using the data addition function, enter the value added by the addition
b1 Upper limit error 24V DC power is not correctly supplied. The flag of the corresponding error status (BFM #26, BFM #27) is reset for
b2 Power error data (BFM #61 to BFM #64) to the lower limit value error set value (BFM #71 to all channels simultaneously when a bit is set to ON.
Check the wiring and supply voltage.
b2 Lower limit error BFM #74) and the upper limit value error set value (BFM #81 to BFM #84). After the reset is finished, each bit of BFM #99 returns automatically to the
CH2 FX2NC-4AD may have malfunctioned. Setting range: -16,000 to 16,000
b3 Upper limit error OFF state.
b3 Hardware error Contact the nearest Mitsubishi Electric System The setting of two or more clear commands to ON at the same time is
b4 Lower limit error Service center. BFM #71 to BFM #74: Lower limit, error set value
possible.
CH3 BFM #81 to BFM #88: Upper limit, error set value
b5 Upper limit error A/D conversion value is abnormal. Bit assignment of BFM #99
b4 A/D conversion value error Using the scale over data (BFM #28), check When using the upper/lower limit value detection function (BFM #22 b1), write
b6 Lower limit error the channel in which the error has occurred. the lower limit value of each channel to BFM #71 to BFM #74 and the upper limit Bit No. Description
CH4 value of each channel to BFM #81 to BFM #84.
b7 Upper limit error b5 ⎯ ⎯ b0 Clears lower limit error.
When using the data addition function (BFM #22 b0), enter the value added by
This bit will be ON during the input the addition data to BFM #61 to BFM #64. b1 Clears upper limit error.
BFM #27: A/D data sudden change detection status
The sudden change detection function (BFM#22 b2) writes detected errors characteristics change processing. While this Setting range b2 Clears sudden change detection error.
b6 BFM read/write disabled
to the corresponding bits in BFM#27. The sudden change detection status bit is ON, correct A/D data will not read from or
written to BFMs. The setting range will vary depending on the setting of the input mode (BFM #0). b3 to b15 Unusable
for negative or positive changes is located in the first 8bits of BFM#27 in The table below shows the setting range for each input mode. Enter the set
bit-pairs. b7 ⎯ ⎯
value as a digital value. BFM #101 to BFM #104: Minimum value
When the data (BFM #10 to BFM #13) of each channel is updated, if the
difference between the previous value and the new value is larger than the This bit will be ON while either b9 to b15 is Initial value BFM #111 to BFM #114: Maximum value
b8 Set value error detected
ON. When using the minimum/maximum value hold function (BFM #22 b3), the
su dden chan ge dete ction se t valu e (BFM # 91 to BFM #94 ), the Input mode (BFM #0) Setting range Lower Upper
corresponding bit in BFM #27 turns ON. Input mode (BFM #0) is incorrectly set. minimum value of the data (BFM #10 to BFM #13) of each channel is
b9 Input mode setting error limit limit
At this time, when the new value is larger than the previous value, a bit for Set it within the range from 0 to 8. written to BFM #101 to BFM #104, and the maximum value is written to
the + direction turns ON. when the new value is smaller than the previous 0: Voltage input mode -32768 to BFM #111 to BFM #114.
Number of averaging times Number of averaging times is incorrectly set. -32768 32767
value, a bit for the - direction turns ON. b10 (-10 to 10 V → -32000 to 32000) 32767 When using the data addition function (BFM #22 b0), the minimum/
setting error Set it within the range from 1 to 4,095. maximum measured value will be added to the addition data (BFM #61 to
When a bit turns ON, it remains ON until it is reset by BFM #99 or the 1: Voltage input mode
power is turned OFF. The digital filter setting is incorrect. (-10 to 10 V → -4000 to 4000)
-4096 to 4095 -4096 4095 BFM #64).
b11 Digital filter setting error
Even while a sudden change error is detected, the data (BFM #10 to BFM Reset within the range of 0 to 1,600. Initial value
#13) of each channel continues to be updated. 2: Voltage input mode -10200 to Minimum/maximum value hold function is not used:K0
Sudden change detection Sudden change detection set value is -10200 10200
Bit assignment of BFM #27 b12 (-10 to 10 V → -10000 to 10000) 10200 Minimum/maximum value hold function is used: Digital value when the
set value error incorrect. Set a correct value.
3: Current input mode power is turned ON
Bit No. Channel No. Description Upper/lower limit set value Upper/lower limit set value is incorrect. Set a -1 to 16383 -1 16383
b13 (4 to 20 mA → 0 to 16000) BFM #109: Minimum value reset
b0 Sudden change error in - direction error correct value.
CH1 4: Current input mode BFM #119: Maximum value reset
b1 Sudden change error in + direction b14 ⎯ ⎯ (4 to 20 mA → 0 to 4000)
-1 to 4095 -1 4095
When using the minimum/maximum value hold function (BFM #22 b3),
b2 Sudden change error in - direction Addition data is incorrectly set. BFM #109 clears the minimum value stored in BFM #101 to BFM #104,
b15 Addition data setting error 5: Current input mode
CH2 Set it within range from -16,000 to 16,000. 3999 to 20400 3999 20400 and BFM #119 clears the maximum value stored in BFM #111 to BFM
(4 to 20 mA → 4000 to 20000)
b3 Sudden change error in + direction #114.
BFM #30: Model code 6: Current input mode -16384 to
-16384 16383
The channel No. that will be reset is assigned to each bit of BFM #109 and
b4 Sudden change error in - direction
CH3 BFM #30 stores a fixed value of "K2070". (-20 to 20 mA → -16000 to 16000) 16383 BFM #119. When a bit is set ON, minimum/maximum value of the assigned
b5 Sudden change error in + direction
7: Current input mode
channel is cleared. (Setting two or more bits ON simultaneously is
-4096 to 4095 -4096 4095 possible.)
b6 Sudden change error in - direction (-20 to 20 mA → -4000 to 4000)
CH4
b7 Sudden change error in + direction 8: Current input mode -20400 to
-20400 20400
(-20 to 20 mA → -20000 to 20000) 20400
Bit assignment 7.1 Standard I/O characteristics 7.2 Adjustment of I/O characteristics
BFM #109 Bit No. b15 to b4 b3 b2 b1 b0 The input mode of the standard I/O characteristics is abbreviated as shown Adjust the I/O characteristics using the buffer memories in the FX2NC-4AD. Lower limit value error of CH1
below: Firstly, enter the input mode to BFM #0, then enter the offset data to BFM #41 to M0
Channel No. CH4 CH3 CH2 CH1
Unusable BFM #44, subsequently enter the gain data to BFM #51 to BFM #54. Y0
(BFM No.) (#104) (#103) (#102) (#101) 0. Voltage input, -10 to 10V, -32,000 to 32000
➁ ➃ Upper limit value error of CH1
➀ ➂ Update the offset data and the gain data for each channel using BFM #21.
M1
BFM #119 Bit No. b15 to b4 b3 b2 b1 b0 ➀ : Input mode set in BFM #0 ➁ : Input mode Example program (Adjustment of CH1, CH2 and CH4) Y1
Outputs the upper/
➂ : Analog input range ➃ : Digital output range lower limit value
•••
Channel No. CH4 CH3 CH2 CH1 X000 error status of each
Unusable FNC 79 Specifies the input
(BFM No.) (#114) (#113) (#112) (#111) K0 K0 H1600 K1 channel.
0. Voltage input, -10 to 10 V, 1. Voltage input, -10 to 10 V, Operation TO P mode of CH1 to CH4. Upper limit value error of CH4
BFM #198: Data history sampling time -32,000 to 32000 -4000 to 4000 start M7
instruction SET M0 Y7
Set the data history sampling time. Digital value Digital value
Setting range: 0 to 30,000 ms M0 *1 Scale over error of CH1 (lower limit value)
TO K50
Sampling cycle 32640 4,080 M20
When the set value is "0" :1 ms x Number of effective channels T0 Y20
Approx.
32000 4,000
Approx.
10.2 V
10.2 V
When the set value is "1" or more :Set value (ms) x Number of effective FNC 79 Offset value of CH1
TO P
K0 K41 K0 K2 and CH2. Scale over error of CH1 (upper limit value)
channels Input Input M21
BFM #199: Resets or stops data history voltage -10V voltage -10V FNC 79 Gain value of CH1 and Y21 Outputs the scale
K0 K51 K1250 K2
TO P CH2. over error status of
•••
The data history reset function is assigned to the lower 4 bits of BFM #199. 0 10V 0 10V
Approx.
-10.2 V
Approx.
-10.2 V
The data history stop function is assigned to the upper 4 bits of BFM #199. each channel.
FNC 79 K0 K44 K0 K1 Offset value of CH4.
Data history reset function -32000
TO P Scale over error of CH4 (upper limit value)
-4,000
This function clears the sampled data history for each channel. -32640 -4,080 FNC 79
M27
The channel No. to be reset is assigned to each of the lower 4 bits of BFM K0 K54 K10000 K1 Gain value of CH4. Y27
TO P
#199.
When a bit is set to ON, the data history (all contents from the 1st value to FNC 79 K0 K21 H000F K1 Offset value and gain T0 Reads the CH1 data
2. Voltage input, -10 to 10 V, 3. Current input, 4 to 20 mA, TO P value of all channels at FNC 78
the 400th value) of the assigned channel is cleared. (The setting of two or FROM K0 K200 D10 K10 history (for 10 times) to
-10,000 to 10,000 (Direct mode) 0 to 16000 a time.
more bits to ON simultaneously is possible.) RST M0 D10 to D19.
When the clear operation is completed, each bit returns automatically to Digital value Digital value
FNC 07 Refreshes the watch
the OFF state. *1 It takes approximately 5 seconds to change the input mode (BFM #0) (to WDT dog timer.*1
16400
Assignment of lower 4 bits 10,200 change each set value). Reads the CH2 data
10,000 FNC 78
Approx.
Assure that a time interval of 5 seconds or more is held after a change of the
Approx.20.4mA
FNC 78
Reads the CH3 data
channels. The channel No. to be temporarily stopped is assigned to each 8. Example program FROM K0 K1000 D30 K10 history (for 10 times) to
of the upper 4 bits of BFM #199. When a bit is set to ON, sampling of the -10,000 D30 to D39.
data history of the assigned channel is temporarily stopped. (Setting two or This section introduces an example program to read analog data from the
-10,200 0 4mA 20mA Input FNC 07 Refreshes the watch
more bits to ON at a time.) FX2NC-4AD and connecting to digital data in the PLC. WDT dog timer.*1
current
When a bit is set to OFF, sampling of the data history of the assigned Condition
channel restarts. System configuration: Reads the CH4 data
Assignment of upper 4 bits 4. Current input, 4 to 20 mA, 5. Current input, 4 to 20 mA, FNC 78 K0 K1400 D40 K10 history (for 10 times) to
The FX 2NC -4AD is connected as a special function block nearest to the FROM
0 to 4000 4,000 to 20,000 (Direct mode) FX2NC Series PLC main unit (unit No. 0). D40 to D49.
Bit No. b15 to b12 b11 b10 b9 b8
Digital value Digital value Input mode: FNC 07 Refreshes the watch
Channel No. Unusable CH4 CH3 CH2 CH1 WDT dog timer.*1
CH1 and CH2: Mode 0 (voltage input, -10 to 10 V → -32000 to 32000)
4100 CH3 and CH4: Mode 3 (current input, 4 to 20 mA → 0 to 16000)
20400 END
BFM #200 to BFM #1799: Data history Number of averaging times: 1 (initial value) in each channel
Approx. 20.4mA
The A/D conversion value of each channel is sampled, and written to the
Approx. 20.4mA
I/O characteristics: 1) The input mode setting will be kept by the EEPROM, therefore,
BFMs shown below. The table below shows the assignment between the 4000 20000 Standard I/O characteristics (initial value) in each channel continual channel settings is not needed after powering down.
channel No. and the BFM No. Data is stored in ascending order of the BFM Convenient function: Upper/lower limit value detection function is used.
No. Data history function: *1 When multiple data history items are read, the scan time of the PLC
Up to 400 data history items are written for each channel. When the Used while sampling time is set to 0ms (initial value). becomes longer.
number of history items exceeds 400, the data is overwritten starting from 4000 CH1 to CH4: Sampling time = 1ms × 4 (Number of effective channels) = 4ms In the FX2NC Series PLC, when the scan time exceeds 200 ms, the CPU
the smallest BFM No. I/O assignment: error indicator lamp lights and the PLC stops.
The data history function is valid only for channels whose number of 0 4mA 20mA Input 0 4mA 20mA Input X001 : Clears the upper/lower limit value error. When reading many data history items, divide data history items to be
averaging times (BFM #2 to #5) is set to "1" and digital filter setting (BFM current current read using two or more FROM instructions, then insert the WDT (watch
X002 : Clears the scale over error.
#6 to #9) is set to "0". Y000 to Y007: Output the upper/lower limit value error status of each dog timer refresh) instruction between FROM instructions.
6. Current input, -20 to 20 mA, 7. Current input, -20 to 20 mA,
Assignment of channel No. and BFM No. channel.
-16000 to 16000 -4000 to 4000
BFM No. Y020 to Y027: Output scale over status of each channel.
Channel
No. Digital value Digital value Example program
1st value 2nd value 3rd value ••••• 400th value
16320 4080
CH1 #200 #201 #202 ••••• #599 Initial pulse
16000 4000
Approx.
20.4mA
This manual confers no industrial property rights or any rights of any other kind,
20.4mA
Approx.
CH2 #600 #601 #602 ••••• #999 M8002 Specifies the input
FNC 79 K0 K0 H3300 K1 mode of CH1 to nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be
TO
CH3 #1000 #1001 #1002 ••••• #1399 Input Input CH4. held responsible for any problems involving industrial property rights which may
current -20mA current -20mA RUN monitor 1) occur as a result of using the contents noted in this manual.
CH4 #1400 #1401 #1402 ••••• #1799 0 20mA M8000 Stand by for five
0 20mA
-20.4mA
-20.4mA
TO
Approx.
K50
Approx.
• If a considerable amount of data history is read from the main unit using a seconds. Warranty
FROM instruction, a watch dog timer error occurs in the main unit. T0 Enables the upper/ Mitsubishi will not be held liable for damage caused by factors found not to be
-16000 -4000 FNC 79 K0 K22 H0002 K1 lower limit value the cause of Mitsubishi; opportunity loss or lost profits caused by faults in the
In such a case, divide the required data history using multiple FROM TO P detection function.
instructions, and insert the WDT instruction (watch dog timer refresh -16320 -4080 Mitsubishi products; damage, secondary damage, accident compensation
FNC 78 Reads the channel data caused by special factors unpredictable by Mitsubishi; damages to products
instruction) after each FROM instruction. K0 K10 D0 K4 from CH1 to CH4.
FROM other than Mitsubishi products; and to other duties.
8. Current input, -20 to 20 mA, (CH1 → D0, CH2 →
7. Adjustment of I/O Characteristics D1, ..... CH4 → D3)
-20,000 to 20,000 (Direct mode)
For factory default, the FX 2NC -4AD has standard I/O characteristics in FNC 78
FROM K0 K26 K2M0 K1
Reads the upper/lower
limit value error status.
For safe use
accordance with each input mode (BFM #0). Digital value (M0 to M7)
In t he vo lta ge a n d curre n t inp ut m o de, a dju st th e sta nd a rd I/ O 20400 • This product has been manufactured as a general-purpose part for general
Clear of FNC 78 K0 K28 K2M20 K1
Reads the scale over industries, and has not been designed or manufactured to be incorporated in
characteristics for each channel. (Do not change the input characteristics 20000 FROM status.(M20 to M27)
upper/lower
Approx.
20.4mA
when 2, 5, 8 is set in BEM #0.) a device or system used in purposes related to human life.
limit value
error FNC 78 K0 K29 D6 K1
Reads the error status. • Before using the product for special purposes such as nuclear power, electric
Input FROM (BFM #29 → D6) power, aerospace, medicine or passenger movement vehicles, consult with
current -20mA X001 Mitsubishi Electric.
FNC 79 Clears the upper/lower
0 20mA TO P K0 K99 H0003 K1 limit value error. • This product has been manufactured under strict quality control. However
-20.4mA
Approx.
Clear of scale over error when installing the product where major accidents or losses could occur if the
X002 product fails, install appropriate backup or failsafe functions in the system.
-20000 FNC 79 K0 K28 K0 K1 Clears the scale over
TO P error.
-20400
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN