5/25/2011 4:34 PM | |
Joined: 10/7/2005 Last visit: 9/5/2024 Posts: 3018 Rating:
|
Hello Oscar_83PL While I can't offer any hands on experience with linking anRF670 to an S7 via CP343-1 Lean, I may be able to point you at least in the right direction: To start with, forget using GET/PUT or any other S7 communication related protocols blcoks (e.g. BSEND/BRECV and USEND/URECV are also not possible). For one, the CP343-1 LEAN can only be a Server for S7 communciation (i.e. you can NOT use any of the above blocks in the PLC that has the LEAN), and I also doubt that the (Siemens) RFID 670 supports S7 communication in general. The RF670 will however support standardTCP/IP connectionswhich is something the CP343-1 Lean supports (see HERE for more on this). You are correct though that the T_Send/T_Recv etc. are not possible via a CP343 (they are designed for theonboard PN port). This doesn't matter all that much though, as you would "simply" confgure a TCP/IP connection in NetPro and the use AG_Send and AG_Recv (from the "Simatic_Net_CP -> CP300" library) in your S7 program. "All" that's left to do then is to write software to interpret the data that you get from the RFID 670or have to send to it. There's plenty of examples to be found about TCP/IP connection configuration and programming at https://support.automation.siemens.comand a coupleare added below: How do you program the communication blocks FC5 and FC6? Where can you find sample S7 programs and documentation for communication via Industrial Ethernet in the SIMATIC NET Quick Start Collection? I hope this helps to get you started and perhaps others here can offer additional hands on experience and/or example programs. |
Cheers |
|
This contribution was helpful to
1 thankful Users |
5/25/2011 5:40 PM | |
Joined: 3/21/2006 Last visit: 7/26/2024 Posts: 10228 Rating:
|
As fritz mentioned CP343-1 Lean could be only Server. For comunicating with S7 connections you need at least somewhere a Client. Read the handbook of the CP343-1 Lean and look on the next page for more information. Which types of connection/protocols are supported as standard by S7-300/400 CPUs and the CPs? Go with FC5 AG_SEND / FC6 AG_RECV from the SIMATIC_NET_CP library...as fritz mentioned. Best regards, Hristo Mihalev |
Follow us on