advertisement
IL05003001E.pdf
2007-05-08
5011629703-A203
ELC-AN02NANN
Instruction Sheet
Digital to Analog Converter Module
WARNING
z This Instruction Sheet only provides descriptions for electrical specifications, general specifications, installation & wiring, troubleshooting and peripherals. For more information about the optional peripherals, please see ELC Application Manual. z This is an OPEN TYPE Controller. The ELC should be kept in an enclosure away from airborne dust, humidity, electric shock risk and vibration. Also, it is equipped with protective methods such as some special tools or keys to open the enclosure, so as to avoid the hazard to users and the damage to the ELC. Do NOT touch terminals when power on. z Never connect the AC main circuit power supply to any of the input/output terminals, as it will damage the ELC. Check all the wiring prior to power up. To avoid any electromagnetic noise, make sure the ELC is properly grounded . z Warning – Do not disconnect while circuit is live unless area is known to be non-hazardous. z Power, input and output (I/O) wiring must be in accordance with Class 1, Div. 2 wiring methods -
Article 501-10(B)(1) of the National Electrical Code. z Suitable for use in Class 1, Division 2, Groups A, B, C, D or Non-Hazardous locations only. z Warning – Explosion hazard - Substitution of components may impair suitability for Class 1,
Division 2. z Warning – Explosion Hazard - Do not disconnect equipment unless power has been switched off or the area is known to be Non-Hazardous.
1 INTRODUCTION
1.1 Model Explanation and Peripherals
Thank you for choosing Eaton Logic Controller (ELC) series products. The analog output module
ELC-AN02NANN can read and write analog output data by using the FROM / TO commands via ELC controllers. The analog output module receives 12-bit digital data of 2 groups from ELC and transforms it into 2 points of an analog output signal (voltage or current). There are 49 CR (Control
Register) in each module and each register is 16 bits in length.
1.2 Product Profile and Outline
60
4
3
1
2
3
M
1
C
H
M
2
C
H
7
8
EXTENSION
PORT
10
9
11
13
12
14
5 6 8
Units: mm
1. Status indicator (Power, RUN and ERROR)
3. Extension unit clip
2. Model Name
4. Input/output terminal
5. DIN rail clip 6. Mounting hole of the extension unit
7. Nameplate 8. Extension
9. DIN rail (35mm) 10. Extension port
11. RS-485 Communication port
13. DC power input
12. 2 pin removable terminal (standard accessory)
14. Power input cable (standard accessory)
Voltage output
0V ~ 10V
* 2
@
AC drive, recorder, scale valve...
Isolation wire 1
¡@
*
CH1
V+
I+
COM
FG
Current output
0mA~20mA
AC drive, recorder, scale valve...
Isolation wire 1
¡@
*
CH2
V+
I+
COM
FG terminal of power module
* 3
@
Grounding
DC24V
Class 3 Grounding
2
24+
24-
DC/DC converter
CH1
CH2
+15V
AG
-15V
Note 1: Please isolate analog output and other power wiring.
Note 2: If any terminal of loaded is too heavy that creates noise, connect capacitance with 0.1~0.47
μ F 25V.
Note 3: Please connect terminal of power module and terminal of analog output module to system earth point and make system earth point be grounding or connects to machine cover.
Warning: DO NOT wire to the No function terminal. Use Copper Conductor Only,
60/75 °C.
STANDARD SPECIFICATIONS
TWO CH. D/A MODULE VOLTAGE OUTPUT CURRENT OUTPUT
Power Supply Voltage
Analog Output Channel
Analog Output Range
24 VDC(20.4VDC~28.8VDC) (–15%~+20%)
2 channels / each module
0~10V 0~20 mA
Digital Data Range 0~4,000 0~4,000
Resolution
Output Impedance
Overall Accuracy
12 bits (1
LSB
=2.5 mV)
0.5
Ω or lower
± 0.5% of full scale at 25 ℃ (77 ℉ )
± 1% of full scale during 0~55 ℃ (32~131 ℉ )
3 ms × channels
12 bits (1
LSB
=5 μ A)
Response Time
Max. Output Current 10 mA(1K
Tolerance Carried Impedance -
Ω ~2M Ω ) -
0 ~ 500 Ω
Digital Data Format 2’s complementary of 16-bit, 11 Significant Bits
Isolation Method
It has isolation between digital area and analog area. There is no isolation among channels.
Isolation
Field to Digital Area: 500V
Field to Analog Area: 500V
Analog area to Digital Area: 500V
Field to 24VDC: 500V
Protection
Communication Mode
(RS-485)
Voltage output has short circuit protection but short circuit for a long time may cause inner wiring damage and open circuit protection.
MODBUS ASCII/RTU Mode. Communication baud rate of 4,800 / 9,600 / 19,200 /
38,400 / 57,600 / 115,200 bps. For ASCII mode, date format is 7Bits, even, 1 stop bit (7,E,1). For RTU mode, date format is 8Bits, even, 1 stop bit (8,E,1). The
RS-485 is disabled when the ELC-AN02NANN is connected in series to an ELC.
Connect to ELC through
Extension Port.
The address of the first analog extension unit that connects nearest to the ELC is
0(zero). Each module farther away will increment the module address for a range of 0 to 7. A maximum of 8 modules and they won’t count as any digital I/O points.
Max. Rated Consuming Power 24 VDC (20.4VDC~28.8VDC) (–15%~+20%), 3W, supply from external power
Noise Immunity
Grounding
Vibration/Shock Immunity
Operation/Storage
Environment
ESD(IEC 61131-2, IEC 61000-4-2): 8KV Air Discharge
EFT(IEC 61131-2, IEC 61000-4-4): Power Line: 2KV, Digital I/O: 1KV, Analog &
Communication I/O: 1KV
RS(IEC 61131-2, IEC 61000-4-3): 26MHz~1GHz, 10V/m
The diameter of the grounding wire cannot be smaller than that of terminals 24V and 0V (if numerous ELCs are used at the same time, make sure that each ELC is grounded respectively to the ground poles)
International Standard Regulations: IEC61131-2, IEC 68-2-6 (TEST Fc)/
IEC61131-2 & IEC 68-2-27 (TEST Ea)
Operation: 0 ℃ ~55 ℃ (temperature), 50~95% (humidity), pollution degree: 2;
Storage: -25 ℃ ~70 ℃ (temperature), 5~95% (humidity)
Agency Approvals
UL508
UL1604, Class1,Div2 Operating temperature code: T5
European community EMC Directive 89/336/EEC and Low Voltage Directive
73/23/EEC
3 CR (CONTROL REGISTER)
CR
No
#0
ELC-AN02NANN EXPLANATION
Parameter
Comm.
Address
Latched Register Name b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
H 4032 O R Model type System used, data length is 8 bits (b7~b0). ELC-AN02NANN model code=H 49
Output mode setting: factory setting is H0000.
Mode 0: output voltage mode (0V~10V).
Mode 1: output voltage mode (2V~10V).
Mode 2: output current mode (4mA~20mA).
Mode 3: output current mode (0mA~20mA).
Mode 4: Reserved.
#2 ~ #9 Reserved
403C X R/W CH1 out value
403D X R/W CH2 out value
The output setting range of channel CH1~CH2 is K0~K4000. Factory setting is K0 and unit is LSB.
#12~#21 Reserved
Used to set the OFFSET value of CH1~CH2. The setting range is K-2,000~K2,000.
The factory setting is K0 and unit is LSB.
#24 ~ #27 Reserved
Used to set the GAIN value of CH~CH2. The setting range is K-1,600~K8,000. The factory setting is K2,000 and unit is LSB.
#30 H 4050 X R Error status The data register to save all error status. Please refer to fault code chart for detail.
Used to set RS-485 communication address. The setting range is from 01 to 255 and the factory setting is K1.
Communication
Baud Rate setting
Used to set communication baud rate (4,800, 9,600, 19,200, 38,400, 57,600,
115,200bps). Communication format: ASCII mode is 7Bit, even bit, 1 stop bit (7 E
1). Communication format of RTU mode is 8Bit, even bit, 1 stop bit (8 E 1). b0: 4,800 bps (bit/sec). b1: 9,600 bps (bit/sec). (factory setting) b2: 19,200 bps (bit/sec). b3: 38,400 bps (bit/sec). b4: 57,600 bps (bit/sec). b5: 115,200 bps (bit/sec). b6-b13: reserved. b14: exchange low and high byte of CRC check code (only for RTU mode) b15: ASCII / RTU mode selection b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Reset to factory setting and set characteristics adjustable priority
Output latched setting, factory setting H0000.
Give CH1 setting for example:
1. When b0=0, user can set OFFSET and GAIN value of CH1 (CR#22, CR#28).
When b1=1, inhibit user to adjust OFFSET and GAIN value of CH1 (CR#22,
CR#28).
2. b1 means if characteristic register is latched. b1=0 (factory setting, latched), b1=1
(not latched).
3. When b2 is set to 1, all settings will reset to factory setting.
#34 H 4054 O R System Version It is hexadecimal to display software version. For example: H 010A means 1.0A.
O means latched. , X means not latched.
R means can read data by using FROM command or RS-485. W means can write data by using TO command or RS-485.
LSB (Least Significant Bit): 1. Voltage output: 1
LSB
=10V/4,000=2.5mV. 2. Current output: 1
LSB
=20mA/4,000=5 μ A.
Explanation:
1. The content of CR#0 is model type; user can read the data from the module to know the type of extension module.
2. CR#1 is used to set two inner channels working mode of analog output module. Every channel has four modes to set and can be set individually. For example: setting CH1 to mode 2
(b2~b0=010), CH2 to mode 1(b5~b3=001). It needs to set CR#1 to H000A. The factory setting of
CR#1 is H0000.
3. CR#2 ~ CR#9, CR#12 ~ CR#21, CR#24 ~ CR#27 Reserved.
4. CR #10 ~ CR#11 display CH1 and CH2 output signal. The valid range is K0~K4,000. Factory setting is K0 and unit is LSB.
5. R#22 ~ CR#23 adjust OFFSET value of CH1 and CH2. The factory setting is K0 and unit is LSB.
If output value equal to 0 after calculating, the adjustable range of analog output voltage or current is -2,000~+2,000.
IL05003001E.pdf
Voltage adjustable range: -5V~+5V (-2,000
LSB
~+2,000
LSB
).
Current adjustable range: -10mA~+10mA (-2,000
LSB
~+2,000
LSB
).
6. R#28 ~ CR#29 means the value of adjust GAIN value of CH1 and CH2. The factory setting is
K2,000 and unit is LSB. If output value equal to 2,000 after calculating, the adjustable range of analog output voltage or current is -1,600~+8,000.
Voltage adjustable range: -4V~+20V(-1,600
LSB
~+8,000
LSB
).
Current adjustable range: -8mA ~+40mA (-1,600
LSB
~+8,000
LSB
).
Notice that GAIN VALUE – OFFSET VALUE = +400
LSB
~+6,000
LSB
(voltage or current). When this value under this range, the resolution of the output signal will be thin and the variation of value will be larger. When this value exceeds this range, the resolution of output signal will be thick and the variation of value will be smaller.
7. CR#30 is fault code. Please refer to the following chart.
Fault Description Content b15~b8 b7 b6 b5 b4 b3 b2 b1 b0
Power Source Abnormal
Analog Value
K1(H1)
Error K2(H2)
K4(H4)
K8(H8)
K32(H20)
Error K64(H40)
K128(H80)
0 0 0 0 0 0 0 1
0 0 0 0 0 0 1 0
0 0 0 0 0 1 0 0
0 0 0 0 1 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
Note: Each fault code will have corresponding bit (b0~b7). Two or more faults may happen at the same time.
0 means normal and 1 means having fault.
8. CR#31 is used to set RS-485 communication address. The setting range is from 01 to 254. The factory setting is K1.
9. CR#32 is used to set RS-485 communication baud rate: 4,800, 9,600, 19,200, 38,400, 57,600,
115,200 bps. b0: 4,800bps. b1: 9,600bps. (factory setting) b2: 19,200bps. b3: 38,400 bps. b4:
57,600 bps. b5: 115,200 bps. b6-b13: reserved. b14: exchange low and high byte of CRC check code. (only for RTU mode) b15=0: ASCII mode. b15=1: RTU mode. Communication format:
ASCII mode is 7Bit, even bit, 1 stop bit (7,E,1). Communication format of RTU mode is 8Bit, even bit, 1 stop bit (8,E,1).
10. CR#33 is used to set the inner function priority. For example: characteristic register. Output latched function will save output setting in the inner memory before loss power.
11. CR#34 is software version of model type.
12. CR#35~ CR#48 are used for system.
13. The corresponding parameters address H4032~H4054 of CR#0~CR#34 can provide user to read/write data by RS-485. a) Communication baud rate: 4,800, 9,600, 19,200, 38,400, 57,600, 115,200 bps. b) Communication format: ASCII mode is 7Bit, even bit, 1 stop bit (7,E,1). Communication format of RTU mode is 8Bit, even bit, 1 stop bit (8,E,1). c) Function code: 03H—read data from register. 06H—write a WORD into register. 10H—write many WORDs into register.
4 ADJUST D/A CONVERSION CHARACTERISTIC CURVE
4.1 Adjust D/A Conversion Characteristic Curve
Voltage output mode:
10V
6V
5V
GAIN
2V
0
OFFSET
+2000
Bits
+4000
Mode 0 of CR#1: GAIN = 5V(2,000
LSB
),
OFFSET=0V (0
LSB
)
Mode 1 of CR#1: GAIN = 6V(2,400
LSB
),
OFFSET=2V (800
LSB
).
GAIN: Set range of voltage output value when digital input value is K2,000 should be
-4V~+20V(-1,600
LSB
~+8,000
LSB
).
OFFSET: Set range of voltage output value when digital input value is K0 should be
-5V~+5V(-2,000
LSB
~ +2,000
LSB
).
GAIN - OFFSET: Setting range: +1V~+15V (+400
LSB
~ +6,000
LSB
).
Current output mode:
20mA
12mA
10mA
GAIN
4mA
0
OFFSET
+2000
Bits
+4000
Mode 2 of CR#1: GAIN = 12mA(2,400
LSB
),
OFFSET=4mA (800
LSB
).
Mode 3 of CR#1: GAIN = 10mA(2,000
LSB
),
OFFSET=0mA (0
LSB
).
GAIN:
OFFSET:
Set range of current output when digital input value is K2,000 should be -8mA~+40mA
(-1,600
LSB
~+8,000
LSB
).
Set range of current output when digital input value is K0 should be -10mA ~+10mA
(-2,000
LSB
~+2,000
LSB
).
GAIN - OFFSET: Setting range: +2mA~+30mA (+400
LSB
~+6,000
LSB
).
The above charts are D/A conversion characteristic curve of voltage output mode and current output mode. Users can adjust conversion characteristic curve by changing OFFSET values
(CR#22~CR#23) and GAIN values (CR#28~CR#29) depend on application.
LSB(Least Significant Bit):
1. Voltage output: 1
LSB
=10V/4,000=2.5mV.
2. Current output: 1
LSB
=20mA/4,000=5 μ A.
4.2 Program Example for Adjusting D/A Conversion Characteristics Curve
Setting OFFSET value of CH1 to 0V(=K0
LSB
) and GAIN value is 2.5V(=K1,000
LSB
).
M1002
X0
TO
TO
TO
TO
K1
K1
K1
K1
K1
K33
K22
K28
H18
H0
K0
K1000
K1
K1
K1
K1
Writing H18 into CR#1 of analog output module#0. Setting CH2 to mode 3 (current output -20mA~ +20mA).
Writing H0 into CR#33 and allow CH2 to adjust characteristics.
When X0 switches from Off to On, K0
LSB
of
OFFSET value will be written to CR#22 and K1,000
LSB
of GAIN value will be written to CR#28.
5 INSTALLATION & WIRING
1. Installation of the DIN rail
The ELC can be secured to a cabinet by using the DIN rail that is 35mm high with a depth of 7.5mm.
When mounting the ELC on the DIN rail, be sure to use the end bracket to stop any side-to-side motion of the ELC, thus to reduce the chance of the wires being pulled loose. At the bottom of the
ELC is a small retaining clip. To secure the ELC to the DIN rail, place it onto the rail and gently push up the clip.
To remove it, pull down the retaining clip and gently pull the
ELC away from the DIN rail. As shown on the right:
When installing the ELC, make sure that it is installed in an enclosure with sufficient space (as shown on the right) to its surroundings so as to allow heat dissipation.
D E
L
C
D
D
D
D>50mm
2. Wiring
<1.5mm
22-16AWG
Notes:
1. Please use 22-16AWG (1.5mm) wiring (either single or multiple core) for I/O wiring terminals. The specification for the terminals is as shown on the left. ELC terminal screws should be tightened to
1.95 kg-cm (1.7 lb-in). Use Copper Conductor Only, 60/75 °C.
2. I/O signal wires or power supply should not run through the same multi-wire cable or conduit.
6 INITIAL ELC START-UP
Lamp display:
1. When power is on, POWER LED will be lit and ERROR LED will be lit for 0.5 second.
2. It is normal that POWER LED should be lit and ERROR LED should turn off. When power supply is lower than 19.5V, ERROR LED will blink continuously till the power supply is higher than
19.5V.
3. When connected to ELC in series, RUN LED on MPU will be lit and A/D LED or D/A LED should blink.
4. After receiving the first RS-485 command during controlling by RS-485, A/D LED or D/A LED should blink.
5. After converting, ERROR LED should blink if input or output exceeds upper bound or lower than lower bound.
Program example:
M1000
FROM K1 K0 D0 K1
M1013
= K4000 D100
= K4000
M1
D101
M1
CMP
INC
H49
D100
ADD
RST
D101
D100
D101 RST
TO K1
TO K1
D0
K5
M0
D101
K1 H10
K10 D100
K1
K2
END
Explanation:
1. Reading the data of model type from extension module K1 and distinguish if the data is H49
ELC-AN02NANN model type).
2. D100 will increase K1 and D101 will increase K5 every second.
3. When value of D100 and D101 attain to K4,000, they will be reset to 0.
4. If the model type is ELC-AN02NANN, M1 will be on and set the output mode: CH1 mode to 0,
CH2 mode to 2.
5. Writing output setting CR#10 and CR#11 to D100 and D101. Analog output will change with
D100 and D101 value.
6 RELATED INSTRUCTIONS EXPLANATION
API Mnemonic
78 D FROM P
Operands Function
Read CR from Module PB
Controllers
PC PA PH
PULSE 16-bit 32-bit
PB PC PA PH PB PC PA PH PB PC PA PH
Operands: m
1
: Number for special module ( m
1
=0~7) m
2
: Number of CR (Control Register) of special module
( m
2
=0~48) that will be read
D
: Location to save read data n
: Data words to read at one time ( n
=1~(49- m
2
) )
Explanations:
ELC uses this instruction to read CR data of special modules.
API Mnemonic
79 D TO P
Operands Function
Write CR to Module PB
Controllers
PC PA PH
PULSE 16-bit 32-bit
PB PC PA PH PB PC PA PH PB PC PA PH
Operands: m
1
: Number of special module (m
1
=0~7) m
2
: Number of CR (Control Register) of special module that will be written to ( m
2
=0~48) S : Data to write in CR n : number of words to write one time ( n
=1~(49- m
2
) )
Explanations:
ELC uses this instruction to write CR data of special modules.
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project