9/15/2014 1:12 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear All, as requested by other forum members here aModbus RTU SlaveCommunication function block. The following SIMATIC S7 communication processor issupported:
GENERAL INFORMATION & SUPPORT For installation, connection and interface configuration of your communication processor module kindly follow its respective documentation. I also advise you to take some time and go through the general information about Modbus provided by our forum member smiffy. Especially if you are a beginner in Modbus, seek for support or just want to learn more about it. I hope tomake your life a bit easier with this development.
With Best Regards SEEKING FOR CP341TO DEVELOP DRIVER FOR CP341 DRIVER DOWNLOAD (ATTACHMENTS) The attached program files need to be retrieved within the SIMATIC Manager. Currently there is only one manualfor theCP340version but the others are all working in the same way just with different function blocks. MBSL340.PDF - Manual for Modbus RTU Master for CP340 MBSL340.ZIP -Example projectfor Modbus RTU Slavedriver for CP340 MANUAL MBSL340 AttachmentMBSL340 V100.pdf (4039 Downloads) |
Last edited by: TIBI68 at: 9/15/2014 1:29 PMGive us your feedback and show us your respect! |
|
This contribution was helpful to
47 thankful Users
|
9/15/2014 1:14 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
MBSL340 Thanks for downloading ! Some feedback anda click onthe "Thanks" button would be appreciated. AttachmentMBSL340.zip (3315 Downloads) |
Last edited by: TIBI68 at: 9/24/2014 9:53 AMGive us your feedback and show us your respect! |
|
This contribution was helpful to
51 thankful Users
|
9/27/2014 9:14 PM | |
Posts: 2 Rating:
|
thanks dude. |
This contribution was helpful to
3 thankful Users |
10/3/2014 1:35 PM | |
Posts: 168 Rating:
|
Great job, thanks for sharing |
This contribution was helpful to
1 thankful Users |
10/29/2014 4:09 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling, I can make the block for CP341 in no time but I dont have the CP for testing it. Best Regards. |
Give us your feedback and show us your respect! |
|
10/30/2014 8:03 AM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Dear Hopling, when it communicates it will work for the full functionality. Onlythe calls of the standard function blocks will change, the rest of the code will be the same. I make the changes and will send you the beta to your email for testing. Gve me some time for that changes while I am a bit busy at the moment. Best Regards. |
Give us your feedback and show us your respect! |
|
11/26/2014 4:56 PM | |
Joined: 12/1/2009 Last visit: 7/14/2025 Posts: 672 Rating:
|
Sorry my dearfriend Hoplingbut I am really busy. For you and other people waitingImodified the block to runwith CP341. Kindly check it out. Unfortunate I cannot test it while I dont have that CP here. Best Regards. AttachmentMBSL341.zip (2302 Downloads) |
Give us your feedback and show us your respect! |
|
This contribution was helpful to
42 thankful Users
|
11/28/2014 8:06 AM | |
Posts: 24 Rating:
|
Thank you TIBI! Right now I don't have CP341 too but will write here about results of testing asap! |
This contribution was helpful to
2 thankful Users |
7/7/2015 3:37 PM | |
Joined: 1/5/2011 Last visit: 3/13/2025 Posts: 815 Rating:
|
Dear TIBI, I'd love to see what's inside the MBSL341 FB, can you share them without know-how protection? Kind regards, |
Keep it simple and on-topic. |
|
8/19/2015 10:15 AM | |
Joined: 5/11/2011 Last visit: 12/9/2021 Posts: 11 Rating:
|
Dear Mr Tibi68 Thank you for your sharing, I just finished testing, Everything works well |
9/27/2016 10:39 AM | |
Joined: 4/22/2009 Last visit: 11/28/2022 Posts: 19 Rating:
|
Do you have any function block for CP341 Modbus slave RS485 protocol RTU? Thanks man, |
9/27/2016 4:55 PM | |
Joined: 4/22/2009 Last visit: 11/28/2022 Posts: 19 Rating:
|
you're right |
3/3/2017 5:15 PM | |
Posts: 1 Rating:
|
Goodmorning, Many thanks for the driver provided. I'm using a s7-300 CPU with CP340 as RS485 for modbus RTU master with step 7. I'm trying to write a Word (2B) in a single register (modbus function code 6) to a slave (inverter, the only slave of the bus). Once the frame is sent, the slave responds with an error code meaning "invalid data amount", and the FB returns "E57 - CRC checksum error". Seems like more data is sent apart the standard RTU frame. Right now i'm not able to send you code or actual values of mbma340 istance DB. I provide the manual of the slave inverter where in page 125 of the PDF there is the message structure in RTU mode. I see in the send buffer in the istance DB more data than the described message. I succeded in another application with the same device as slave, but with s7-1200 with CB1241 RS485 with TIA using the functions MB_MASTER and MB_COMM_LOAD. Many thanks for your help, Regards AttachmentL510 Manual(English)V03 - Copia.pdf (1468 Downloads) |
This contribution was helpful to
1 thankful Users |
5/14/2018 3:20 PM | |
Posts: 139 Rating:
|
Solved! |
Last edited by: Karls1 at: 5/19/2018 11:13:43 AM |
|
This contribution was helpful to
1 thankful Users |
4/27/2021 6:51 PM | |
Posts: 1 Rating:
|
Hi. I repeated all steps as video for CP341, but i can not to do communication. Modbus Pool write "Bytes Missing Error" Could you help please |
Follow us on