7/20/2018 10:43 AM | |
Posts: 1283 Rating:
|
Not at all Duris. I am glad you responded. Just i dont know how to develop the RTU frame in PLC TCP communication. Is there any guide to learn that. Thanks, Jay
------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 7/20/2018 11:59:29 AMNew subject after splitting |
|
7/21/2018 4:28 PM | |
Joined: 12/1/2009 Last visit: 2/9/2025 Posts: 672 Rating:
|
Dear Jay, just read your conversation. I believe that if you want to send MB-RTU over TCP you will at the device side convert the MB-TCP to serial, am I right? In that case I would not bother with the RTU programming and get a MB-TCP to MB-RTU gateway like this one. https://www.lantronix.com/products/xpress-dr-xpress-dr-iap/#tab-overview Or a profibus to modbus gateway if you have a DP port on your CPU.. Or in case you have to program it your own this document will support you. It has even a code for the CRC16 calculation, just need to adapt it for S7. http://modbus.org/docs/PI_MBUS_300.pdf Good Luck Best Regards. AttachmentPI_MBUS_300.pd.pdf (88 Downloads) |
Last edited by: TIBI68 at: 7/22/2018 11:58:11 AMLast edited by: Jen_Moderator at: 7/23/2018 8:12:18 AMAdded PDF file as an attachment. Give us your feedback and show us your respect! |
|
7/23/2018 7:09 AM | |
Posts: 1283 Rating:
|
Thanks TIBI for the suggestions. I already have the gateway and with the help of Duris, I made it work. Thanks again for all the valuable inputs. Thanks, jay
|
This contribution was helpful to
1 thankful Users |
Follow us on