Changes for page LX5V-2PT2DAI

Last modified by WeconTurkey on 2024/10/16 22:58

From version 5.1
edited by Jim
on 2022/12/22 11:20
Change comment: There is no comment for this version
To version 6.1
edited by Jim
on 2022/12/22 11:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -124,7 +124,7 @@
124 124  
125 125  **✎Note:**
126 126  
127 -*
127 +*
128 128  ** Do not place signal cables near high voltage power cables or in the same trunk line. Otherwise, it may be disturbed or surged. Keep a safe distance between signal cable and power cable, at least 100mm.
129 129  ** Ground the shielding of shielded wire or shielded cable. But the ground point and high voltage line cannot be the same.
130 130  ** Do not connect cables of impermissible size to avoid poor contact or product damage.
... ... @@ -216,4 +216,121 @@
216 216  
217 217  (1) Supported host computer software versions: Wecon PLC Editor2 2.1.204 and above, as shown in the following figure:
218 218  
219 -[[image:image-20221222111611-4.png]]
219 +[[image:image-20221222112338-1.png||height="374" width="627"]]
220 +
221 +(2) Supported PLC firmware: 2.051 and above, as shown in the following figure:
222 +
223 +[[image:image-20221222112424-2.png]]
224 +
225 +(3) Supported BD board version number: 1013 and above, as shown in the following figure:
226 +
227 +[[image:image-20221222112455-3.png]]
228 +
229 +**The parameter configuration interface is as follows:**
230 +
231 +~1. Module setting: Set response time (The response time is the interval time between PLC acquisition of BD board data. Range: 0.1ms to 3276.7ms).
232 +
233 +[[image:image-20221222112604-4.png]]
234 +
235 +2. PT configuration:
236 +
237 +[[image:image-20221222112628-5.png]]
238 +
239 +* Check enable channel to set whether to enable the current BD board channel.
240 +* Sensor type: PT100 by default.
241 +* Setting the filtering intensity can reduce the jitter of BD channel value. The default configuration of filter intensity is 4. Level 0 is the lowest and level 9 is the highest. The filter intensity can be adjusted according to actual use.
242 +* Check enable overrun detection to judge that when the upper and lower limits of temperature exceed the current setting temperature, the host computer will prompt an error.
243 +* Check enable calibration, you could calculate the gain offset according to the following formula to convert the corresponding channel value:
244 +
245 + Channel value = actual temperature value × gain value + offset value
246 +
247 +When the channel value deviates from the actual temperature value, the channel can be calibrated by setting the gain offset, for example:
248 +
249 +* The input temperature of control channel is 0℃, the value of acquisition channel is 30 (unit: 0.1℃), and the actual channel value should be 0 (unit: 0.1℃).
250 +* The input temperature of control channel is 500℃, the value of acquisition channel is 5200 (unit: 0.1℃), and the actual channel value should be 5000 (unit: 0.1℃).
251 +
252 +Suppose the gain is a, and the offset is b, then[[image:image-20221222112833-6.png]][[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps9.png]][[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps7.png]][[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps9.png]]
253 +
254 +Solve and get[[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps8.png]][[image:image-20221222112858-7.png]] The calibration can be completed by setting the corresponding gain offset to the current channel.
255 +
256 +**✎Note**: **Using gain and offset calibration can only reduce the linear error. Since the PT100 resistance and temperature curve are nonlinear, there is still a certain error in partial temperature after the calibration is successful.**
257 +
258 +3. DAI configuration:
259 +
260 +[[image:image-20221222112945-8.png]]
261 +
262 +
263 +* Check enable channel to set whether to enable the current BD board channel.
264 +* The conversion mode is set to DAI conversion mode by default, and the measurement range is 4mA~~20mA (0~~2000).
265 +* Output state after stop: When PLC stops, the output state of BD board channel mainly includes the following three types:
266 +
267 +Output clear: When PLC stops, the output current of BD board channel is 4mA
268 +
269 +Output hold: When PLC stops, the channel output of the BD board maintains the digital current value set by the corresponding channel in the current I/O mapping device.
270 +
271 +Output preset value: When PLC stops, BD board channel outputs preset digital value or preset analog quantity corresponding to the current value.
272 +
273 +* Check enable calibration, you could calculate the gain offset according to the following formula to convert the corresponding channel value:
274 +
275 +Channel input digital value = actual output current corresponds to digital value × gain value + offset value
276 +
277 +* When the channel value deviates, you could also set the gain offset to calibrate the channel. For example:
278 +
279 +* When the channel input digital value is 0, the multimeter measures the output current of BD board channel to be 5mA (corresponding digital value is 125).
280 +* When the channel input digital value is 2000, the multimeter measures the output current of BD board channel to be 5mA (corresponding digital value is 1875).
281 +
282 +Suppose the gain is a, and the offset is b, then[[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps10.png]][[image:image-20221222113055-9.png]]
283 +
284 +Solve and get[[image:file:///C:\Users\ANNAXU~~1\AppData\Local\Temp\ksohtml6012\wps11.png]][[image:image-20221222113102-10.png]]The calibration can be completed by setting the corresponding gain offset to the current channel.
285 +
286 +4. Set I/O mapping. The channels are mapped to R device according to the current number of BD board channels by default. As shown in the following figure, BD board CH1 to CH4 is mapped to device R0 to R3.
287 +
288 +[[image:image-20221222113140-11.png]]
289 +
290 +5. After the above configuration is completed, check the program, download the configuration to PLC, and STOP→RUN configuration takes effect.
291 +
292 +[[image:image-20221222113208-12.png]]
293 +
294 +=== **6.2 Ladder Diagram** ===
295 +
296 +
297 +~1. Programming example that does not use the host computer software "BD board configuration" function. For device allocation, please refer to "[[5 PLC device description>>path:#_PLC软元件说明]]".
298 +
299 +[[image:image-20221222113654-15.png]]
300 +
301 +2. Programming example using "BD board configuration" function of host computer software:
302 +
303 +=== **6.3 BD monitoring interface and buffer memory** ===
304 +
305 +Open the module monitoring interface, select BD board module, select LX5V-2PT2DAI from the list of BD boards on the right to monitor it online, and check the current BD board communication status and error information in time.
306 +
307 +[[image:image-20221222113854-17.png]]
308 +
309 +① PT buffer memory (BFM): used for BD board status monitoring.
310 +
311 +(% class="table-bordered" %)
312 +|(((
313 +**BFM**
314 +
315 +**Address**
316 +)))|**Power-off hold**|**Read/write**|**Memory name**|**Default**|**Range**|**Description**
317 +|0x2000|×|R/W|Channel 1 channel enable|1|0 to 1|0: Channel closed; 1: Channel open
318 +|0x2001|×|R/W|Channel 1 sensor type|0|0|0: PT100
319 +|0x2002|×|R/W|Channel 1 filter intensity|4|0 to 9|0: Minimum filter strength; 9: Maximum filter strength
320 +|0x2080|×|R|Channel 1 channel value|32767|-32768 to 32767|Unit: 0.1℃
321 +|0x2082|×|R|Channel 1 status information|1|0 to 2|(((
322 +0: Channel closed 1: Channel opened
323 +
324 +2: Channel value exceeds the range
325 +)))
326 +|0x2084|×|R|Channel 1 error code|0|0 to 1|0: No error; 1: Channel value exceeds the range
327 +|0x2100|×|R/W|Channel 2 channel enable|1|0 to 1|0: Channel closed; 1: Channel open
328 +|0x2101|×|R/W|Channel 2 sensor type|0|0|0: PT100
329 +|0x2102|×|R/W|Channel 2 filter intensity|4|0 to 9|0: Minimum filter strength; 9: Maximum filter strength
330 +|0x2180|×|R|Channel 2 channel value|32767|-32768 to 32767|Unit: 0.1℃
331 +|0x2182|×|R|Channel 2 status information|1|0 to 2|(((
332 +0: Channel closed 1: Channel opened
333 +
334 +2: Channel value exceeds the range
335 +)))
336 +|0x2184|×|R|Channel 2 error code|0|0 to 1|0: No error; 1: Channel value exceeds the range
image-20221222112338-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +36.3 KB
Content
image-20221222112424-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +75.9 KB
Content
image-20221222112455-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +4.6 KB
Content
image-20221222112604-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +4.0 KB
Content
image-20221222112628-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +20.4 KB
Content
image-20221222112833-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +23.7 KB
Content
image-20221222112858-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +18.0 KB
Content
image-20221222112945-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +17.9 KB
Content
image-20221222113055-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +25.3 KB
Content
image-20221222113102-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +18.0 KB
Content
image-20221222113140-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +5.3 KB
Content
image-20221222113208-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +92.1 KB
Content
image-20221222113333-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +225.4 KB
Content
image-20221222113405-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +6.1 KB
Content
image-20221222113654-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +77.1 KB
Content
image-20221222113854-17.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jim
Size
... ... @@ -1,0 +1,1 @@
1 +80.2 KB
Content