Mitsubishi FX2N-2DA, FX2N-3A, FX2N-2AD User Manual

4. CONNECTION WITH PROGRAMMABLE CONTROLLER
Analog
value
Digital value
04000
20mA
4mA
Analog value Digital value
:4 to 20mA :0 to 4000
20.380mA
4095
6. ALLOCATION OF BUFFER MEMORY (BFM)
FX2N-2DA SPECIAL FUNCTIONBLOCK
USER’S GUIDE
JY992D74901D
This manual contains text, diagrams and e xplanations which will guide the reader in t he correct installation and operation of the FX attempting to install or use the unit. Further inform ation can be found in the FX SERIES PROGRAMMING MANUAL(ΙΙ), FX
2NC
FX
SERIES HARDW A RE MANUAL of each PLC.
1. INTRODUCTION
The FX2N-2DA type analog output block (hereafter referred to as the FX2N-2DA) is used to convert a digital value of 12 bits into an analog output of two points (voltage and current output), and to forward the values to the Programmable Controller (hereafter referred to as a PLC).
2N
FX
-2DA can connected to the FX0N, FX1N, FX2N, and the FX
1) The analog output is selected from the voltage or current output by the method of connecting wires. At this time, assume setting to be two channels common analog output.
2) The two analog output channels can accept outputs of 0 to 10V DC, 0 to 5V DC, or 4 to 20mA. (A mixture of voltage/current output is possible.)
3) Resolution is 2.5mV (0 to 10V DC) and 4µA(4 to 20mA).
4) The digital to analog conversion characteristics can be adjusted.
5) The block occupies 8 I/O points which can be allocated from either the inputs or outputs.
6) The data transfer with the PLC uses the FROM/TO instructions.
2N
0N
/FX1N/FX2N/
2NC
series Programmable Controllers.
1) The FX2N-2DA and main unit are connected by a cable on the right of the main unit.
2) Up to 4 FX2N-2DA units can connect to the FX0N series PLC, up to 5 for FX 4 for the FX
2NC
series PLC, all with powered extension units.
1N,
up to 8 for FX2N or, up to
However the following limitation exists when the undermentioned special function blocks are connected.
FX2N: Main unit and powered extension units of 32 points I/O or less. Consumption current available
for undermentioned special function blocks ≤ 190mA
2N
FX
: Main unit and powered extension units of I/O 48 points or more. Consumption current available
for undermentioned special function blocks ≤ 300mA
2NC
: Up to 4 undermentioned special function blocks can be connected regardless of the system I/O.
FX
0N/1N
FX
: Main unit and powered extension units. Up to 2 undermentioned special function blocks can be
connected regardless of the system I/O.
FX2N-2DA FX2N-2AD FX0N-3A
Consumption current of 24V DC for one unit 85mA 50mA 90mA
The consumption of the above units is to be subtracted from the service power supply of the host PLC.
3) The blocks occupies 8 I/O points (the 8 points can be allocated from either inputs or outputs).
2N
4) FX
-2DA consumes 5V DC 30mA. The total 5V consumption of all special function blocks connected to either an FX or an FX
2N
extension unit must not exceed the 5V source capacity of the system.
2N
2NC
, FX
main unit
5. SPECIFICATIONS
5.1 Environmental specification
Item Content
Directric Withstand voltage
Environmental specifications other than the above are the same as the main unit of the Programmable Controller. (Refer to the Hardware manual of the Programmable controller)
5.2 Power supply specification and others
500V AC 1min (between analog output terminals and case)
6.1 Buffer memory
BFM
number
#0 to #15 Reserved #16 Reserved Digital source data for output (8 bit)
#17 Reserved
#18 or more Reserved
BFM#16: The D/A conversion data of the channel specified with BFM#17 (digital value) is written.
BFM#17: b0•••The D/A conversion of CH2 begins by changing of 1→0.
Write data in the above-mentioned buffer memory by "8. Program example".
b15 to b8 b7 to b3 b2 b1 b0
Lower data holding bit
CH1 D/A conversion beginning
CH2 D/A conversion beginning
The D/A data is written in binary in order of the lower 8bit and higher 4bit and div id ed into two portions.
b1•••The D/A conversion of CH1 begins by changing of 1→0. b2•••The lower eight bit data for the D/A conversion is held by changing of 1→0.
2. EXTERNAL DIMENSIONS AND PARTS
Dimensions: mm (inches)
M 3 ( 0 . 1 2 ) t e r m i n a l s c r e w s
D I N r a i l m o u n t i n g s l o t 3 5 m m ( 1 . 3 8 )
E x t e n s i o n c a b l e
F X - 2 D A
2 N
P O W E R
9 0 ( 3 . 5 4 )
8 0 ( 3 . 1 5 )
9 ( 0 . 3 5 )
8 7 ( 3 . 4 3 )
M o u n t i n g h o l e s 2 h o l e s 4 . 5 ( 0 . 1 8 ) d i a
4 ( 0 . 1 6 )
4 3 ( 1 . 6 9 )
Mass (Weight):0.2kg (0.44lbs) Accessories: Special Function block number label
V O U T 1
IO U T 1
IO U T 2V O U T 2
C O M 1
C O M 2
C H 1
O F F S E T
P O W E R
C H 1
G A I N
C H 2
O F F S E T
C H 2
G A I N
C H 1
C H 1
C H 2
C H 2
O F F S E T / G A I N
3. WIRING
Voltage output
VOUT
PLC
Extension cable
DC/DC converter
+15V
AG
-15V
IOUT COM
VOUT IOUT
*2
Current output
COM
*1 Connect a 0.1 to 0.47µF 25V DC capacitor respective to position *1 when there is voltage
ripple in the voltage output or there is a lot of noise.
FX2N-2DA
*3
*2 For voltage output please short circuit IOUT and COM as shown in the diagram. *3 Channel number enter .
{
*1
P O W E R
O F F S E T
G A I N
O F F S E T
G A I N
V O U T 1
I O U T 1
C O M 1
v o l u m e
V O U T 2 I O U T 2
C O M 2
C O M 2
Inverter etc
Recorder etc
Item Content
Analog circuits 24V DC ±10% 85mA (Internal power supplied from the main unit) Digital circuits 5V DC 30mA (Internal power supplied from the main unit)
Isolation Number of occupied
I/O points
Photo-coupler isolation between analog and digital circuits. (No isolation between analog channels.)
The blocks occupies either 8 input or output points. (Can be either inputs or outputs)
5.3 Defining gain and offset
Item Voltage output Current output
At shipping, the unit is adjusted to a digital range of 0 to 4000 for an analog voltage output of 0 to 10V DC. When using an FX differing voltage output except 0 to 10V DC, it is necessary to adjust the
Range of analog output
offset and gain. 0 to 10V DC, 0 to 5V DC
(External load resistance 2K to 1MΩ)
4 to 20mA (External load resistance 400Ω or less)
Digital input 12bit
Resolution
2.5mV: 10V/4000(At shipment) Change depending on the output characteristic.
4µA: (20-4)A/4000 Change depending on the output
characteristic. Integrated accuracy ± 0.1V ± 0.16mA Processing time 4ms/1 channel (synchronized to be sequence program)
Output characteristics
Analog value Digital value
10V
Analog
value
:0 to 10V :0 to 4000
at shipment
10.238V
4095
04000
Digital value
If a digital source data of greater than 12 bits is used, only the lower 12 bits will be valid. Additional (upper) bits will be ignored Use a digital value within the range from 0 to 4095. The output characteristic can be set to each of the two channels.
2N
-2DA for current or
7. ADJUSTMENT OF OFFSET AND GAIN
7.1 Change in output characteristic
At shipment, 0 to 4000 range is selected for 0 to 10V DC output. When using an FX readjust the offset and gain. The output characteristic can be set for each of the two channels. Set analog values within the range specified in the table below when changing the output characteristic.
Range of output characteristic
Analog value when digital value is 0 0 to 1V 4mA Analog value when digital valu e is 4000 5 to 10V 20mA
Resolution changes depending on the set value when the output characteristic changes accordingly. Example: Resolution becomes (5 - 0V)/4000=1.25mV at voltage output 0 to 5V/0 to 4000. Integrated accuracy does not change. (Voltage output: ± 0.1V, Current output: ± 0.16mA)
The adjustment of the offset and gain values sets a digital equivalent to the analog data. (The “POT” requires 18 revolutions to move between MIN and MAX setting.)
Voltage output Current output
FX2N-2DA
*1 The analog value increases if the volume is turned clockwise.
7.1.1 Adjustment of gain
The gain value can be set to an arbitrary digital value. However, using the maximum of 12bit resolution provides the user with a full scale analog value.
Voltage output characteristic (0 to 10V)
10V
Analog
value
7.1.2 Adjustment of offset
The offset value in the case of voltage output is 0V. The offset value in the case of current output is 4mA. However, the offset value can be minutely adjusted if necessar y. Set the following when minute adjustments are necessary.
Analogue
100mV
For instance, when a digital range of 0 to 4000 is used with the analog range of 0 to 10V, a digital value of 40 is equal to an analog output of 100mV, (40 × 10V/4000 digital points). When a digital range of 0 to 4000 is used with the analog range of 4 to 20mA, a digital value of 0 is equal to an analog output of 4mA.
1) Adjust the offset and gain respectively for CH1 and CH2.
2) Repeat offset and gain adjustments until a stable value is obtained.
3) Adjust the gain before the offset.
2N
-2DA for current or differing voltage output except 0 to 10V DC, it is necessary to
VOUT IOUT COM
04000
Digital value
Voltage output characteristic (0 to 10V) at shipment
value
040
+
V
-
Digital value
Voltmeter
FX2N-2DA
VOUT IOUT COM
Voltage output characteristic (0 to 5V)
5V
Analog
value
04000
Voltage output characteristic (0 to 5V)
Analogue
value
100mV
080
Voltage output Current output
Volum e *1
OUT2
COM2
CH1 Offset volume
CH1
OFFSET
CH1 Gain volume
POWER
CH2 Offset volume
CH1
GAIN
CH2
OFFSET
CH2
CH2
GAIN
Gain volume
Digital value
Dig ita l va lu e
Digital value
Dig ita l va lu e
A
+
Ammeter
-
VOUT1
VOUT2
IOUT1
IOUT2
COM1
COM2
CH1
OFFSET
POWER
CH1
GAIN
CH2
OFFSET
CH2
GAIN
Voltage output characteristic (4 to 20mA)
20m A
Analog
value
4mA
04000
Voltage output characteristic (4 to 20m A )
Analogue
value
4mA
0
8. PROGRAM EXAMPLE
The following program examples (8.1 and 8.2) are formula circuits. The device numbers that have been underlined can be assigned by the user during programming.
8.1 At connection to FX0N series PLC
X000
0
X001
61
[M0V D100 K4M100 ]
[M0V K2M100 K2M116 ]
[T0 K0 K16 K4M116 K1 ]
[T0 K0 K17 H0004 K1 ]
[T0 K0 K17 H0000 K1 ]
[M0V K2M108 [T0 K0 K16 K4M116 K1 ] f
[T0 K0 K17 H0002 K1 ]
[T0 K0 K17 H0000 K1 ]
[M0V D101
[M0V K2M100 K2M116 ] [T0 K0 K16 K4M116
[T0 K0 K17 H0004 K1 ]
[T0 K0 K17 H0000 K1 ]
[M0V K2M108 [T0 K0 K16 K4M116
[T0 K0 K17 H0001 K1 ] [T0 K0 K17 H0000 K1 ]
K2M116 ]
K4M100 ]
K1 ]
K2M116 ] K1 ]
Digital to analog conversion execution input of CH1 :X000 Digital to analog conversion execution input of CH2 :X001 At the same time X000 and X001 can be turned ON. D/A output data CH1:D100 (Replace with auxiliary relay M100 to M131. Assign these numbers only once) D/A output data CH2:D101 (Replace with auxiliary relay M100 to M131. Assign these numbers only once)
Processing time: 4ms / 1 channel
(Time until FX
2N
-2DA outputs analog value after turning on X000 and X001.)
8.2 At connection to FX1N, FX2N or FX2N series PLC
X000
0
X001
51
Digital to analog conversion execution input of CH1 :X000 Digital to analog conversion execution input of CH2 :X001 At the same time X000 and X001 can be turned ON. D/A output data CH1:D100 (Replace with auxiliary relay M100 to M115. Assign these numbers only once) D/A output data CH2 :D101 (Replace with auxiliary relay M100 to M115. Assign these numbers only once)
Processing time:4ms / 1 channel
(Time until FX
[M0 V D 10 0 [T0 K0 K 16 K2 M10 0 K 1 ] [T0 K0 K17 H0004 K1 ] [T0 K0 K17 H0000 K1 ] [T0 K0 K 16 K1 M10 8 K 1 ] [T0 K0 K17 H0002 K1 ] [T0 K0 K17 H0000 K1 ]
[M0 V D 10 1 [T0 K0 K 16 K2 M10 0 [T0 K0 K17 H0004 K1 ] [T0 K0 K17 H0000 K1 ] [T0 K0 K 16 K1 M10 8 [T0 K0 K17 H0001 K1 ] [T0 K0 K17 H0000 K1 ]
2N
-2DA outputs analog value after turning on X000 and X001.)
K4M1 00 ]
K4M1 00 ]
K1 ]
K1 ]
a)Digital data (D100) is progressed to
a
supplementary relay (M100-M115).
b
b)The lower 8 bit data is moved.
c
c)The lower 8 bit data is written to the
2N
FX
-2DA.
d
d)The lower 8 bit data is held. e)The higher 4 bit data is moved.
e
f) The higher 4 bit data is written to the
2N
FX
-2DA.
g)The D/A conversion of CH1 is
g
executed.
h)Digital data (D101) is progressed to
h
supplementary relay (M100-M115).
i
i) The lower 8 bit data is moved.
j
j) The lower 8 bit data is written to the
2N
FX
k
-2DA.
k)The lower 8 bit data is held.
l
l) The higher 4 bit data is moved. m)The higher 4 bit data is written to the
m
2N
FX
-2DA.
n)The D/A conversion of CH2 is
n
executed.
a)Digital data (D100) is progressed to
a
supplementary relay (M100-M115).
b
b)The lower 8 bit data is written to the
2N
FX
c
d
e
-2DA. c)The lower 8 bit data is held. d)The higher 4 bit data is written to
2N
the FX
-2DA.
e )The D/A conversion of CH1 is
executed.
f) Digital data (D101) is progressed to
f
supplementary relay (M100-M115).
g
g)The lower 8 bit data is written to the
2N
FX
h
i
j
-2DA. h)The lower 8 bit data is held. i) The higher 4 bit data is written to
2N
the FX
-2DA.
j) The D/A conversion of CH2 is
executed.
9. NOTES IN DRIVE
1) Confirm whether the output wiring of FX2N-2DA and the connection of the extension cable are correctly done.
2) Confirm whether the "4. Connection with programmable controller" condition is satisfied.
3) When shipped from the factory, the output characteristic is adjusted to 0 to 10V DC. If a different output characteristic is desired, please adjust as required.
4) The mixture use for the voltage output/the current output is possible.
10. ERROR CHECK
Confirm the following items when it seems that the FX2N-2DA does not operate correctly.
1) Confirm the state of POWER LED. Lit :The extension cable is correctly connected. Turn off or blinks :Confirm the proper connection of the extension cable.
2) Confirm external wiring per section “3. WIRING”
3) Confirm whether the load resistance of the conne cted equipment corresponds t o the specification of
4) Confirm the Volt age and Current Output values with a voltmeter and an ammeter. Confirm the digital
2N
the FX
-2DA.
to analog conversion from the out put characteristic. Readjust the offset an d gain per "7. ADJUSTMENT OF OFFSET AND GAI N". The out put character istic when s hipped from the factory is 0 to 10V DC.
Guidelines for the safety of the user and protection of the FX2N-2DA SPECIAL FUNCTION BLOCK
This manual has been written to be used by trained and competent personnel. This is defined
by the European directives for machinery, low voltage and EMC.
2N
If in doubt at any stage during the installation of the FX
-2DA alway s consult a professional electrical engineer who is qualified and trained to the local and national standards. If in doubt about the operation or use of the FX
2N
-2DA please consult the nearest Mitsubishi Electric
distributor.
Under no circumstances will Mitsubishi Electric be liable or responsible for any consequential damage that may arise as a result of the installation or use of this equipment.
All examples and diagrams shown in this manual are intended only as an aid to understanding the text, not to guarantee operation. Mitsubishi Electric will acc ept no responsibility for actual use of the product based on these illustrative examples.
Owing to the very great variety in possible application of this equipment, you mus t satisfy yourself as to its suitability for your specific application.
Manual number: JY992D74901 Manual revision: D Date : SEPTEMBER 2002
8.3 Connection to FX2N (V3.00 or later) or FX2N (V3.00 or later) series PLC
Please use FNC 177 (WR3A). Refer to FX series Programming Manual ΙΙ.
JY992D74901D
HEAD OFFICE : MITSUBISHI DENKI BLDG MARUNOUTI TOKYO 100-8310 TELEX : J24532 CABLE MELCO TOKYO HIMEJI WORKS : 840, CHIYODA CHO, HIMEJI, JAPAN
Effective Sep. 2002 Specifications are subject to
change without notice
Loading...