10/5/2018 8:43 AM | |
Joined: 8/7/2013 Last visit: 10/23/2024 Posts: 90 Rating: (1) |
Dear Experts I am facing issue in modbus communication of CP341 with Thermofisher Beltweigher. i am having 3 nos of module connected to CP341. out of these 2 modules of sensors and 1 modules of beltweigher 2 modules of sensors are communicating fine on modbus. but only this thermofisher module is not communicating on modbus. I have checked the logic and it is working fine. I am confused regarding the register address and offset given in the manual. kindly help regarding this. also if anyone has done modbus communication with thermoscientific beltweigher modules kindly provide reference logic for the same. Device Details: CP341(6ES7341-1CH02-0AE0) Modbus Master Ramsey Micro-Tech MT9101F Modbus Slave ------------------------------------------------------------------------------------------ |
Last edited by: hsnaik at: 10/5/2018 8:44:02 AMLast edited by: The Helping Hand at: 10/5/2018 1:47:25 PMNew subject after splitting |
|
10/29/2018 9:12 AM | |
Joined: 4/28/2015 Last visit: 10/30/2024 Posts: 10585 Rating: (825)
|
Hello, I recommend use everytime WORD structure of receive buffer. You can then better convert to required result value and also with possible swap requirement of WORDs. Pls take a look again to that table, there is also some restriction/protection. Really don't know this device and how that restrictions are in reality. You simply didn't mention any info about this, how it's working. For prior test I recommend everytime use PC with some MB Master application, connected via required serial interface and test all what is needed. Then you'll have better look to this problematic, device functionality. Update: pls be carefully with data type Integer on S7-300 because INT is signed data type, so I recommend that WORD as primary data type. |
Last edited by: Duris_I at: 10/29/2018 9:13:55 AMWith best regards... |
|
11/9/2018 7:46 AM | |
Joined: 8/7/2013 Last visit: 10/23/2024 Posts: 90 Rating: (1) |
Dear Sir, My problem was resolved.. 1.By taking receive DB data type WORD for each register. 2.If I need to read 10reg form reg no 138 I was taking reg 138 in send query.but actually I need to take 137.. I missed this simple point.. Thank you very much for support. |
11/9/2018 8:46 AM | |
Joined: 4/28/2015 Last visit: 10/30/2024 Posts: 10585 Rating: (825)
|
Hello, no problem, glad you have solution. |
With best regards... |
|
Follow us on