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
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -L V5V-2RS485-BD1 +LX5V-2RS485-BD - Content
-
... ... @@ -172,12 +172,12 @@ 172 172 **Example:** 173 173 174 174 (% style="text-align:center" %) 175 -[[image:image-20220913154229-5.png]] 175 +[[image:image-20220913154229-5.png||class="img-thumbnail"]] 176 176 177 177 When M1 is ON, the sending and receiving data of communication after instruction execution are stored as follows: 178 178 179 179 (% style="text-align:center" %) 180 -[[image:image-20220913154229-6.jpeg]] 180 +[[image:image-20220913154229-6.jpeg||class="img-thumbnail"]] 181 181 182 182 == Modbus protocol == 183 183 ... ... @@ -186,7 +186,7 @@ 186 186 **Example:** 187 187 188 188 (% style="text-align:center" %) 189 -[[image:image-20220913154229-7.png]] 189 +[[image:image-20220913154229-7.png||class="img-thumbnail"]] 190 190 191 191 |=(% scope="row" style="width: 97px;" %)**(S)**|(% style="width:978px" %)The high byte stores the station number of the slave station, and the low byte stores the Modbus function code. 192 192 |=(% style="width: 97px;" %)**(M)**|(% style="width:978px" %)Slave station address The address provided by the slave station will read or write data from the address of slave station. ... ... @@ -318,7 +318,7 @@ 318 318 **Example 1:** Read 10 registers starting from slave station (station NO.1) D0 and store them in 10 devices starting from local D0: 319 319 320 320 (% style="text-align:center" %) 321 -[[image:image-20220913154229-8.png]] 321 +[[image:image-20220913154229-8.png||class="img-thumbnail"]] 322 322 323 323 The function code of this instruction is 3, which indicates reading register, and the address H1000 in it is the starting address of "D0 to D7999" by inquiring the "word address table", which corresponds to the address of D0. 324 324 ... ... @@ -325,7 +325,7 @@ 325 325 **Example 2:** Read 10 bit devices starting from slave station (station NO.1) M0 and store them in local D0 device (because D0 can store the value of 16 bit devices, zero padding will be performed): 326 326 327 327 (% style="text-align:center" %) 328 -[[image:image-20220913154229-9.png]] 328 +[[image:image-20220913154229-9.png||class="img-thumbnail"]] 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 ... ... @@ -333,31 +333,31 @@ 333 333 334 334 **BD1:** 335 335 336 -|=(% scope="row" style="width: 111px;" %)**SD label**|=(% style="width: 291px;" %)**Content**|=(% style="width: 115px;" %)**SD label**|=(% style="width: 559px;" %)**Content**337 -|=(% style="width: 111px;" %)SM2000|(% style="width: 291px" %)COM3 sending control on|(% style="width:115px" %)SD2000|(% style="width:559px" %)Display 0x1062 after 485BD is recognized after power-on.338 -|=(% style="width: 111px;" %)SM2001|(% style="width: 291px" %)COM3 send control/send prompt|(% style="width:115px" %)SD2001|(% style="width:559px" %)Display 485BD version information after 485BD is recognized after power-on.339 -|=(% style="width: 111px;" %)SM 2002|(% style="width: 291px" %)COM3 reception control on|(% style="width:115px" %)SD 2002|(% style="width:559px" %)BD1 last error340 -|=(% style="width: 111px;" %)SM 2003|(% style="width: 291px" %)COM3 accept control/receive prompt|(% style="width:115px" %)SD 2003|(% style="width:559px" %)BD1 current error341 -|=(% style="width: 111px;" %)SM2004|(% style="width: 291px" %)COM3 communication complete flag|(% style="width:115px" %)SD2004|(% style="width:559px" %)BD1 error times342 -|=(% style="width: 111px;" %)SM 2005|(% style="width: 291px" %)COM4 sending control on|(% style="width:115px" %)SD 2005|(% style="width:559px" %)BD1 error communication port.343 -|=(% style="width: 111px;" %)SM 2006|(% style="width: 291px" %)COM4 send control/send prompt|(% style="width:115px" %)SD2006|(% style="width:559px" %)BD1 communication timeout (1ms).344 -|=(% style="width: 111px;" %)SM 2007|(% style="width: 291px" %)COM4 reception control on|(% style="width:115px" %) |(% style="width:559px" %)345 -|=(% style="width: 111px;" %)SM2008|(% style="width: 291px" %)COM4 accept control/receive prompt|(% style="width:115px" %) |(% style="width:559px" %)346 -|=(% style="width: 111px;" %)SM2009|(% style="width: 291px" %)COM4 communication complete flag|(% style="width:115px" %) |(% style="width:559px" %)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. 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 +|=(% 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 +|=(% style="width: 111px;" %)SM2004|(% style="width:317px" %)COM3 communication complete flag|(% style="width:132px" %)SD2004|(% style="width:516px" %)BD1 error times 342 +|=(% style="width: 111px;" %)SM 2005|(% style="width:317px" %)COM4 sending control on|(% style="width:132px" %)SD 2005|(% style="width:516px" %)BD1 error communication port. 343 +|=(% style="width: 111px;" %)SM 2006|(% style="width:317px" %)COM4 send control/send prompt|(% style="width:132px" %)SD2006|(% style="width:516px" %)BD1 communication timeout (1ms). 344 +|=(% style="width: 111px;" %)SM 2007|(% style="width:317px" %)COM4 reception control on|(% style="width:132px" %) |(% style="width:516px" %) 345 +|=(% style="width: 111px;" %)SM2008|(% style="width:317px" %)COM4 accept control/receive prompt|(% style="width:132px" %) |(% style="width:516px" %) 346 +|=(% style="width: 111px;" %)SM2009|(% style="width:317px" %)COM4 communication complete flag|(% style="width:132px" %) |(% style="width:516px" %) 347 347 348 348 **BD2:** 349 349 350 -|=(% scope="row" style="width: 1 07px;" %)**SD label**|=(% style="width:294px;" %)**Content**|=(% style="width: 114px;" %)**SD label**|=(% style="width: 561px;" %)**Content**351 -|=(% style="width: 1 07px;" %)SM2020|(% style="width:294px" %)COM5 sending control on|(% style="width:114px" %)SD2020|(% style="width:561px" %)Display 0x1062 after 485BD is recognized after power-on.352 -|=(% style="width: 1 07px;" %)SM2021|(% style="width:294px" %)COM5 send control/send prompt|(% style="width:114px" %)SD2021|(% style="width:561px" %)Display 485BD version information after 485BD is recognized after power-on.353 -|=(% style="width: 1 07px;" %)SM 2022|(% style="width:294px" %)COM5 reception control on|(% style="width:114px" %)SD2022|(% style="width:561px" %)BD2 last error354 -|=(% style="width: 1 07px;" %)SM2023|(% style="width:294px" %)COM5 accept control/receive prompt|(% style="width:114px" %)SD2023|(% style="width:561px" %)BD2 current error355 -|=(% style="width: 1 07px;" %)SM2024|(% style="width:294px" %)COM5 communication complete flag|(% style="width:114px" %)SD2024|(% style="width:561px" %)BD2 error times356 -|=(% style="width: 1 07px;" %)SM2025|(% style="width:294px" %)COM6 sending control on|(% style="width:114px" %)SD2025|(% style="width:561px" %)BD2 error communication port.357 -|=(% style="width: 1 07px;" %)SM2026|(% style="width:294px" %)COM6 send control/send prompt|(% style="width:114px" %)SD2026|(% style="width:561px" %)BD2 communication timeout (1ms).358 -|=(% style="width: 1 07px;" %)SM2027|(% style="width:294px" %)COM6 reception control on|(% style="width:114px" %) |(% style="width:561px" %)359 -|=(% style="width: 1 07px;" %)SM2028|(% style="width:294px" %)COM6 accept control/receive prompt|(% style="width:114px" %) |(% style="width:561px" %)360 -|=(% style="width: 1 07px;" %)SM2029|(% style="width:294px" %)COM6 communication complete flag|(% style="width:114px" %) |(% style="width:561px" %)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. 353 +|=(% style="width: 113px;" %)SM 2022|(% style="width:314px" %)COM5 reception control on|(% style="width:131px" %)SD2022|(% style="width:518px" %)BD2 last error 354 +|=(% style="width: 113px;" %)SM2023|(% style="width:314px" %)COM5 accept control/receive prompt|(% style="width:131px" %)SD2023|(% style="width:518px" %)BD2 current error 355 +|=(% style="width: 113px;" %)SM2024|(% style="width:314px" %)COM5 communication complete flag|(% style="width:131px" %)SD2024|(% style="width:518px" %)BD2 error times 356 +|=(% style="width: 113px;" %)SM2025|(% style="width:314px" %)COM6 sending control on|(% style="width:131px" %)SD2025|(% style="width:518px" %)BD2 error communication port. 357 +|=(% style="width: 113px;" %)SM2026|(% style="width:314px" %)COM6 send control/send prompt|(% style="width:131px" %)SD2026|(% style="width:518px" %)BD2 communication timeout (1ms). 358 +|=(% style="width: 113px;" %)SM2027|(% style="width:314px" %)COM6 reception control on|(% style="width:131px" %) |(% style="width:518px" %) 359 +|=(% style="width: 113px;" %)SM2028|(% style="width:314px" %)COM6 accept control/receive prompt|(% style="width:131px" %) |(% style="width:518px" %) 360 +|=(% style="width: 113px;" %)SM2029|(% style="width:314px" %)COM6 communication complete flag|(% style="width:131px" %) |(% style="width:518px" %) 361 361 362 362 = **8 Examples** = 363 363