5/26/2009 6:27 PM | |
Joined: 3/18/2009 Last visit: 5/6/2024 Posts: 306 Rating:
|
In PCS7, for using CP 341 as modbus master you can use FB 120 (SND_341) and FB 121 (RCV_341) from the pcs7 library. The online help gives you necessary information. To use the above blocks you need to understand how to handleAny pointer in CFC. To access Data Block in CFC, you can go throughthis FAQ Another easier solution is to use the modbus communication library S7HMODM3. Thelinkto it's manual. www.industry.siemens.com/industrial-services/en/downloads/MODBUS_D.pdf The last page has contact details from where to get it.(Sorry, it is in german - I do not know the link to it's english version. And it is too big to upload it here) A third solution, though very crude, could be that you write everything in an FC in Step 7 (and just call the FC in a CFC chart. |
This contribution was helpful to
1 thankful Users |
5/28/2009 12:08 PM | |
Joined: 10/3/2008 Last visit: 8/28/2024 Posts: 961 Rating:
|
Hi, you can use "OpenModbusTCP CP" as well. In this forum there is an extraconference: OpenModbusTCPwith many interesting threads. Wüstenräuber |
This contribution was helpful to
1 thankful Users |
6/22/2009 10:59 AM | |
Posts: 130 Rating:
|
Hi, |
Follow us on