5/26/2009 6:27 PM | |
Joined: 3/18/2009 Last visit: 12/6/2024 Posts: 306 Rating: (94) |
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.Though remember to use appropriate FC and DB numbers from the "Areas Reserved for Other application" (In CFC editor, Options>Customize>Compile/Download...) This method may require an entire download. |
This contribution was helpful to1 thankful Users |
5/28/2009 12:08 PM | |
Joined: 10/3/2008 Last visit: 12/12/2024 Posts: 966 Rating: (127) |
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 to1 thankful Users |
6/22/2009 10:59 AM | |
Posts: 130 Rating: (18) |
Hi, |
Follow us on