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)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -41,11 +41,9 @@ 41 41 1. If there is excessive electrical noise, connect the FG frame ground terminal with the grounded terminal on the LX3V-4AD. 42 42 1. Connect the ground terminal on the LX3V-4AD unit with the grounded terminal on the main unit. Use class 3 grounding on the main unit, if available. 43 43 44 -(% style="text-align:center" %) 45 -[[image:4-20mA 2-wire.png||height="528" width="600" class="img-thumbnail"]] 44 +**Note: when connect a 4-20ma sensor(need +24V working voltage), the wiring is as below:** 46 46 47 -(% style="text-align:center" %) 48 -[[image:4-20mA 3-wire.png||height="510" width="600" class="img-thumbnail"]] 46 +[[image:企业微信截图_16771315134574.png]] 49 49 50 50 = **4 Installation** = 51 51 ))) ... ... @@ -68,29 +68,29 @@ 68 68 69 69 **Analog Inputs** 70 70 71 -(% class="table-bordered" %)72 -|= (%scope="row" style="width: 146px;" %)|=(% style="width: 455px;" %)**Voltage Input**|=(% style="width: 475px;" %)**Current input**73 -|= (% style="width: 146px;" %)**Items**|(% colspan="2"style="width:930px"%)Either voltage or current input can be selected with your choice of input terminal. Up to four input points can be used at one time.74 -|= (% style="width: 146px;" %)**Analog input range**|(% style="width:455px" %)(((69 +(% style="margin-left:auto; margin-right:auto" %) 70 +|= |=**Voltage Input**|=**Current input** 71 +|=**Items**|(% colspan="2" %)Either voltage or current input can be selected with your choice of input terminal. Up to four input points can be used at one time. 72 +|=**Analog input range**|((( 75 75 DC -10V to +10V (input resistance: 200kΩ). 76 76 77 77 Warning: this unit may be damaged by input voltage in excess of ±15V 78 -)))|( % style="width:475px" %)(((76 +)))|((( 79 79 DC -20mA to +20mA (input resistance: 250Ω). 80 80 81 81 Warning: this unit may be damaged by input currents in excess of ±32mA. 82 82 ))) 83 -|= (% style="width: 146px;" %)**Digital output**|(% colspan="2"style="width:930px"%)(((81 +|=**Digital output**|(% colspan="2" %)((( 84 84 12-bit conversion stored in 16-bit 2’s complement form 85 85 86 -Maximum value:+2047 Minimum value:-2048 84 +Maximum value: +2047 Minimum value: -2048 87 87 ))) 88 -|= (% style="width: 146px;" %)**Analog accuracy**|(% style="width:455px" %)±1% (for the range of -10V to +10V)|(% style="width:475px" %)±1% (for the range of -20mA to +20mA)89 -|=( % style="width: 146px;" %)(((86 +|=**Analog accuracy**|±1% (for the range of -10V to +10V)|±1% (for the range of -20mA to +20mA) 87 +|=((( 90 90 **Conversion** 91 91 92 -** speed**93 -)))|(% colspan="2" s tyle="width:930px" %)15ms/channel(Normal speed),6ms/channel(Highspeed)90 +**time for each channel** 91 +)))|(% colspan="2" %)Tconv ≤10ms (High-speed), 10ms≤Tconv≤20ms (Middle speed), Tconv>20ms (Low speed) 94 94 95 95 **Analog Inputs continued...** 96 96 ... ... @@ -115,47 +115,62 @@ 115 115 116 116 **Allocation of buffer memories (BFM)** 117 117 118 -(% class="table-bordered" %)119 -|= (% scope="row" style="width: 122px;" %)**BFM**|=(% colspan="9"style="width: 954px;"%)**Description**120 -| =(% style="width: 122px;" %)*#0|(% colspan="9"style="width:954px"%)Channel initialization, default=H0000121 -| =(% style="width: 122px;" %)*#1|(% style="width:242px" %)Channel 1|(% colspan="8" rowspan="4"style="width:712px"%)(((116 +(% style="margin-left:auto; margin-right:auto" %) 117 +|=**BFM**|=(% colspan="9" %)**Description** 118 +|*#0|(% colspan="9" %)Channel initialization, default=H0000 119 +|*#1|Channel 1|(% colspan="8" rowspan="4" %)((( 122 122 Contains the number of samples (1 to 4096) to be used for an averaged result. 123 123 124 124 The default setting is 8-normal speed. High speed operation can be selected with a value of 1. 125 125 ))) 126 -|=(% style="width: 122px;" %)*#2|(% style="width:242px" %)Channel 2 127 -|=(% style="width: 122px;" %)*#3|(% style="width:242px" %)Channel 3 128 -|=(% style="width: 122px;" %)*#4|(% style="width:242px" %)Channel 4 129 -|=(% style="width: 122px;" %)#5|(% style="width:242px" %)Channel 1|(% colspan="8" rowspan="4" style="width:712px" %)These buffer memories contain the averaged input values for the number of samples entered for the channel in buffer memories #1 to #4 respectively. 130 -|=(% style="width: 122px;" %)#6|(% style="width:242px" %)Channel 2 131 -|=(% style="width: 122px;" %)#7|(% style="width:242px" %)Channel 3 132 -|=(% style="width: 122px;" %)#8|(% style="width:242px" %)Channel 4 133 -|=(% style="width: 122px;" %)#9|(% style="width:242px" %)Channel 1|(% colspan="8" rowspan="4" style="width:712px" %)These buffer memories contain the present value currently being read by each input channel. 134 -|=(% style="width: 122px;" %)#10|(% style="width:242px" %)Channel 2 135 -|=(% style="width: 122px;" %)#11|(% style="width:242px" %)Channel 3 136 -|=(% style="width: 122px;" %)#12|(% style="width:242px" %)Channel 4 137 -|=(% style="width: 122px;" %)#13-#14|(% colspan="9" style="width:954px" %)Reserved 138 -|=(% rowspan="2" style="width: 122px;" %)#15|(% rowspan="2" style="width:242px" %)Selection of A/D conversion speed please refer to note 2|(% colspan="8" style="width:712px" %)When set to 0, a normal speed is selected of 15m/s.ch (default) 139 -|=(% colspan="8" style="width: 712px;" %)When set to 1, a high speed is selected of 6m/s.ch 140 -|=(% style="width: 122px;" %)#16-#19|(% colspan="9" style="width:954px" %)Reserved 141 -|=(% style="width: 122px;" %)*#20|(% colspan="9" style="width:954px" %)Reset to Defaults and Preset. Default = 0 142 -|=(% style="width: 122px;" %)*#21|(% colspan="9" style="width:954px" %)((( 124 +|*#2|Channel 2 125 +|*#3|Channel 3 126 +|*#4|Channel 4 127 +|#5|Channel 1|(% colspan="8" rowspan="4" %)These buffer memories contain the averaged input values for the number of samples entered for the channel in buffer memories #1 to #4 respectively. 128 +|#6|Channel 2 129 +|#7|Channel 3 130 +|#8|Channel 4 131 +|#9|Channel 1|(% colspan="8" rowspan="4" %)These buffer memories contain the present value currently being read by each input channel. 132 +|#10|Channel 2 133 +|#11|Channel 3 134 +|#12|Channel 4 135 +|#13-#14|(% colspan="9" %)Reserved 136 +|(% rowspan="10" %)#15|(% rowspan="10" %)((( 137 +Selection of A/D conversion speed 138 + 139 +Please refer to note 2 140 +)))|(% colspan="4" %)Set value|(% colspan="4" %)((( 141 +Conversion time 142 + 143 +(Unit: ms/channel) 144 +))) 145 +|(% colspan="4" %)0 (Default)|(% colspan="4" %)15 146 +|(% colspan="4" %)1|(% colspan="4" %)6 147 +|(% colspan="4" %)10|(% colspan="4" %)3 148 +|(% colspan="4" %)11|(% colspan="4" %)4.5 149 +|(% colspan="4" %)12|(% colspan="4" %)7 150 +|(% colspan="4" %)13|(% colspan="4" %)12.5 151 +|(% colspan="4" %)14|(% colspan="4" %)23.5 152 +|(% colspan="4" %)15|(% colspan="4" %)45.5 153 +|(% colspan="4" %)16|(% colspan="4" %)101 154 +|#16-#19|(% colspan="9" %)Reserved 155 +|*#20|(% colspan="9" %)Reset to Defaults and Preset. Default = 0 156 +|*#21|(% colspan="9" %)((( 143 143 Offset, Gain Adjust Prohibit. 144 144 145 145 Default = (0, 1) Permit 146 146 ))) 147 -|=(% rowspan="2" style="width: 122px;" %)*#22|(% rowspan="2" style="width:242px" %)Offset, Gain Adjust|(% style="width:74px" %)b7|(% style="width:80px" %)b6|(% style="width:84px" %)b5|(% style="width:94px" %)b4|(% style="width:100px" %)b3|(% style="width:107px" %)b2|(% style="width:120px" %)b1|b0 148 -|=(% style="width: 74px;" %)G4|(% style="width:80px" %)O4|(% style="width:84px" %)G3|(% style="width:94px" %)O3|(% style="width:100px" %)G2|(% style="width:107px" %)O2|(% style="width:120px" %)G1|O1 149 -|=(% style="width: 122px;" %)*#23|(% colspan="9" style="width:954px" %)Offset Value Default = 0 150 -|=(% style="width: 122px;" %)*#24|(% colspan="9" style="width:954px" %)Gain Value Default = 5,000 151 -|=(% style="width: 122px;" %)#25-#28|(% colspan="9" style="width:954px" %)Reserved 152 -|=(% style="width: 122px;" %)#29|(% colspan="9" style="width:954px" %)Error status 153 -|=(% style="width: 122px;" %)#30|(% colspan="9" style="width:954px" %)((( 161 +|*#22|Offset, Gain Adjust|G4|04|G3|03|G2|01|G1|01 162 +|*#23|(% colspan="9" %)Offset Value Default = 0 163 +|*#24|(% colspan="9" %)Gain Value Default = 5,000 164 +|#25-#28|(% colspan="9" %)Reserved 165 +|#29|(% colspan="9" %)Error status 166 +|#30|(% colspan="9" %)((( 154 154 Identification code K2010 (12-bit resolution) 155 155 156 156 Identification code K2011 (16-bit resolution) 157 157 ))) 158 -| =(% style="width: 122px;" %)#31|(% colspan="9"style="width:954px"%)Hardware version171 +|#31|(% colspan="9" %)Hardware version 159 159 160 160 * In buffer memory locations (BFM’s) marked with an “*” data can be written from the PC using the TO command. 161 161 * For buffer memories (BFM’s) without “*”mark, data can be read to the PC using the FROM command. ... ... @@ -190,14 +190,15 @@ 190 190 191 191 **Analog to Digital Conversion Speed Change** 192 192 193 -By writing 0 or 1 into BFM speedat which A/D conversion is performed can be changed.206 +By writing 0, 1 or decimal numbers between 10-16 into BFM#15 of the LX3V-4AD, the time at which A/D conversion is performed can be changed. 194 194 195 -However the following points should be noted: To maintain a high speed conversion rate, use the FROM/TO commands as seldom as possible.208 +However, the following points should be noted: 196 196 197 -**✎Note: ** 210 +1. To maintain a high-speed conversion, please use the FROM/TO commands as seldom as possible. 211 +1. When a conversion speed change occurs, BFM #1-#4 are set to their default values immediately after the change. Please be careful if an A/D time conversion will be part of the normal program execution. 212 +1. High-speed time conversion is usually used with BFM#1-#4. 213 +1. BFM#15 is configurated with the corresponding conversion time of 10-16, only supported by software version 20000 or above. 198 198 199 -* When a conversion speed change is made, BFM #1-#4 are set to their default values immediately after the change. This is regardless of the values they held originally. Bear this in mind if a speed change will be made as part of the normal program execution. 200 - 201 201 **Adjusting Gain and Offset values** 202 202 203 203 **Formula for Gain/Offset: Digital output= (Analog input-Offset)*Constant/ (Gain-Offset)** ... ... @@ -205,7 +205,15 @@ 205 205 * When buffer memory BFM #20 is activated by setting it to K1, all settings within the analog special function block are reset to their default settings. This is a very quick method to erase any undesired gain and offset adjustments. 206 206 * If (b1, b0) of BFM #21 is set to (1, 0), gain and offset adjustments are prohibited to prevent inadvertent changes by the operator. In order to adjust the gain and offset values, bits (b1, b0) must be set to (0, 1). The default is (0, 1). 207 207 * Gain and offset values of BFM #23 and #24 are sent to non-volatile memory gain and offset registers of the specified input channels. Input channels to be adjusted are specified by the appropriate G-O (gain-offset) bits of BFM #22. 222 +* ((( 223 +Example: 208 208 225 +If bits G1 and O1 are set to 1, input channel 1 will be adjusted when BFM #22 is written to by a TO instruction. 226 +))) 227 +* Channels can be adjusted individually or together with the same gain and offset values. 228 +* Gain and offset values in BFM #23 #24 are in units of mV or µA. Due to the resolution of the unit the actual response will be in steps of 5mV or 20µA. 229 +* When gain is less than or equal to offset, error will be adjusted. Gain and offset will not change. Error status will be given at BFM#29 b1. B4-b7 will give a specific channel offset/gain error. 230 + 209 209 Example: 210 210 211 211 If bits G1 and O1 are set to 1, input channel 1 will be adjusted when BFM #22 is written to by a TO instruction. ... ... @@ -215,17 +215,21 @@ 215 215 216 216 **Status Information BFM #29** 217 217 218 -(% class="table-bordered" %) 219 -|=(% scope="row" style="width: 209px;" %)**Bit devices of BFM #29**|=(% style="width: 564px;" %)**ON**|=(% style="width: 303px;" %)**OFF** 220 -|=(% style="width: 209px;" %)b0: Error|(% style="width:564px" %)When any of b1 to b4 is ON. If any of b2 to b4 is ON, A/D conversion of all the channels is stopped|(% style="width:303px" %)No error 221 -|=(% style="width: 209px;" %)b1: Offset/gain error|(% style="width:564px" %)Offset/Gain data in EEPROM is corrupted or adjustment error.|(% style="width:303px" %)Offset/Gain data normal 222 -|=(% style="width: 209px;" %)b2: Power source abnormality|(% style="width:564px" %)24V DC power supply failure|(% style="width:303px" %)Power supply normal 223 -|=(% style="width: 209px;" %)b3: Hardware error|(% style="width:564px" %)A/D converter or other hardware failure|(% style="width:303px" %)Hardware normal 224 -|=(% style="width: 209px;" %)b10: Digital range error|(% style="width:564px" %)Digital output value is less than -2048 or more than +2047|(% style="width:303px" %)Averaging is normal. (between 1 and 4096) 225 -|=(% style="width: 209px;" %)b11: Averaging error|(% style="width:564px" %)Number of averaging samples is 4097 or more or 0 or less (default of 8 will be used)|(% style="width:303px" %)Averaging is normal. (between 1 and 4096) 226 -|=(% style="width: 209px;" %)b12: Adjust prohibit|(% style="width:564px" %)Prohibit-(b1, b0) of BFM #21 is set to (1, 0)|(% style="width:303px" %)Permit-(b1, b0) of BFM #21 is set to (0,1) 240 +(% style="margin-left:auto; margin-right:auto" %) 241 +|=**Bit devices of BFM #29**|=**ON**|=**OFF** 242 +|b0: Error|When any of b1 to b4 is ON. If any of b2 to b4 is ON, A/D conversion of all the channels is stopped|No error 243 +|b1: Offset/gain error|Offset/Gain data in EEPROM is corrupted or adjustment error.|Offset/Gain data normal 244 +|b2: Power source abnormality|24V DC power supply failure|Power supply normal 245 +|b3: Hardware error|A/D converter or other hardware failure|Hardware normal 246 +|b4: Channel 1 offset/gain error|(% rowspan="4" %)When channel offset/gain error is modified, the corresponding position is ON.|(% rowspan="4" %)Offset/Gain adjustment normal 247 +|b5: Channel 2 offset/gain error 248 +|b6: Channel 3 offset/gain error 249 +|b7: Channel 4 offset/gain error 250 +|b10: Digital range error|Digital output value is less than -2048 or more than +2047|Averaging is normal. (Between 1 and 4096) 251 +|b11: Averaging error|Number of averaging samples is 4097 or more or 0 or less (default of 8 will be used)|Averaging is normal. (Between 1 and 4096) 252 +|b12: Adjust prohibit|Prohibit-(b1, b0) of BFM #21 is set to (1, 0)|Permit-(b1, b0) of BFM #21 is set to (0,1) 227 227 228 -**✎Note: **b 4 to b7, b9 and b13 to b15 are undefined.254 +**✎Note: **b8, b9 and b13 to b15 are undefined. 229 229 230 230 **Identification Code BFM #30** 231 231 ... ... @@ -260,7 +260,7 @@ 260 260 261 261 Offset and gain can be set independently or together. Reasonable offset ranges are -5 to +5V or -20mA to 20mA, and gain values 1V to 15V or 4mA to 32mA. Gain and offset can be adjusted by software in the LX3V main unit (please refer to program example 2). 262 262 263 -* Bit device’s b1, b 2of the gain/offset BFM #21 should be set to 0, 1 to allow adjustment.289 +* Bit device’s b1, b0 of the gain/offset BFM #21 should be set to 0, 1 to allow adjustment. 264 264 * Once adjustment is complete these bit devices should be set to 1, 0 to prohibit any further changes. 265 265 * Channel initialization (BFM #0) should be set to the nearest range, i. e. voltage/current etc. 266 266 ... ... @@ -309,8 +309,18 @@ 309 309 Adjustment ends. 310 310 311 311 (K2)-> BFM#21. BFM#21 gain/offset adjust prohibit 338 + 339 +**High-speed conversion by changing A/D conversion time in a program** 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]]** 312 312 ))) 313 313 344 +Writing K10 to BFM#15 and set conversion time of all channels as 3ms. 345 + 346 +Writing 1 to BFM#1 and set Channel 1 sample count to 1 to Channel 1 high-speed conversion. 347 + 348 += = 349 + 314 314 = **7 Diagnostics** = 315 315 316 316 **Preliminary checks**
- 6.3-图片1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Jim - Size
-
... ... @@ -1,0 +1,1 @@ 1 +227.5 KB - Content
- 企业微信截图_16771315134574.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Jim - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.5 KB - Content