Changes for page LX3V-4AD
Last modified by Devin Chen on 2024/11/27 15:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -170,15 +170,15 @@ 170 170 ))) 171 171 |#31|(% colspan="9" %)Hardware version 172 172 173 +(% class="box infomessage" %) 174 +((( 175 +**✎Note: ** 176 + 173 173 * In buffer memory locations (BFM’s) marked with an “*” data can be written from the PC using the TO command. 174 174 * For buffer memories (BFM’s) without “*”mark, data can be read to the PC using the FROM command. 175 175 * Before reading from the analog special function block, ensure these settings have been sent to the analog special function block. Otherwise, the previous values held in the analog block will be used. 176 176 * Offset (intercept): The analog input value when the digital output becomes 0. 177 177 * Gain (slope): The analog input value when the digital output becomes +1000. 178 - 179 -(% class="box infomessage" %) 180 -((( 181 -**✎Note: ** 182 182 ))) 183 183 184 184 **Channel Selection** ... ... @@ -294,19 +294,20 @@ 294 294 295 295 **Basic program** 296 296 297 -In the following example channels CH1 and CH2 are used as voltage inputs. The LX3V-4AD block is connected at the position of special function block No.0. Averaging is set at 4 and data registers D0 and D1 of the PC receive the averaged digital data. 297 +In the following example channels CH1 and CH2 are used as voltage inputs. The LX3V-4AD block is connected at the position of special function block No.0. Averaging is set at 4 and data registers D0 and D1 of the PC receive the averaged digital data. The FROM code for the special function block at position “0" is read from BFM #30 of that block and stored at D4 in the main unit. CMP is compared to check the block is a LX3V-4AD, if OK M1 is turned ON. 298 298 299 -(% style="text-align:center" %) 300 -[[image:LX3V-4AD_html_e3a9b9608260f138.png||height="297" width="600" class="img-thumbnail"]] 299 +[[image:LX3V-4AD_html_e3a9b9608260f138.png||height="297" style="float:left" width="600" class="img-thumbnail"]] 301 301 302 302 **✎Note: ** 303 303 304 -1. The FROM code for the special function block at position “0" is read from BFM #30 of that block and stored at D4 in the main unit. CMP is compared to check the block is a LX3V-4AD, if OK M1 is turned ON. 305 305 1. TO code: The analog input channels (CH1, CH2) are setup by writing H3300 to BFM #0 of the LX3V-4AD 306 306 1. The number of averaged samples for CH1 and CH2 is set to 4 by writing 4 to BFM #1 and #2 respectively. 307 307 1. The operational status of the LX3V-4AD is read from BFM #29 and output as bit devices at the LX3V main unit. If there are no errors in the operation of the LX3V-4AD, then the averaged data BFM’s are read. 308 308 1. In the case of this example BFM #5 and #6 are read into the LX3V main unit and stored at D0 and D1. These devices contain the averaged data for CH1 and CH2 respectively. 309 309 308 + 309 + 310 + 310 310 **Using gain and offset in a program** 311 311 312 312 The gain and offset of the LX3V-4AD can be adjusted using push-button switches on the input terminal of the PC. It can also be adjusted using software settings sent from the PC. ... ... @@ -338,7 +338,7 @@ 338 338 339 339 **High-speed conversion by changing A/D conversion time in a program** 340 340 341 -[[image:/bin/download/Expansions/1%20Module/Analog/LX3V-4AD/WebHome/6.3-%E5%9B%BE%E7%89%871.png?rev=1.1||alt="6.3-图片1.png"]]**[[image:6.3-图片1.png]]** 342 +[[image:/bin/download/Expansions/1%20Module/Analog/LX3V-4AD/WebHome/6.3-%E5%9B%BE%E7%89%871.png?rev=1.1||alt="6.3-图片1.png"]][[image:/bin/download/Expansions/1%20Module/Analog/LX3V-4AD/WebHome/6.3-%E5%9B%BE%E7%89%871.png?rev=1.1||alt="6.3-图片1.png"]]**[[image:6.3-图片1.png]]** 342 342 ))) 343 343 344 344 Writing K10 to BFM#15 and set conversion time of all channels as 3ms.