Wiki source code of LX3V-2WT

Version 8.1 by Stone Wu on 2022/09/14 17:08

Hide last authors
Stone Wu 3.1 1 = **1 Operating principle** =
Leo Wei 1.1 2
Stone Wu 6.2 3 When a metal material is subjected to tension, the metal material becomes thinner and the electrical impedance increases; conversely, when it is compressed, the metal impedance becomes smaller, and the strain gauge made by this method is called a weighing module. This type of sensing device can transform the pressure of physical phenomena into electrical signal output, so it is often used in load, tension and pressure conversion applications.
Leo Wei 1.1 4
5 = **2 Introduction** =
6
Stone Wu 3.1 7 1. WECON LX3V-2WT expansion module’s resolution is 24-bit. The module can be used for reading signals from 4- or 6- wire configuration; The response speed can be adjusted to meet customer needs, easily meeting the full range of needs in the current load application market.
8 1. To ensure proper installation and operation of this product, please read the instruction manual carefully before using the module. This manual is intended only as an operating guide and introductory reference for the LX3V-2WT.
Stone Wu 6.2 9 1. The LX3V-2WT weighing module can read and write data with the instruction FROM/TO  through LX3V or LX5V
Leo Wei 1.1 10
Stone Wu 8.1 11 (% class="box infomessage" %)
12 (((
Stone Wu 3.1 13 **✎Note:** Disconnect power before installing/removing modules or wiring the modules to avoid contact or product damage.
Stone Wu 8.1 14 )))
Leo Wei 1.1 15
Stone Wu 3.1 16 == **Specification** ==
Leo Wei 1.1 17
Stone Wu 8.1 18 |=(% scope="row" style="width: 254px;" %)**Item**|=(% style="width: 821px;" %)**Description**
19 |=(% style="width: 254px;" %)Channel|(% style="width:821px" %)Dual channel
20 |=(% style="width: 254px;" %)A/D converter|(% style="width:821px" %)24 bit Δˉ∑ A/D
21 |=(% style="width: 254px;" %)Resolution|(% style="width:821px" %)24 bit (signed)
22 |=(% style="width: 254px;" %)Speed|(% style="width:821px" %)7.5/10/25/50/60/150/300Hz available
23 |=(% style="width: 254px;" %)Polarity|(% style="width:821px" %)Unipolar and bipolar
24 |=(% style="width: 254px;" %)Non-linearity|(% style="width:821px" %)≤0.01% full scale(25^^o^^C)
25 |=(% style="width: 254px;" %)Zero drift|(% style="width:821px" %)≤0.2μV/^^ o^^C
26 |=(% style="width: 254px;" %)Gain drift|(% style="width:821px" %)≤10ppm/^^ o^^C
27 |=(% style="width: 254px;" %)Excitation voltage/ load|(% style="width:821px" %)Dual 5V, single load impedance not less than 200 Ω
28 |=(% style="width: 254px;" %)Sensor sensitivity|(% style="width:821px" %)1mV/V to 15mV/V
29 |=(% style="width: 254px;" %)Isolation|(% style="width:821px" %)Transformer (power supply) and the optical coupler (signal)
30 |=(% style="width: 254px;" %)Indicator light|(% style="width:821px" %)Module power supply (24V) light, module internal data communication light (COM), communication indicator between PLC and module (LINK), channel indicator light and channel calibration light
31 |=(% style="width: 254px;" %)Power supply|(% style="width:821px" %)24V±20% 2VA
32 |=(% style="width: 254px;" %)Operating temperature|(% style="width:821px" %)0 to 60^^ o^^C
33 |=(% style="width: 254px;" %)Storage temperature|(% style="width:821px" %)-20 to 80^^ o^^C
34 |=(% style="width: 254px;" %)Dimension|(% style="width:821px" %)90(L)x58(W)x80(H) mm
Leo Wei 1.1 35
Stone Wu 3.1 36 == **Valid bits** ==
Leo Wei 1.1 37
Stone Wu 3.1 38 Refer to sampling frequency in BFM description, Chapter 5 of this manual.
39
Leo Wei 1.1 40 = **3 Dimensions** =
41
Stone Wu 8.1 42 == Dimensions ==
Leo Wei 1.1 43
Stone Wu 8.1 44 [[image:图片1.jpg||height="358" width="301" class="img-thumbnail"]] [[image:图片2.jpg||height="365" width="351" class="img-thumbnail"]]
Leo Wei 1.1 45
Stone Wu 3.1 46 (% style="text-align:center" %)
Stone Wu 8.1 47 [[image:图片3.jpg||height="593" width="684" class="img-thumbnail"]]
Leo Wei 1.1 48
Stone Wu 3.1 49 1. Extension cable
50 1. COM light: Module internal data communication indicator
51 1. 24V light: Always on when connected to external 24V power supply
Stone Wu 8.1 52 1. WT light: Channel input/output indicator; WE light: Channel calibration indicator
Stone Wu 3.1 53 1. LINK: Communication indicator between PLC and module (LINK)
54 1. Expansion module name
55 1. Expansion module interface
56 1. DIN rail mounting clip
57 1. Hook for DIN rail
58 1. Holes for direct mounting: 2 places (φ4.5)
Leo Wei 1.1 59
Stone Wu 8.1 60 |=(% scope="row" style="width: 107px;" %)**Name**|=(% style="width: 374px;" %)**Description**|=(% style="width: 146px;" %)**Light status**|=(% style="width: 449px;" %)**Event status**
61 |(% rowspan="3" style="width:107px" %)(((
Stone Wu 3.1 62
Leo Wei 1.1 63
Stone Wu 3.1 64 LINK light
Stone Wu 8.1 65 )))|(% rowspan="3" style="width:374px" %)Communication indicator between PLC and module|(% style="width:146px" %)Light flashes|(% style="width:449px" %)Data is interacting normally (communication is normal)
66 |(% style="width:146px" %)Lights off|(% style="width:449px" %)Data interaction is abnormal, stopped or failed
67 |(% style="width:146px" %)Always ON|(% style="width:449px" %)Abnormal software operation or hardware failure
68 |(% rowspan="3" style="width:107px" %)(((
Stone Wu 3.1 69
Leo Wei 1.1 70
Stone Wu 3.1 71 COM light
Stone Wu 8.1 72 )))|(% rowspan="3" style="width:374px" %)Module internal data communication indicator|(% style="width:146px" %)Light flashes|(% style="width:449px" %)Data is interacting normally (communication is normal)
73 |(% style="width:146px" %)Lights off|(% style="width:449px" %)Data interaction is abnormal, stopped or failed
74 |(% style="width:146px" %)Always ON|(% style="width:449px" %)Abnormal software operation or hardware failure
75 |(% rowspan="3" style="width:107px" %)(((
Stone Wu 3.1 76
Leo Wei 1.1 77
Stone Wu 3.1 78 WT light
Stone Wu 8.1 79 )))|(% rowspan="3" style="width:374px" %)Channel output/input indicator|(% style="width:146px" %)Light flashes|(% style="width:449px" %)Analog input is out of range
80 |(% style="width:146px" %)Always ON|(% style="width:449px" %)Analog input is within the range
81 |(% style="width:146px" %)Lights off|(% style="width:449px" %)Channel closed
82 |(% rowspan="2" style="width:107px" %)WE light|(% rowspan="2" style="width:374px" %)Calibration indicator for the channel|(% style="width:146px" %)Lights off|(% style="width:449px" %)Calibration succeeded
83 |(% style="width:146px" %)Always ON|(% style="width:449px" %)Calibration failed or not calibrated
Leo Wei 1.1 84
Stone Wu 6.5 85 == **Use of blade terminals** ==
Leo Wei 1.1 86
Stone Wu 6.5 87 (% style="text-align:center" %)
Stone Wu 8.1 88 [[image:image-20220705162505-2.jpeg||height="218" width="375" class="img-thumbnail"]]
Leo Wei 1.1 89
Stone Wu 3.1 90 Use crimp terminals of the size shown in the figure. Terminal tightening torque is 0.5 to 0.8N.m. Be sure to tighten the screws so as not to cause malfunction.
Leo Wei 1.1 91
Stone Wu 3.1 92 == **Terminals** ==
Leo Wei 1.1 93
Stone Wu 8.1 94 |=**Terminal**|=**Terminal Instructions**
Stone Wu 3.1 95 |24V+|External DC24 power supply+
96 |24V-|External DC24 power supply-
97 |Ground|Ground
98 |FG1|Sensor housing
99 |E1+|First sensor 5V power +
100 |E1-|First sensor 5V power -
101 |F1+|First sensor power supply feedback +
102 |F1-|First sensor power supply feedback -
103 |S1+|First sensor signal output +
104 |S1-|First sensor signal output -
105 |E2+|Second sensor 5V power +
106 |E2-|Second sensor 5V power -
107 |F2+|Second sensor power supply feedback +
108 |F2-|Second sensor power supply feedback -
109 |S2+|Second sensor signal output +
110 |S2-|Second sensor signal output -
111 |FG2|Second sensor housing
112 |Other empty terminals|Empty pin, not connect any wires
Leo Wei 1.1 113
Stone Wu 3.1 114 = **4 Wiring ** =
115
Leo Wei 1.1 116 (% style="text-align:center" %)
Stone Wu 8.1 117 [[image:image-20220705162452-1.jpeg||height="508" width="740" class="img-thumbnail"]]
Leo Wei 1.1 118
Stone Wu 3.1 119 **✎Note:**
Leo Wei 1.1 120
Stone Wu 3.1 121 * Impedance of the weighing sensor is greater than 200 Ω.
122 * Sensors with 4 wires need to have E1+ and F1+ connected, E1- and F1- connected.
Leo Wei 1.1 123
Stone Wu 3.1 124 = **5 Buffer register (BFM)** =
Leo Wei 1.1 125
Stone Wu 8.1 126 == BFM list ==
Leo Wei 1.1 127
Stone Wu 8.1 128 |=(% colspan="2" %)**BFM number**|=(% rowspan="2" %)**Power-off hold**|=(% rowspan="2" %)(((
Stone Wu 3.1 129 **Read/**
Leo Wei 1.1 130
Stone Wu 3.1 131 **write**
Stone Wu 8.1 132 )))|=(% rowspan="2" style="width: 182px;" %)**Register name**|=(% rowspan="2" style="width: 75px;" %)**Default**|=(% rowspan="2" style="width: 134px;" %)**Range**|=(% rowspan="2" style="width: 466px;" %)**Illustrate**
Stone Wu 3.1 133 |**CH1**|**CH2**
Stone Wu 6.1 134 |(% colspan="2" %)#0|O|R|(% style="width:182px" %)Model type|(% style="width:75px" %)5012|(% style="width:134px" %)-|(% style="width:466px" %)System default, the model number of LX3V-2WT
135 |(% colspan="2" %)#1|O|R|(% style="width:182px" %)Software version|(% style="width:75px" %)15004|(% style="width:134px" %)-|(% style="width:466px" %)Software version number
Stone Wu 8.1 136 |#2|#42|O|R/W|(% style="width:182px" %)Unipolar/Bipolar|(% style="width:75px" %)0|(% style="width:134px" %)0 to 1|(% style="width:466px" %)(((
137 * 0: Bipolar
138 * 1: Unipolar
139 )))
Stone Wu 6.1 140 |#3|#43|O|R/W|(% style="width:182px" %)Sampling frequency|(% style="width:75px" %)1|(% style="width:134px" %)0 to 4800|(% style="width:466px" %)(((
Stone Wu 8.1 141 * 0: 7.5HZ
142 * 1: 10HZ
143 * 2: 25HZ
144 * 3: 50HZ
145 * 4: 60HZ
146 * 5: 150HZ
147 * 6: 300HZ
148 * 7: 600HZ
149 * 8: 960HZ
150 * 9: 2400HZ
151 * 10 to 4800: 10Hz to 4800Hz
Leo Wei 1.1 152 )))
Stone Wu 6.1 153 |#4|#44|X|R|(% style="width:182px" %)Status code|(% style="width:75px" %)0|(% style="width:134px" %)-|(% style="width:466px" %)For details of each status code, refer to "Buffer Register BFM Description"
154 |#5|#45|X|R|(% style="width:182px" %)Error code|(% style="width:75px" %)0|(% style="width:134px" %)—|(% style="width:466px" %)(((
Stone Wu 8.1 155 A data register that stores all error states. Each error state is determined by the corresponding bit. It is possible to generate more than two error states at the same time.
Leo Wei 1.1 156
Stone Wu 8.1 157 * 0 means normal without error
158 * 1 means there is an error state.
159 * #45: Reserved
160 * b0: Abnormal power supply
161 * b1: Hardware failure
162 * b2: CH1 conversion error
163 * b3: CH2 conversion error
164 * b4: CH1 input calibration parameter error
165 * b5: CH2 input calibration parameter error
166 * Others: Reserved
Leo Wei 1.1 167 )))
Stone Wu 6.1 168 |#6|#46|X|R/W|(% style="width:182px" %)Tare reading|(% style="width:75px" %)0|(% style="width:134px" %)0 to 1|(% style="width:466px" %)(((
Stone Wu 3.1 169 Read the current average value as the tare weight value.
Leo Wei 1.1 170
Stone Wu 8.1 171 * 0: Normal (invalid).
172 * 1: Execute tare setting, then reset to 0.
173 * Others: Invalid.
Stone Wu 3.1 174 )))
Stone Wu 6.1 175 |#7|#47|O|R/W|(% style="width:182px" %)(((
Stone Wu 3.1 176 Gross weight/ net weigh
Leo Wei 1.1 177
Stone Wu 3.1 178 display
Stone Wu 6.1 179 )))|(% style="width:75px" %)0|(% style="width:134px" %)-|(% style="width:466px" %)(((
Stone Wu 3.1 180 Choose to display the current weight as gross weight (K0) or net weight (K1).
Leo Wei 1.1 181
Stone Wu 8.1 182 * 0: display gross weight.
183 * 1: display net weight.
184 * 0xF: Channel closed
Leo Wei 1.1 185 )))
Stone Wu 6.1 186 |#8|#48|X|R/W|(% style="width:182px" %)Calibration|(% style="width:75px" %)0|(% style="width:134px" %)-|(% style="width:466px" %)(((
Stone Wu 3.1 187 The calibration is to make the module match the weight value of the load cell of the weighing module. The default value is 0.
Leo Wei 1.1 188
Stone Wu 8.1 189 * 0x0001: CHI zero instruction.
190 * 0x0002: CH1 weight base point instruction.
191 * 0x0003: CH1 no weight calibration instruction. (supported by 15004 and above)
192 * 0x0004: CH1 modify calibration parameter instruction. (supported by version 15004 and above)
Leo Wei 1.1 193
Stone Wu 3.1 194 **✎Note: **When a value is written to BFM#8 or BFM#48 using the device monitor, it is automatically reset to 0.
Leo Wei 1.1 195 )))
Stone Wu 6.1 196 |#9|#49|X|R/W|(% style="width:182px" %)Reset|(% style="width:75px" %)0|(% style="width:134px" %)0 to 3|(% style="width:466px" %)(((
Stone Wu 8.1 197 * #49: Reserved
198 * 1: Reset CH1
199 * 2: Reset CH2
200 * 3: Reset all channels
201 * Others: no action
Stone Wu 3.1 202 )))
Stone Wu 6.1 203 |#10|#50|O|R/W|(% style="width:182px" %)Filtering method|(% style="width:75px" %)0|(% style="width:134px" %)0 to 1|(% style="width:466px" %)Recalibration required after change
204 |#11|#51|O|R/W|(% style="width:182px" %)Filter strength|(% style="width:75px" %)0|(% style="width:134px" %)0 to 7|(% style="width:466px" %)Recalibration required after change
205 |#12|#52|O|R/W|(% style="width:182px" %)Zero tracking intervals|(% style="width:75px" %)0|(% style="width:134px" %)0 to 20000|(% style="width:466px" %)When the zero tracking function is enabled, the minimum interval between two consecutive zero resets. The unit is 1ms.
206 |#13|#53|O|R/W|(% style="width:182px" %)Zero tracking range|(% style="width:75px" %)0|(% style="width:134px" %)0 to 100|(% style="width:466px" %)(((
Stone Wu 8.1 207 * 0: Disable the zero tracking function
208 * Others: Set the zero tracking range (absolute value)
Stone Wu 3.1 209 )))
Stone Wu 6.1 210 |#14|#54|O|R/W|(% style="width:182px" %)Automatically reset after boot|(% style="width:75px" %)0|(% style="width:134px" %)0 to 4|(% style="width:466px" %)(((
Stone Wu 8.1 211 * 0: Disable automatic reset at startup
212 * 1: ±2%MAX
213 * 2: ±5%MAX
214 * 3: ±10%MAX
215 * 4: ±20%MAX
Stone Wu 3.1 216 )))
Stone Wu 6.1 217 |#15|#55|O|R/W|(% style="width:182px" %)Sensor sensitivity setting (inside the module)|(% style="width:75px" %)4|(% style="width:134px" %)0 to 5|(% style="width:466px" %)(((
Stone Wu 8.1 218 * 0:<1V/V
219 * 1:<125mV/V
220 * 2:<62.5mV/V
221 * 3:<31.25V/V
222 * 4:<15.625mV/V
223 * 5:<7.812mV/V
Leo Wei 1.1 224
Stone Wu 3.1 225 **✎Note:** Recalibration is required after setting. (Only supported by version 13904 and above)
Leo Wei 1.1 226 )))
Stone Wu 3.1 227 |#16|#56|(% rowspan="2" %)(((
228
Leo Wei 1.1 229
Stone Wu 3.1 230 X
231 )))|(% rowspan="2" %)(((
232
Leo Wei 1.1 233
Stone Wu 3.1 234 R
Stone Wu 6.1 235 )))|(% style="width:182px" %)Average weight L|(% style="width:75px" %)0|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 236 -2147483648 to
Leo Wei 1.1 237
Stone Wu 3.1 238 2147483647
239 )))|(% style="width:466px" %)(((
Stone Wu 8.1 240 Average weight display value (low word)
Leo Wei 1.1 241 )))
Stone Wu 6.1 242 |#17|#57|(% style="width:182px" %)Average weight H|(% style="width:75px" %)0|(% style="width:466px" %)(((
Stone Wu 8.1 243 Average weight display value (high word)
Leo Wei 1.1 244 )))
Stone Wu 6.1 245 |#18|#58|O|R/W|(% style="width:182px" %)Sliding average|(% style="width:75px" %)5|(% style="width:134px" %)1 to 50|(% style="width:466px" %)(((
Stone Wu 3.1 246 The setting range is K1 to K50, and the default value is K5.
Leo Wei 1.1 247
Stone Wu 3.1 248 When the set value exceeds the range, it is automatically changed to the critical value K1 or K50.
Leo Wei 1.1 249 )))
Stone Wu 6.1 250 |#19|#59|(% rowspan="2" %)O|R/W|(% style="width:182px" %)Tare weight value L|(% rowspan="2" style="width:75px" %)0|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 251 -2147483648 to
Leo Wei 1.1 252
Stone Wu 3.1 253 2147483647
254 )))|(% rowspan="2" style="width:466px" %)You could write or read the tare weight #7 by instruction.
Stone Wu 6.1 255 |#20|#60|R/W|(% style="width:182px" %)Tare weight value H
256 |#21|#61|O|R/W|(% style="width:182px" %)CH1 Stability check time|(% style="width:75px" %)200|(% style="width:134px" %)0 to 20000|(% style="width:466px" %)Stability check time, used in conjunction with the stability check range. Unit: ms.
257 |#22|#62|O|R/W|(% style="width:182px" %)Stability check range|(% style="width:75px" %)1|(% style="width:134px" %)1 to 100|(% style="width:466px" %)If the stability check range is set to 100 and the stability check time is set to 200ms, the value is considered to be stable if the current weight bounce range is within 100 for 200ms. In other cases, it is considered unstable, and the stability flag is displayed in BFM#4.
258 |#23|#63|(% rowspan="2" %)O|R/W|(% style="width:182px" %)(((
259 Weight value calibration L
260 )))|(% rowspan="2" style="width:75px" %)1000|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 261 -2147483648 to
Leo Wei 1.1 262
Stone Wu 3.1 263 2147483647
264 )))|(% rowspan="2" style="width:466px" %)(((
265 Input weight base point weight with calibration weight
Leo Wei 1.1 266
Stone Wu 3.1 267 Input sensor range without calibration weight
Leo Wei 1.1 268 )))
Stone Wu 6.1 269 |#24|#64|R/W|(% style="width:182px" %)(((
270 Weight value calibration H
Leo Wei 1.1 271 )))
Stone Wu 6.1 272 |#25|#65|(% rowspan="2" %)O|R/W|(% style="width:182px" %)Weight upper limit L|(% rowspan="2" style="width:75px" %)32767|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 273 -2147483648 to
Leo Wei 1.1 274
275 2147483647
Stone Wu 3.1 276 )))|(% rowspan="2" style="width:466px" %)You could set the maximum weight value. When the measured value exceeds the set value, an error code will be recorded.
Stone Wu 6.1 277 |#26|#66|R/W|(% style="width:182px" %)Weight upper limit H
278 |#27|#67|(% rowspan="2" %)O|R/W|(% style="width:182px" %)(((
279 Zero judgment check
280
281 upper limit L
282 )))|(% rowspan="2" style="width:75px" %)10|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 283 -2147483648 to
Leo Wei 1.1 284
285 2147483647
Stone Wu 3.1 286 )))|(% rowspan="4" style="width:466px" %)(((
287 Zero point judgment function:
Leo Wei 1.1 288
Stone Wu 3.1 289 You could use the zero point judgment function to know that the item has been removed from the weighing module. You could judges that the measurement value is stable and the Bit is 1, which means that the item has been removed from the weighing module, and you could perform the next step at this time. (The zero point weight Bit in the zero point judgment range is 1)
Leo Wei 1.1 290 )))
Stone Wu 6.1 291 |#28|#68|R/W|(% style="width:182px" %)Zero judgment check upper limit H
292 |#29|#69|(% rowspan="2" %)O|R/W|(% style="width:182px" %)Zero judgment check lower limit L|(% rowspan="2" style="width:75px" %)-10|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 293 -2147483648 to
Leo Wei 1.1 294
295 2147483647
296 )))
Stone Wu 6.1 297 |#30|#70|R/W|(% style="width:182px" %)Zero judgment check lower limit H
298 |#31|#71|X|R/W|(% style="width:182px" %)Additional function options|(% style="width:75px" %)0|(% style="width:134px" %)0 to 1|(% style="width:466px" %)(((
Stone Wu 8.1 299 * 0: Default value. Additional functions are not enabled
300 * 1: Enable filter reset function.
301 * Others: Reserved
Leo Wei 1.1 302 )))
Stone Wu 6.1 303 |#32|#72|X|R/W|(% style="width:182px" %)(((
Stone Wu 3.1 304 Additional functions
305
306 Parameter 1
Stone Wu 6.1 307 )))|(% style="width:75px" %)0|(% style="width:134px" %)0 to 100|(% style="width:466px" %)(((
Leo Wei 1.1 308 Enable filter reset function:
309
Stone Wu 8.1 310 * 0: The default value does not work
311 * 0 to 100: The number of sampling cycles to wait to restart filtering. The values collected during the period are accumulated and averaged as the initial value of filtering.
Leo Wei 1.1 312 )))
Stone Wu 6.1 313 |#33|#73|X|R|(% style="width:182px" %)Digital value L|(% rowspan="2" style="width:75px" %)0|(% rowspan="2" style="width:134px" %)-|(% rowspan="2" style="width:466px" %)Digital quantity collected by ADC
314 |#34|#74|X|R|(% style="width:182px" %)Digital value H
315 |#35|#75|(% rowspan="2" %)O|(% rowspan="2" %)R/W|(% rowspan="2" style="width:182px" %)Calibration parameter A|(% rowspan="2" style="width:75px" %)1|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 316 -3.402823E+38
Leo Wei 1.1 317
Stone Wu 3.1 318 to 3.402823E+38
319 )))|(% rowspan="4" style="width:466px" %)Described in CH1:
320 After modifying the calibration parameters, #8 does not write 4, it is only displayed, and not used for weight value calculation, and will not be saved when power off. After #8 is written to 4, if the parameter range is correct, write and save it for weight value calculation, # 4 error code Bit4 is set to 0. If the parameter range is wrong, no write operation is performed, and #4 error code Bit4 is set to 1.
321 |#36|#76
Stone Wu 6.1 322 |#37|#77|(% rowspan="2" %)O|(% rowspan="2" %)R/W|(% rowspan="2" style="width:182px" %)Calibration parameter B|(% rowspan="2" style="width:75px" %)0|(% rowspan="2" style="width:134px" %)(((
Stone Wu 3.1 323 -3.402823E+38
Leo Wei 1.1 324
Stone Wu 3.1 325 to 3.402823E+38
Leo Wei 1.1 326 )))
Stone Wu 3.1 327 |#38|#78
Stone Wu 6.1 328 |#39|#79|O|R/W|(% style="width:182px" %)Sensor sensitivity (specification)|(% style="width:75px" %)2000|(% style="width:134px" %)0 to 32767|(% style="width:466px" %)The default setting of 2000 means 2mV/V. For calibration without weights, you need to set the sensitivity and accuracy of the sensor. The sensitivity range is 0 to 32.767mV/V, the sensor sensitivity BFM#39 input negative value, directly convert it to 32767 and execute.
Stone Wu 3.1 329 For example: Modified to 1942 represent 1.942mV/V.
Stone Wu 6.1 330 |#40|#80|X|R/W|(% style="width:182px" %)Sensor feedback voltage L|(% style="width:75px" %)0|(% style="width:134px" %)-|(% style="width:466px" %)(((
Leo Wei 1.1 331 Write:
332
Stone Wu 8.1 333 * 0: not displayed
334 * 1: Display the current sensor feedback voltage in real time
335 * 2: Display the zero-point voltage during calibration
336 * 3: Display the voltage reading of the applied weight during calibration:
Leo Wei 1.1 337
Stone Wu 3.1 338 Displays the low bit of the voltage value. Unit: uV.
Leo Wei 1.1 339 )))
Stone Wu 6.1 340 |#41|#81|X|R|(% style="width:182px" %)(((
Stone Wu 3.1 341 Sensor feedback
Leo Wei 1.1 342
Stone Wu 3.1 343 voltage H
Stone Wu 6.1 344 )))|(% style="width:75px" %)0|(% style="width:134px" %)-|(% style="width:466px" %)Read: Displays the low bit of the voltage value. Unit: uV.
Leo Wei 1.1 345
Stone Wu 3.1 346 **✎Note:**
Leo Wei 1.1 347
Stone Wu 3.1 348 * O means retentive type.
349 * X means non-retentive type.
350 * R means readable data.
351 * W means writable data.
Leo Wei 1.1 352
Stone Wu 3.1 353 == **BFM description** ==
Leo Wei 1.1 354
Stone Wu 3.1 355 **BFM0: Module code**
Leo Wei 1.1 356
Stone Wu 3.1 357 LX3V-2WT model code: 5012
Leo Wei 1.1 358
Stone Wu 3.1 359 **BFM1: module version**
Leo Wei 1.1 360
Stone Wu 3.1 361 The software version is displayed in decimal, which is used to indicate the software version of the expansion module.
Leo Wei 1.1 362
Stone Wu 3.1 363 **BFM2: Polarity**
Leo Wei 1.1 364
365 For bipolar, the signal will go through zero while it is in changing process, but unipolar will not. The result of the conversion from analog value to digital value is signed, so for bipolar signal the value could be minus.
366
Stone Wu 3.1 367 **BFM3: Sampling frequency**
Leo Wei 1.1 368
Stone Wu 3.1 369 The frequency of input signal reading, the lower the frequency is, the more stable the value it gets, and the higher the precision is, but the lower speed gets.
Leo Wei 1.1 370
Stone Wu 8.1 371 |=(% scope="row" %)**Setting**|=**Sample frequency (HZ)**|=**Sample precision (Bits)**|=**Setting**|=**Sample frequency (HZ)**|=**Sample precision (Bits)**
372 |=0|7.5|23.5|5|150|21.5
373 |=1|10|23.5|6|300|21
374 |=2|25|23|7|600|20.5
375 |=3|50|22|8|960|20
376 |=4|60|22|9|2400|17.5
Leo Wei 1.1 377
Stone Wu 3.1 378 **BFM4: State code**
Leo Wei 1.1 379
Stone Wu 8.1 380 |=(% rowspan="2" scope="row" %)**Bit NO.**|(% colspan="2" %)**Status code**
381 |=**1**|**0**
382 |=Bit0|CH1 zero weight (no load)|CH1 is not empty
383 |=Bit1|CH2 zero weight (no load)|CH2 is not empty
384 |=Bit2|(((
Stone Wu 3.1 385 CH1 exceeds weight upper limit (overload)
386
387 **✎Note: **The upper limit weight is set by #27 and #28.
388 )))|CH1 is not overloaded
Stone Wu 8.1 389 |=Bit3|(((
Stone Wu 3.1 390 CH2 exceeds weight upper limit (overload)
391
392 **✎Note: **The upper limit weight is set by #27 and #28.
393 )))|CH2 is not overloaded
Stone Wu 8.1 394 |=Bit4|CH1 measurement value is stable|CH1 measurement value is unstable
395 |=Bit5|CH2 measurement value is stable|CH2 measurement value is unstable
396 |=Bit6|CH1 uncalibrated / calibrated error|CH1 calibrate successfully
397 |=Bit7|CH2 uncalibrated / calibrated error|CH2 calibrate successfully
398 |=(((
Stone Wu 3.1 399 Bit8
Leo Wei 1.1 400
Stone Wu 3.1 401 Bit9
Leo Wei 1.1 402 )))|(((
Stone Wu 8.1 403 * 00: no error
404 * 10: The weight of the base point of weight is too large
Leo Wei 1.1 405 )))|(((
Stone Wu 8.1 406 * 01: No-load calibration
407 * 11: Uncalibrated
Leo Wei 1.1 408 )))
Stone Wu 8.1 409 |=(((
Stone Wu 3.1 410 Bit10
Leo Wei 1.1 411
Stone Wu 3.1 412 Bit11
413 )))|(((
Stone Wu 8.1 414 * 00: no error
415 * 10: The weight of the base point of weight is too large
Stone Wu 3.1 416 )))|(((
Stone Wu 8.1 417 * 01: No-load calibration
418 * 11: Uncalibrated
Stone Wu 3.1 419 )))
Stone Wu 8.1 420 |=Bit12|(((
Stone Wu 3.1 421 CH1 exceeds the sensor range
Leo Wei 1.1 422
Stone Wu 3.1 423 **✎Note:** Determined by sensor feedback voltage
424 )))|CH1 is within the sensor range
Stone Wu 8.1 425 |=Bit14|CH1 enters the calibration without weights|CH1 has not entered the calibration without weights
426 |=Bit15|CH2 enters the calibration without weights|CH2 has not entered the calibration without weights
Leo Wei 1.1 427
Stone Wu 3.1 428 **BFM5: Error code**
Leo Wei 1.1 429
Stone Wu 8.1 430 |=**Bit NO.**|=**Content**|=**Error state**
Stone Wu 3.1 431 |Bit0|K1 (H0001)|Abnormal power supply
432 |Bit1|K2 (H0002)|Hardware fault
433 |Bit2|K4 (H0004)|CH1 conversion error
434 |Bit3|K8 (H0008)|CH2 conversion error
435 |Bit4|K16 (H0010)|CH1 write calibration parameter error
436 |Bit5|K32 (H0020)|CH2 write calibration parameter error
437 |Others|(% colspan="2" %)Reserved
438 |BFM#45|(% colspan="2" %)Reserved
Stone Wu 8.1 439 (% class="info" %)|(% colspan="3" %)(((
Stone Wu 3.1 440 **✎Note:** A data register that stores all error states. Each error state is determined by the corresponding bit. It is possible to generate more than two error states at the same time. 0 means normal without error; 1 means there is an error state.
441 )))
Leo Wei 1.1 442
Stone Wu 3.1 443 **Tare setting: **CH1-BFM6, CH2-BFM46
Leo Wei 1.1 444
Stone Wu 3.1 445 Writing 1 to CH1-BFM6/CH2-BFM46 is valid; After execution, reset to 0. Select the current weight value (BFM16-17) as the weight value for the tare weight (BFM19-20). Takes CH1 as an example.
Leo Wei 1.1 446
Stone Wu 3.1 447 The current weight value is 100, after tare setting:
Leo Wei 1.1 448
Stone Wu 3.1 449 * If the gross weight is currently displayed (BFM7=0), the tare weight (BFM19-20) becomes 100, and the current weight is still 100;
450 * If the net weight is currently displayed (BFM7=1), the tare weight (BFM19-20) becomes the original value + the current weight value, and the current weight value becomes 0.
Leo Wei 1.1 451
Stone Wu 3.1 452 **BFM8: Weight calibration instruction**
Leo Wei 1.1 453
Stone Wu 3.1 454 Steps are as follows. (Described with CH1)
Leo Wei 1.1 455
Stone Wu 3.1 456 * Calibration with weights
457 ** Step1: Do not put any weights on the load cell.
Stone Wu 6.3 458 ** Step2: Write 0x0001 to #8.
Stone Wu 3.1 459 ** Step3: Add standard weights to the load cell.
460 ** Step4: Write the weight of the current weight on the chassis into #23.
Stone Wu 6.3 461 ** Step5: Write 0x0002 to #8.
Stone Wu 3.1 462 * Weightless calibration
463 ** Step1: Do not put any weights on the load cell.
464 ** Step2: Write the maximum range of the sensor into #23.
465 ** Step3: Write the sensor sensitivity into #39, accurate to three decimal places.
Stone Wu 6.3 466 ** Step4: Write 0x0003 to #8.
Stone Wu 3.1 467 * Modify calibration parameters:
468 ** Step1: Modify the calibration parameter values in BFM#35 to BFM#38;
Stone Wu 6.3 469 ** Step2: Write 0x0004 to #8.
Leo Wei 1.1 470
Stone Wu 8.1 471 (% class="box infomessage" %)
472 (((
Stone Wu 3.1 473 **✎Note: **When a value is written to BFM#8 or BFM#48 using the device monitor, it is automatically reset to 0.
Stone Wu 8.1 474 )))
Leo Wei 1.1 475
Stone Wu 3.1 476 **BFM11: filtering strength**
Leo Wei 1.1 477
478 The higher the filter strength is, the more stable and accurate the weight value is. But the delay time will increase accordingly, and the sensitivity will decrease.
479
Stone Wu 3.1 480 **BFM12: zero tracking interval**
Leo Wei 1.1 481
Stone Wu 3.1 482 BFM#12 is used in conjunction with BFM#13. When BFM#13 is not 0, BFM#12 indicates the interval between the current automatic weight reset and the next automatic reset to prevent continuous reset.
Leo Wei 1.1 483
Stone Wu 8.1 484 (% class="box infomessage" %)
485 (((
Stone Wu 3.1 486 **✎Note:** This function is generally used to correct sensor temperature drift.
Stone Wu 8.1 487 )))
Leo Wei 1.1 488
Stone Wu 3.1 489 **BFM13: Zero tracking range**
Leo Wei 1.1 490
Stone Wu 3.1 491 The accumulation range of zero point tracking. If the accumulation exceeds this range, the tracking will not continue.
Leo Wei 1.1 492
Stone Wu 8.1 493 |=(% scope="row" style="width: 95px;" %)**Settings**|=(% style="width: 612px;" %)**Description**|=(% style="width: 369px;" %)**Remark**
494 |(% style="width:95px" %)0|(% style="width:612px" %)Do not enable zero tracking|(% style="width:369px" %)Default
495 |(% style="width:95px" %)1 to 300|(% style="width:612px" %)When setting the zero tracking range (absolute value), tracking must be performed when the value is stable and the current weight is within the zero tracking range.|(% style="width:369px" %)(((
Stone Wu 3.1 496 If set to 10, the current weight is ±9 and the stable flag is 1, the current weight is cleared.
497 )))
Stone Wu 8.1 498 (% class="info" %)|(% colspan="3" %)**✎Note: **When the accuracy of the measured items is not high, the temperature drift has little effect, and this function is not required.
Leo Wei 1.1 499
Stone Wu 3.1 500 E.g: The setting value is 100, after the zero point drifts from the 0 position to more than ±100, the tracking will not continue. If it drifts back to within ±100, the tracking will be resumed.
Leo Wei 1.1 501
Stone Wu 3.1 502 **BFM15: Set the AD chip gain**
Leo Wei 1.1 503
Stone Wu 3.1 504 **I**t can be set according to the sensor range. After the BFM is set, it needs to be re-calibrated.
Leo Wei 1.1 505
Stone Wu 8.1 506 |=**BFM15**|=**voltage range**|=**Sensor sensitivity**
Stone Wu 3.1 507 |0|±5V|<1V/V
508 |1|±625mV|<125mV/V
509 |2|±312.5mV|<62.5mV/V
510 |3|±156.2mV|<31.25mV/V
511 |4|±78.125mV|<15.625mV/V
512 |5|±39.06mV|<7.812mV/V
Leo Wei 1.1 513
Stone Wu 3.1 514 == **Function description** ==
Leo Wei 1.1 515
Stone Wu 3.1 516 **Net weight measurement function**
Leo Wei 1.1 517
Stone Wu 3.1 518 You could choose whether the measured weight is net weight or gross weight. Net weight refers to the weight of the product itself, that is, the actual weight of the product after removing the weight of the outer packaging. The weight of the outer packaging is generally called the tare weight, and the gross weight is the total weight, which refers to net weight plus tare weight.
Leo Wei 1.1 519
Stone Wu 3.1 520 * Tare weigh:t Refers to the weight of the outer packaging.
521 * Net weight: Refers to the weight of the product itself, that is, the actual weight of the product after removing the weight of the outer packaging.
522 * Gross weight: Refers to the total weight, that is, the weight of the product itself (net weight), plus the weight of the outer packaging (tare weight)
523 * Gross weight = net weight + tare weight
Leo Wei 1.1 524
Stone Wu 3.1 525 E.g: There is a product that is 10KG, the carton it is packed in weighs 0.2KG, and the total weight is 10.2KG.
Leo Wei 1.1 526
Stone Wu 3.1 527 * Net weight=10KG
528 * Tare weight=0.2KG
529 * Gross weight=10.2KG
Leo Wei 1.1 530
Stone Wu 3.1 531 E.g: Use CH1 to measure the value to display the net weight, and CH2 to select OFF. (If the weight of the outer package is known, you can skip the step of reading the tare weight).
Leo Wei 1.1 532
Stone Wu 3.1 533 * Read the tare value
534 ** Write H0000 in BFM7;
535 ** Place the package on the CH1 weighing module;
536 ** Write H0001 in BFM6, and take the current package weight as the tare weight.
537 * Set BFM7=H0001
Leo Wei 1.1 538
Stone Wu 3.1 539 **Stability check**
Leo Wei 1.1 540
Stone Wu 3.1 541 When placing the item on the weighing module to measure the weight, the user can use the stability check function to know that the current measurement value is stable.
Leo Wei 1.1 542
Stone Wu 3.1 543 * If the variation range of the measured value is within the stable range #22 set by the user, the #4 stable bit of the measured value will be set to 1.
544 * When the variation range of the measured value exceeds the set stability range, the #4 stable bit of the measured value will be set to 0, until the stability check time #21 is within the stable range, the #4 stable bit of the measured value will be set to 1 again.
Leo Wei 1.1 545
Stone Wu 3.1 546 E.g: The stability check time is set to 200ms, and the stability check range is 10. When the change range exceeds 10, the measurement value is unstable, that is, the #4 stable bit of the measured value will be set to 0. When the beating range is within 10 within 200ms, the stable bit of the measurement value will be set to 1 again. (It is recommended that the user should judge whether the current measurement value is stable before performing control).
Leo Wei 1.1 547
Stone Wu 3.1 548 **Zero point judgment**
Leo Wei 1.1 549
Stone Wu 3.1 550 You could use the zero point judgment function to know that the item has been removed from the weighing module. You could judge that the measurement value is stable and the Bit is 1, which means that the item has been removed from the weighing module, and you could perform the next step at this time. (The zero point weight Bit in the zero point judgment range is 1).
Leo Wei 1.1 551
Stone Wu 3.1 552 **Filter function**
Leo Wei 1.1 553
Stone Wu 3.1 554 The average value is the function of summing and averaging the read values to obtain a slowing value, but the environment used will have unavoidable external force factors, which will cause the read value to have a sharp change in the surge value. The change also becomes larger. The function of filtering is not to include the sharply changing surge value in the aggregated average, and the obtained filtered average value will not be affected by the sharply changed surge value.
Leo Wei 1.1 555
556 = **6 Example** =
557
Stone Wu 3.1 558 **Current state of weight**
Leo Wei 1.1 559
560 (% style="text-align:center" %)
Stone Wu 8.1 561 [[image:image-20220622145646-14.png||height="51" width="330" class="img-thumbnail"]]
Leo Wei 1.1 562
Stone Wu 3.1 563 Read the current weighing state BFM4 and judge it by Bit state. For details, please refer to the description of BFM4 in "5.2 Buffer Register Description".
Leo Wei 1.1 564
Stone Wu 3.1 565 **Get current weight value**
Leo Wei 1.1 566
567 (% style="text-align:center" %)
Stone Wu 8.1 568 [[image:image-20220622145005-7.png||height="51" width="385" class="img-thumbnail"]]
Leo Wei 1.1 569
Stone Wu 3.1 570 Write the average weight value (BFM16) of CH1 in the weighing module into D0.
Leo Wei 1.1 571
Stone Wu 3.1 572 **Calibrating weight**
Leo Wei 1.1 573
Stone Wu 3.1 574 *In the new version, the first step can also be used for manual reset.
Leo Wei 1.1 575
Stone Wu 3.1 576 The adjustment is to make the module match the weight value of the load cell of the weighing module. The adjustment steps are as follows. Described with CH1.
Leo Wei 1.1 577
Stone Wu 3.1 578 (% style="text-align:center" %)
Stone Wu 8.1 579 [[image:image-20220705162540-3.jpeg||height="194" width="779" class="img-thumbnail"]]
Leo Wei 1.1 580
Stone Wu 3.1 581 **Tare weight and gross weight**
Leo Wei 1.1 582
583 (% style="text-align:center" %)
Stone Wu 8.1 584 [[image:image-20220705162551-4.jpeg||height="289" width="778" class="img-thumbnail"]]
Leo Wei 1.1 585
Stone Wu 3.1 586 **Filter mode setting**
Leo Wei 1.1 587
Stone Wu 3.1 588 After setting the filtering mode and filtering strength, you need to calibrate it again.
Leo Wei 1.1 589
590 (% style="text-align:center" %)
Stone Wu 8.1 591 [[image:image-20220705162602-5.jpeg||height="197" width="774" class="img-thumbnail"]]
Leo Wei 1.1 592
Stone Wu 3.1 593 **Zero tracking**
Leo Wei 1.1 594
Stone Wu 3.1 595 Zero tracking is used to reduce the temperature drift interference;
Leo Wei 1.1 596
Stone Wu 3.1 597 Set Zero Tracking Intensity to 0 to disable tracking. Set Zero Tracking Range to 0 to make it is unlimited.
Leo Wei 1.1 598
599 (% style="text-align:center" %)
Stone Wu 8.1 600 [[image:image-20220705162610-6.jpeg||class="img-thumbnail"]]
Leo Wei 1.1 601
Stone Wu 3.1 602 **Calibration without weights**
Leo Wei 1.1 603
604 Calibration without weights is performed by the zero point of the sensor and the maximum range of the sensor. The accuracy is related to the sensor specifications and depends on the sensor sensitivity (mV/V).
605
606 Example: The sensitivity of LAB-B-B sensor is 2.0±10%mV/V, and there may be a maximum error of 10%, so it is best to use a sensor with a small sensor sensitivity error to use this function.
607
608 (% style="text-align:center" %)
Stone Wu 8.1 609 [[image:image-20220705162619-7.jpeg||height="319" width="756" class="img-thumbnail"]]
Leo Wei 1.1 610
Stone Wu 3.1 611 **Modify calibration parameters**
Leo Wei 1.1 612
613 (% style="text-align:center" %)
Stone Wu 8.1 614 [[image:image-20220705162627-8.jpeg||height="291" width="761" class="img-thumbnail"]]
Leo Wei 1.1 615
Stone Wu 3.1 616 **✎Note: **BFM35, BFM36, BFM37, and BFM38 are real number (float). Real numbers need to be input when inputting. If the input exceeds the range, BFM5 will report an error in writing calibration parameters.
Leo Wei 1.1 617
Stone Wu 3.1 618 = **7 Diagnosis ** =
Leo Wei 1.1 619
Stone Wu 8.1 620 == Check ==
Leo Wei 1.1 621
622 1. Make sure all cables are connected properly;
623 1. Make sure all rules regarding LX3V expansion modules are met. Such as expansion modules other than digital inputs and outputs are no more than 8 in total. The total number of digital inputs and outputs are no greater than 256.
624 1. Make sure to select the correct operating range in application;
625 1. Make sure power supply is working properly;
626 1. LX3V CPU unit is in RUN mode;
627
Stone Wu 8.1 628 == Check errors ==
Leo Wei 1.1 629
Stone Wu 3.1 630 If the special function module LX3V-2WT does not operate normally, please check the following items.
Leo Wei 1.1 631
Stone Wu 3.1 632 * Check the status of the LINK indicator
633 ** Blink: Expansion cables are properly connected.
634 ** Otherwise: Check the connection of the extension cable.
635 * Check the status of the "24V" LED indicator (top right corner of the LX3V-2WT)
636 ** Light on LX3V-2WT is normal, and 24VDC power is normal.
637 ** Otherwise: 24V DC power supply may be faulty. If the power supply is normal then the LX3V-2WT is faulty.
638 * Check the status of the "COM" LED indicator (top right corner of the LX3V-2WT)
639 ** Blink: Numeric conversion works fine.
640 ** Otherwise: Check buffer memory #5 (error status). If any of the bits (b0, b1, b2) are ON, that's why the COM indicator is off. For details, please refer to "(6) BFM5: Error Code" in "5.2 Buffer Register (BFM) Description" in "Chapter 5" of this manual.
641 * Check the sensor, measure whether the voltage between S+ and S- is less than (5*sensor sensitivity) mv, the sensor sensitivity is found in the sensor manual used, the unit is (mv/v), if the voltage at this point is out of range, it means the sensor Deformation or wiring errors have occurred. Measure whether the voltage between F+ and F- is 5V, if not, check the sensor wiring.