Do some coordination with merkers f.ex.ģ. You can't execute MB_MASTER soon as you'll have COMM_LOAD in true. In case of TX/RX signals, on one of sides of cable you need swap them.Ģ. In the attachment i present screenshots from my program.įor first I recommend check again MB_MASTER help and especially table about MODE and addres depended what you need. And why communication stops when GND is connected? In both cases, with the gnd connected or disconnected, I can not successfully send the values to be displayed on the display via modbus. Then if the MB_ADRR = 1, MB_Master is not freezing on ‘busy’ status like with connected GND, and then the tx and rx leds always flash simultaneously (almost always on) When I set on MB_Master parameter MB_ADRR = 1, then MB_Master is showing always busy (MB_COMM_LOAD – Done is true).īut when i set the the MB_ADRR = 0, then is not busy (switching between busy and done, and the MB_Master status is 16#0000, i count the done and busy edges - are always equal (I present it in the attachment)) at this point only the Tx LED flashes on 1241 module.Īlso accidentally tried communication without connected GND (only pin 2 RXD and pin3 TXD was connected). Hi, I have a problem with modbus communication between the CM 1241 RS232 module and the display with the RS232 interface (supporting the modbus rtu protocol).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |