Changes for page LX5V-2RS485-BD
Last modified by Jim on 2023/05/29 16:00
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Stone1 +XWiki.Jim - Content
-
... ... @@ -26,7 +26,7 @@ 26 26 27 27 [[image:image-20220913154410-20.jpeg||class="img-thumbnail"]] 28 28 29 -PLC with large points has two card slots. (A1+, B1-) of BD board on the left side is COM3, and (A2+, B2-) is COM4. (A1+, B1-) of BDboard on the right is COM5, [A2+, B2-] is COM6.29 +PLC with large points has two card slots. (A1+, B1-) of BD module on the left side is COM3, and (A2+, B2-) is COM4. (A1+, B1-) of BD module on the right is COM5, [A2+, B2-] is COM6. 30 30 31 31 (% style="text-align:center" %) 32 32 [[image:image-20220913154442-21.jpeg||class="img-thumbnail"]] ... ... @@ -55,9 +55,9 @@ 55 55 56 56 = **4 Parameter configuration** = 57 57 58 -* Open the host computer and create a new project, double-click “Project Manager” → “Extended Function” → "BD Board Configuration" Note to enter “BD settings” interface;59 -* Select "LX5V-2RS485" in the device bar on the right side of the BD board configuration interface and double-click to add it to the corresponding slot position of PLC (slot 1 or 2, the software will select slot 1 by default. You could right-click it to move to slot 2);60 -* After adding BD board to the machine slot, double-click or right-click to select configuration parameters to enter LX5V-2RS485-BD configuration parameters interface, as shown in the following figure. Parameters such as baud rate, data bit, stop bit, check bit and station number are configured in this interface.58 +* Open the host computer and create a new project, double-click “Project Manager” → “Extended Function” → "BD Module Configuration" Note to enter “BD settings” interface; 59 +* Select "LX5V-2RS485" in the device bar on the right side of the BD module configuration interface and double-click to add it to the corresponding slot position of PLC (slot 1 or 2, the software will select slot 1 by default. You could right-click it to move to slot 2); 60 +* After adding BD module to the machine slot, double-click or right-click to select configuration parameters to enter LX5V-2RS485-BD configuration parameters interface, as shown in the following figure. Parameters such as baud rate, data bit, stop bit, check bit and station number are configured in this interface. 61 61 62 62 [[image:image-20220913154722-26.jpeg]] 63 63 ... ... @@ -288,7 +288,7 @@ 288 288 289 289 **6 Address mapping** 290 290 291 -When the BD board configures the serial port protocol as Modbus slave station protocol, the address mapping relationship accessed by the master station is as follows:291 +When the BD module configures the serial port protocol as Modbus slave station protocol, the address mapping relationship accessed by the master station is as follows: 292 292 293 293 |=(% colspan="5" %)**Word address** 294 294 |(% style="width:213px" %)**Address type**|(% style="width:212px" %)**Occupation**|(% style="width:226px" %)**Address range**|(% style="width:173px" %)**Decimal address**|(% style="width:252px" %)**Total reserved address size** ... ... @@ -329,13 +329,13 @@ 329 329 330 330 The function code of the instruction is 1, which indicates read coil, and the address H1000 in it is the starting address of “M0 to M8000" by inquiring the "bit address table", which corresponds to the address of M0. If slave stations M0 and M1 are 1, and the rest are 0, the value in D0 is H0300 (not H0003). 331 331 332 -= **7 Special devices for BD board** =332 += **7 Special devices for BD module** = 333 333 334 334 **BD1:** 335 335 336 336 |=(% scope="row" style="width: 111px;" %)**SD label**|=(% style="width: 317px;" %)**Content**|=(% style="width: 132px;" %)**SD label**|=(% style="width: 516px;" %)**Content** 337 -|=(% style="width: 111px;" %)SM2000|(% style="width:317px" %)COM3 sending control on|(% style="width:132px" %)SD2000|(% style="width:516px" %)Display 0x1062 after 485BD is recognized after power-on. 338 -|=(% style="width: 111px;" %)SM2001|(% style="width:317px" %)COM3 send control/send prompt|(% style="width:132px" %)SD2001|(% style="width:516px" %)Display 485BD version information after 485BD is recognized after power-on. 337 +|=(% style="width: 111px;" %)SM2000|(% style="width:317px" %)COM3 sending control on|(% style="width:132px" %)SD2000|(% style="width:516px" %)Display 0x1062 after 485 BD is recognized after power-on. 338 +|=(% style="width: 111px;" %)SM2001|(% style="width:317px" %)COM3 send control/send prompt|(% style="width:132px" %)SD2001|(% style="width:516px" %)Display 485BD version information after 485 BD is recognized after power-on. 339 339 |=(% style="width: 111px;" %)SM 2002|(% style="width:317px" %)COM3 reception control on|(% style="width:132px" %)SD 2002|(% style="width:516px" %)BD1 last error 340 340 |=(% style="width: 111px;" %)SM 2003|(% style="width:317px" %)COM3 accept control/receive prompt|(% style="width:132px" %)SD 2003|(% style="width:516px" %)BD1 current error 341 341 |=(% style="width: 111px;" %)SM2004|(% style="width:317px" %)COM3 communication complete flag|(% style="width:132px" %)SD2004|(% style="width:516px" %)BD1 error times ... ... @@ -348,8 +348,8 @@ 348 348 **BD2:** 349 349 350 350 |=(% scope="row" style="width: 113px;" %)**SD label**|=(% style="width: 314px;" %)**Content**|=(% style="width: 131px;" %)**SD label**|=(% style="width: 518px;" %)**Content** 351 -|=(% style="width: 113px;" %)SM2020|(% style="width:314px" %)COM5 sending control on|(% style="width:131px" %)SD2020|(% style="width:518px" %)Display 0x1062 after 485BD is recognized after power-on. 352 -|=(% style="width: 113px;" %)SM2021|(% style="width:314px" %)COM5 send control/send prompt|(% style="width:131px" %)SD2021|(% style="width:518px" %)Display 485BD version information after 485BD is recognized after power-on. 351 +|=(% style="width: 113px;" %)SM2020|(% style="width:314px" %)COM5 sending control on|(% style="width:131px" %)SD2020|(% style="width:518px" %)Display 0x1062 after 485 BD is recognized after power-on. 352 +|=(% style="width: 113px;" %)SM2021|(% style="width:314px" %)COM5 send control/send prompt|(% style="width:131px" %)SD2021|(% style="width:518px" %)Display 485 BD version information after 485 BD is recognized after power-on. 353 353 |=(% style="width: 113px;" %)SM 2022|(% style="width:314px" %)COM5 reception control on|(% style="width:131px" %)SD2022|(% style="width:518px" %)BD2 last error 354 354 |=(% style="width: 113px;" %)SM2023|(% style="width:314px" %)COM5 accept control/receive prompt|(% style="width:131px" %)SD2023|(% style="width:518px" %)BD2 current error 355 355 |=(% style="width: 113px;" %)SM2024|(% style="width:314px" %)COM5 communication complete flag|(% style="width:131px" %)SD2024|(% style="width:518px" %)BD2 error times ... ... @@ -370,7 +370,7 @@ 370 370 371 371 Configure the station number to 1 and click OK, and the download program will take effect. (Ensure that the baud rate, data bit, stop bit and parity bit configuration are consistent with the master station) 372 372 373 -== Modbus RTU m **aster station**==373 +== Modbus RTU master station == 374 374 375 375 Configure COM4 port as the Modbus RTU master station, and read the 125 word devices starting from the station address once every 100ms. 376 376 ... ... @@ -395,7 +395,7 @@ 395 395 (% style="text-align:center" %) 396 396 [[image:image-20220913154229-13.jpeg]] 397 397 398 -PLC Editor2 uses this serial port communication: PC uses USB to RS485 converter to connect with BD board at this time.398 +PLC Editor2 uses this serial port communication: PC uses USB to RS485 converter to connect with BD module at this time. 399 399 400 400 (% style="text-align:center" %) 401 401 [[image:image-20220913154229-14.jpeg]]