This manual contains text, diagrams and explanations which will guide the reader in the correct installation and
operation of the FX
2N-4DA special function block and should be read and understood before attempting to install or use
the unit.
Further information can be found in the FX PROGRAMMING MANUAL, FX
2N SERIES HARDWARE MANUAL .
• The FX2N-4DA analog special function block has four output channels. The output channels take a digital value and
output an equivalent analog signal. This is called a D/A conversion. The FX
2N-4DA has maximum resolution of 12
bits.
• The selection of voltage or current based input/output is by user wiring. Analog ranges of -10 to 10V DC (resolution:
5mV), and/or 0 to 20mA (resolution: 20µA) maybe selected independently for each channel.
• Data transfer between the FX2N-4DA and the FX2N main unit is by buffer memory exchange. There are 32 buffer
memories (each of 16 bits) in the FX
2N-4DA.
• The FX2N-4DA occupies 8 points of I/O on the FX2N expansion bus. The 8 points can be allocated from either inputs
or outputs. The FX
2N-4DA draws 30mA from the 5V rail of the FX2N main unit or powered extension unit.
● Weight : Approx. 0.3 kg (0.66 lbs) ● Accessory: Special block number label
Handling of crimp-style terminal
• Be sure to use the crimp-style terminals that satisfy the dimen-
sional requirements shown in the left figure.
• Apply 0.5 to 0.8 N⋅m (5 to 8 kgf⋅cm) torque to tighten the termi-
nals. Firmly tighten the terminals to prevent abnormal operation.
POWER
D/A
24V
FX2N-4DA
I+
V+
I+
VI-
CH4
CH3
CH2
CH1
V+
I+V+
I+
V+
24+
24-
VI-
VI-
VI-
8
9
1
4(0.16)
2
55(2.17)
90(3.54)
87(3.43)
55(2.17)
80(3.15)
9(0.35)
7
6
5
4
3
4(0.16)
CH1
V+
24+
24-
VI-
CONNECTION TO PROGRAMMABLE CONTROLLER
Various special blocks controlled by the FROM/TO commands, such as the analog input blocks high-speed counter
blocks, etc. can be connected to the FX
2N programmable controller (MPU), or connected to the right side of the other
extension blocks or units. Up to eight special blocks can be connected to a single MPU in the numeric order of No. 0 to
No. 7.
WIRING: The terminal layout shown below may differ from the actual layout. For the correct terminal layout, refer to
section 2 External Dimensions and Parts.
ENVIRONMENTAL SPECIFICATIONS
Item Specification
Environmental specifications (excluding following) Same as those for the FX
2N main unit
Dielectric withstand voltage 500V AC, 1min (between all terminals and ground)
PERFORMANCE SPECIFICATIONS
Item Voltage output Current output
Analog output range
-10V DC to +10V DC (External load
resistance: 2kΩ to 1MΩ).
DC 0mA to +20mA (External load resistance:
500Ω).
Digital input 16 bits, binary, with sign (Effective bits for numeric value: 11 bits and sign bit (1 bit))
Resolution
5mV (10V × 1/2000) 20µA (20mA × 1/1000)
Total accuracy
±1% (at full scale of +10V) ±1% (at full scale of +20mA)
Conversion speed
2.1ms for 4 channels (Change in the number of channels used will not change the conversion
speed.)
Isolation
Photo-coupler isolation between analog and digital circuits.
DC/DC converter isolation of power from FX
2N main unit.
No isolation between analog channels.
External power
supply
24V DC ±10% 200mA
Number of occupied
I/O points
8 points taken from the FX
2N expansion bus (can be either inputs or outputs)
Power consumption 5V, 30mA (Internal power supply from MPU or powered extension unit)
I/O characteristics
(Default: mode 0)
Follow the procedure
described in section 8
to change
At load resistance of 10kΩ At load resistance of 250Ω
At load resistance of 250Ω
Command sent from the programmable controller can
change the mode. The voltage/current output mode
selected will determine the output terminals used.
Data is transmitted between the FX
2N-4DA and the MPU via buffer memories (16-bit 32-point RAM).
Buffer memories marked “W” can be written to
using the T0 instruction in the MPU.
The status of BFM #0, #5, and #21, (marked E)
will be written to EEPROM, therefore the set
values will be retained even after turning off the
power.
➀ [BFM #0] Output mode select: The value of BFM #0 switches the analog output between voltage and current on
each channel. It takes the form of a 4 digit hexadecimal number. The first digit will be the command for channel
1 (CH1), and the second digit for channel 2 (CH2) etc. The numeric values of these four digits respectively
represent the following items:
O = 0:Sets the voltage output mode (-10 V to +10 V).
O = 1:Sets the current output mode (+4 mA to 20 mA).
O = 2:Sets the current output mode (0 mA to +20 mA).
Switching the output mode resets the I/O characteristics to the factory-set characteristics. Refer to the performance
specifications described in section 4.
Example: H2110 CH1 : Voltage output (-10 V to +10 V)
CH2 and CH3 : Current output (+4 mA to +20 mA)
CH4 : Current output (0 mA to +20 mA)
➁ [BFM #1, #2, #3 and #4]: Output data channels CH1, CH2, CH3, and CH4
BFM #1: Output data of CH1 (Initial value: 0) BFM #2: Output data of CH2 (Initial value: 0)
BFM #3: Output data of CH3 (Initial value: 0) BFM #4: Output data of CH4 (Initial value: 0)
➂ [BFM #5]: Data holding mode: While the programmable controller is in the STOP mode, the last output value in the
RUN mode will be held. To reset the value to the offset value, write the hexadecimal value in BFM #5 as follows:
O = 0: Holds the output.
O = 1: Resets to the offset value.
Example: H0011 ⋅⋅⋅⋅⋅⋅ CH1 and CH2 = Offset value CH3 and CH4 = Output holding
In addition to the above functions, the buffer memories can adjust the I/O characteristics of the FX
2N-4DA, and report
the status of the FX
2N-4DA to the programmable controller.
Buffer memories marked “W” can be written
to using the TO instruction in the MPU.
The status of BFM #0, #5, and #21, (marked
E) will be written to EEPROM, therefore the
set values will be retained even after turning
off the power.
*1:Offset data: Actual analog output value
when corresponding output
data (BFM #1 through #4) is 0
*2:Gain data: Actual analog output value
when corresponding output
data (BFM #1 through #4) is
+1,000
*3: When current output mode 1 (+4 mA to
+20 mA) is set, the offset data will be
automatically set to +4,000 and the gain
data to +20,000. When the current
output mode 2 (0 mA to +20 mA) is set,
the offset data will be automatically set
to 0 and the gain data to +20,000.
➃ [BFM #8 and #9] Offset/gain setting command: Changes offset and gain values of channels CH1 through CH4 by
writing 1 to the corresponding Hex digits of BFM #8 or #9. The current values will be valid until this command is
output.
BFM #8 BFM #9
O = 0: No changes done.
O = 1: Change data value.
(Program example : see section 8.)
➄ [BFM #10 through #17] Offset/gain data: The offset and gain values are changed by writing new data to BFM #10
through #17. The units of the data to be written is mV or µA. The data should be written and then BFM #8 and #9
set. Note that the data value will be rounded down to the nearest 5mV or 20µA.
➅ [BFM #20] Initialize: When K1 is written in BFM #20, all values will be initialized to the factory-settings.
(Note that the BFM #20 data will override the BFM #21 data.) This initialize function is convenient if you have an
error in adjustment.
➆ [BFM #21] I/O characteristics adjustment inhibit: Setting BFM #21 to 2 inhibits the user from inadvertent adjustment
of I/O characteristics. The adjustment inhibit function, once set, will be valid until the Permit command (BFM
#21=1) is set. The initial value is 1 (Permit). The set value will be retained even after power-off.
FX2N-4DA SPECIAL FUNCTION BLOCK
USER’S GUIDE
JY992D65901A
EXTERNAL DIMENSIONS AND PARTS
2
➀ Extension cable
➁ Power indicator lamp (LED)
5 V power is supplied from the programmable
controller to light this indicator lamp.
➂ Power supply terminals
(Screw terminal: M3 (0.12))
➃ Analog output terminals
(Screw terminals : M3 (0.12))
➄ 24 V power indicator lamp (LED)
24 VDC power is supplied to the terminals of the
FX
2N-4DA to light this indicator lamp.
➅ D/A conversion indicator lamp (LED)
Flashes at a high speed if D/A conversion is
performing without a problem.
➆ Hook for DIN rail
➇ Groove for DIN rail mounting
(Width of DIN rail : 35 mm 1.38")
➈ Hole for direct mounting (2-φ4.5) (0.18)
*1: Use a twisted pair shielded cable for the analog
output. This cable should be wired away from power
lines or any other lines which could induce noise.
*2: Apply 1-point grounding at the load side of the output
cable (class 3 grounding: 100Ω or less).
*3: If electrical noise or a voltage ripple exists at the
output, connect a smoothing capacitor of 0.1 to
0.47µF, 25V.
*4: Connect the terminal on the FX
2N-4DA with the
terminal on the MPU of the programmable
controller.
*5: Shorting the voltage output terminal or connecting the
current output load to the voltage output terminal
may damage the FX
2N-4DA.
*6: The 24V DC service power of the programmable
controller can also be used.
*7: Do not connect any unit to the unused terminal
BFM Description
W
#0 E Output mode select. Factory setting H0000
#1
Output data (Signed 16 bits binary: actual
value 11 bits + sign)
#1: CH1, #2: CH2, #3: CH3, #4: CH4
#2
#3
#4
#5 E Data holding mode. Factory setting H0000
#6, #7 Reserved
BFM Description
W
#8(E) Offset/gain setting command CH1, CH2 Initial value H0000
#9(E) Offset/gain setting command CH3, CH4 Initial value H0000
#10 Offset data CH1 *1
Unit: mV or µA
Initial offset value: 0
Initial gain value: +5,000
#11 Gain data CH1 *2
#12 Offset data CH2 *1
#13 Gain data CH2 *2
#14 Offset data CH3 *1
#15 Gain data CH3 *2
#16 Offset data CH4 *1
#17 Gain data CH4 *2
#18, #19 Reserved
W
#20(E) Initialize. initial value = 0
#21 E I/O characteristics adjustment inhibit (Initial value 1)
#22-#28 Reserved
#29 Error status
#30 K3020 identification code
#31 Reserved
INTRODUCTION
1
INSTALLATION AND WIRING
3
SPECIFICATIONS
4
ALLOCATION OF BUFFER MEMORIES (BFM)
5
Mode 1 (Current
output: +4mA to +20mA)
Mode 2 (Current
output: 0mA to +20mA)
6.2mm
(0.24inches)
or less
FOR M3(0.12)
FX -16EX
X000-X027
Y000-Y027
X030
-X047
2N
FX -48MR-ES/UL
2N
FX -4AD
2N
No.2
2N
FX -4AD-PT
X050-X067
Y030-Y047
2N
FX -32ER
2N
FX -4DA
FX -48MR-ES/UL
2N
POWER
A/D
24V
FX
-4AD
2N
POWER
D/A
24V
FX -4DA
2N
No.1
No.0
POWER
24V
A/D
Special block
Special block
Special block
X0
X5
72 456130
1611 1514 1710 12 13
14 171510 12 13
72 456130
1611
OUT
IN
L
X11 X13 X15 X17
X6 X10 X12 X14 X16
24+
N
COM X4
X7
COM4
COM2
Y4
Y5
Y6
Y7 COM3
Y10
Y11
Y12
Y13
COM1
Y0
Y1
Y2
Y3
Y14
Y15
Y16
Y17
X3
X2
X1
POWER
762720 22 23 24 25 2621
16 17
14 171510 12 13
724561302720 22 23 24 25 2621
1611
IN
LX5X7
X13 X15 X17 X21 X23 X25
X4 X6 X10
X14 X16 X20 X22 X24
24+N
COM
X0
X1
X2
COM4
Y24
Y25
COM5
Y27COM2
Y4
Y5
Y6
Y7
COM3
Y10
Y13COM1
Y0 Y2
Y3
Y14
Y15
Y20
Y21
Y22
Y23
Y26
POWER
T.V
CPU.E
PROG.E
*6
DC24V±10%200mA
*4
Class 3
Grounding
(100
Ω
or less)
PC
Extension cable
24+
24-
FX -4DA
2N
DC/DC
converter
AG
+15V
+15V
CH1
CH2
V+
I +
VI -
V+
I +
VI -
*2
*5
*2
Mixed output from the same channel is not possible.
*1
*7
*3 Inverter,etc.
Recorder,etc.
*1
Analog output
Digital input
+10V
+10.235V
-2,000
+2,000
-10V
-10.24V
-2,048
+2,047
Mode 0 (Voltage
output: -10V to +10V)
Analog
output
+4mA
Digital input
+20mA
0
+1,000
Analog
output
Digital input
+20mA
0
+1,000
CH4 CH3 CH2 CH1
H
G2
H
O2 G1
O1
CH4 CH3 CH2 CH1
H
G4
H
O4 G3
O3
*3
Output
mode 0