Wiki source code of LX3V-4ADI

Last modified by Wecon on 2025/09/03 21:02

Show last authors
1 = **1 Installation Instructions** =
2
3 Before installation, it is necessary to ensure that the associated equipment of the PLC host and the terminal of the BD module are reliably powered off.
4
5 This module comes with two standard terminals; please plug the terminals into the module terminals after wiring. Confirm the installation of host, module and wiring are correct and then power on.
6
7 **Caution:**
8
9 1. The input must not exceed the absolute maximum (-2mA/30mA) or cause the module to be damaged;
10 1. To install the function expansion board firmly and fix it on the PLC, poor contact may cause malfunction;
11 1. The fastening torque is 0.3-0.6N.m. Firmly screw down to prevent malfunctions;
12 1. The PLC main unit of the LX3V can only use one BD module. Don’t try to use two or more BD modules (these BD modules will not work);
13 1. When mounting module to PLC, all the lights are blinking after power ON PLC, it means this PLC can’t support it, please purchase new PLC.
14
15 **Warnings:**
16
17 Cut off the electricity before installation/disassembly of the unit or connection of wires onto the unit, to prevent electric shock or product damage.
18
19 = **2 Features of LX3V-4ADI-BD** =
20
21 1. It could use LX3V-4ADI-BD to add 4 analog input points. It is internally installed in the top of PLC, thus it is not necessary to change the PLC’s installation area.
22 1. The digital analog conversion of the LX3V-4ADI-BD module is the voltage inputs (4~~20mA), and the data of all the channels after conversion are stored inside a special digital memory, but the converted characteristics of the analog data cannot be adjusted. The allocation of the relevant channel addresses is in the following table.
23
24 (% class="table-bordered" %)
25 |**Address**|(% colspan="2" %)**Instructions**|**Address**|**Instructions**
26 |M8112|(((
27 CH1:flag of the input mode
28
29 OFF: Current input mode
30 )))|(% rowspan="4" %)ON: Disabled|D8112|Digital value of CH1
31 |M8113|(((
32 CH2: flag of the input mode
33
34 OFF: Current input mode
35 )))|D8113|Digital value of CH2
36 |M8114|(((
37 CH3: Flag of the output mode
38
39 OFF: Current input mode
40 )))|D8114|Digital value of CH3
41 |M8115|(((
42 CH4: flag of the output mode
43
44 OFF: Current input mode
45 )))|D8115|Digital value of CH4
46
47 = **3 Dimension** =
48
49 (((
50 (% class="table-bordered" %)
51 |(% colspan="4" %)**Input current ranges: 4~~20mA**
52 |Ii1+|The anode of CH1 current input|Ii3+|The anode of the CH3 current input
53 |Ii1-|The cathode of CH1 current input|Ii3-|The cathode of the CH3 current input
54 |▪|Disconnect|▪|Disconnect
55 |Ii2+|The anode of CH2 current input|Ii4+|The anode of the CH4 current input
56 |Ii2-|The cathode of CH2 current input|Ii4-|The cathode of the CH4 current input
57 )))
58
59 (% style="text-align:center" %)
60 [[image:LX3V-4ADI-BD_html_82eea61e6be702dd.png||height="352" width="400" class="img-thumbnail"]]
61
62 **LED lights indicating:**
63
64 * POW LED: Constantly ON when PLC power ON;
65 * COM LED: Lit when communicating PLC, OFF when timeout;
66 * CH1 LED: LED for CH1, constantly ON when analog signal in range, lit when analog signal out of range (4~~20mA). OFF when M8112 turns ON.
67 * CH2 LED: LED for CH2, constantly ON when analog signal in range, lit when analog signal out of range (4~~20mA). OFF when M8113 turns ON.
68 * CH3 LED: LED for CH3, constantly ON when analog signal in range, lit when analog signal out of range (4~~20mA). OFF when M8114 turns ON.
69 * CH4 LED: LED for CH4, constantly ON when analog signal in range, lit when analog signal out of range (4~~20mA). OFF when M8115 turns ON.
70
71 = **4 Specifications** =
72
73 1. **General specification:** The same as the PLC main unit.(Please refer to the attached instructions supplied with the main unit of the PLC.)
74 1. **Power specification:** Powered from inside of the programmable controller.
75 1. **Performance specifications**
76
77 (% class="table-bordered" %)
78 |**Item**|**Specification**
79 |**Power supply**|5VDC±10%, 70mA (Powered by PLC host)
80 |(% colspan="2" %)**Analog input (ADI)**
81 |**Analog input range**|DC 4~~20mA (input resistance 250KΩ). Absolute maximum input: -2mA, +30mA
82 |**Rated range**|4~~20mA: 0~~2000
83 |**The maximum display range**|-500~~2048
84 |**Resolution**|8uA[4mA ~~20mA / 2000 ]
85 |**Precision**|±0.5% of full scale (4~~20mA:±0.08mA)
86 |**AD conversion time**|One PLC scanning cycle
87 |**Input characteristics**|(((
88 (% style="text-align:center" %)
89 [[image:LX3V-4ADI-BD_html_fea94099d4907857.png||class="img-thumbnail"]]
90 )))
91 |**Insulation**|No insulation in each PLC channel
92 |**Occupied points**|None
93
94 = **5 Wire Connection** =
95
96 **Warning:**
97
98 Make sure cut off the electricity before installation/disassembly, to prevent electric shock or product damages.
99
100 **Caution:**
101
102 1. Please keep the signal cable from the high-voltage cable at lease 100mm.
103 1. The shielding wire cable shall be grounded. But their grounding point can be the same with high-voltage lines.
104 1. Never connect cable with forbidden size.
105 1. Fix the cable, so that the stress does not act on the terminal board or the cable connection area.
106 1. The screwing torque of the terminal is from 0.5 to 0.6N.m. Fasten tight to prevent malfunction.
107 1. Keep the redundant terminals empty.
108
109 == **5.1 Applicable Cables** ==
110
111 Use AWG25-16 to connect the output equipment
112
113 The maximal screwing torque is from 0.5 to 0.6N.m
114
115 The use of different types of cables might cause poor contact between the terminals. It is better to use pressed terminals.
116
117 (% class="table-bordered" %)
118 |**Line type**|**Cross sectional area(mm^^2^^)**|**End-of-pipe treatment**|(% rowspan="4" %)(((
119 (% style="text-align:center" %)
120 [[image:LX3V-4ADI-BD_html_36c77dd4cfbf8f04.gif||class="img-thumbnail"]]
121 )))
122 |AWG26|0.1288|(% rowspan="3" %)(((
123 Stranded cable: stripped jacket, rub Conductor, then connect the cable.
124
125 Single-core cable: stripped jacket, Then connect the cable.
126 )))
127 |......|......
128 |AWG16|1.309
129
130 == **5.2 Current Input Mode** ==
131
132 (% style="text-align:center" %)
133 [[image:LX3V-4ADI-BD_html_b8372ad223ba2fb.png||height="167" width="500" class="img-thumbnail"]]
134
135 = **6 Example** =
136
137 The analog value (4~~20mA) in each channel will be saved in system address (D8112, D8113). It will be saved automatically when “END”, and convert into digital value. Use CH1 and CH2 as example.
138
139 == **6.1 Basic program** ==
140
141 **Caution:**
142
143 1. Trigger M8122 and M8113, and set the characteristic of conversion in CH1 and CH2.
144 1. Do not change the value of D8112 and D8113.
145 1. Do not change the digital value of the D8112 or D8113 by operating the user program, programming tool, or graphical operator terminal after ADI performs A/D conversion.
146
147 (((
148 Set channel 1 as current input (4~~20mA)
149
150 Set channel 2 as current input (4~~20mA)
151
152 Save the value of channel 1 to D0
153
154 Save the value of channel 2 to D2
155
156 (% style="text-align:center" %)
157 [[image:LX3V-4ADI-BD_html_445a5365d02a6de6.png||height="173" width="400" class="img-thumbnail"]]
158 )))
159
160 * If the digital value is not stored in D0 or D2, D8112 and D8113, D8114 and D8115 can be used directly for both the set point and other instructions.
161
162 For example timer \ counter.
163
164 == **6.2 Application example** ==
165
166 LX3V-4ADI-BD has no offset and gain function.
167
168 **Caution:**
169
170 1. There are extra program for multiplication and division, so the real accuracy and resolution of AD conversion are different from product specifications;
171 1. The range for analog output is constant;
172
173 **Current input mode**
174
175 In current input mode, it changes the analog value (4-20mA) to digital value (0-2000). If users need 4000-20000 digital range, it requires a conversion.
176
177 As following program shows, the digital value is saved in D8112 and D8113, because the digital range is changed from 0-2000 to 4000-20000, so the resolution of LX2AD2DA-BD is not 8uA.
178
179 (% style="text-align:center" %)
180 [[image:LX3V-4ADI-BD_html_bce18b5a461c3c48.png||height="200" width="700" class="img-thumbnail"]]
181
182 Suppose the user needs 4000-20000, and save in D0, so D0=8*(D8112 or D8113) +4000, the program as following shows.
183
184 (% style="text-align:center" %)
185 [[image:LX3V-4ADI-BD_html_86983320811cf591.png||height="140" width="500" class="img-thumbnail"]]