12/23/2007 3:15 AM | |
Posts: 11 Rating: (0) |
Ok, firts! I found sometihing about diferent types of conection, but what about the type of CPU, if you checkit the performance data of te 313C-2DP CPU, see that the function blocks that you are toll me, they don't support by the CPU, I don't habe any problem whit te 315-2DP CPU, because that CPU support this kind of function blocks (AG_SEND / AG_RCV), additionally if you checkit the catalog for the specification data of CPU, it tell anything about it..... so...........I'm not shure but I thing that the problem is that the 313C-2DP CPU don't support that king of communication, because the firnware of the Compact CPU don't support this kind function blocks for TCP or S7 Communication, just for Profibus or MPI Communication..... in my opinion I have to change the 313C/2DP CPU by one 315-2DP because that communication is test ok. Qustions: What kind of comunnication have to do???? 1. S7 Communication 2. TCP ( I configured this communication) What kind of blocks coudl set on the user prograqm???, taking acount the CPU Types ( 313C-2DP and 315-2DP)???????? 1. ?????????? AG SEND etc.................................... 2. ?????????? X PUT etc............................................. and if you have an aditional information diferent of the manual colection or cp's manual please I thaks a lot.... Attachment send you additionally information that I found........... best regards!!!!!! AttachmentSCRENNSHOTS.zip (478 Downloads) |
12/24/2007 7:19 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (316)
|
Hi, If you want to use S7 connections then you need at least one CP343-1EX30 (Client + Server), a CP343-1 Lean is only server. You could use FC5/6 with TCP-connection without changing a CP343-1 Lean, only PUT/GET and BSEND/BRCV will not work. 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? |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
This contribution was helpful to1 thankful Users |
12/31/2007 12:37 PM | |
Joined: 1/7/2006 Last visit: 11/17/2023 Posts: 2705 Rating: (316)
|
Hi Vlieg, If i understand your question well, then it is important that you have a trigger on the AG_SEND that must be a flank. When you don't do that then there will be a big amount of data on the Ethernet. Normally the SEND Datablock that is made in the 1st CPU is copied (when everything is declared) to the blockcontainer of the 2nd CPU as the RECV Datablock, so that the send and received data are the same. For a good example see: How do you program the communication blocks FC5 and FC6? Of course you have to fill the Datablock by your program, the easiest way is to use the variable from the Datablock into the program that you are writing. |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
Follow us on