Industry Online Support
Technical Forum
7/14/2009 6:05 PM | |
Posts: 35 Rating: (0) |
Hi! I have programmed the UDP connection in a S7-300 using the example (Sample_open_UDP.zip) provided by Siemens. I works perfectly. The problem is that I'm trying to use the same program but in a S7-400. When I start the application in the S7-400 appears an internal error due to two SFC that are missing.(It can be seen on the attached file). The problem is that both SFC (135 and 136) don't appear in any library... I don't know what to do because it is the same program what I have used in the 300 PLC. Note: I have already changed the parameter on the FC96 concerning the CPU type: In the S7-300 I use B#16#2 and in the S7-400 I use B#16#5. The parameter DEV_ID assigns the Ethernet interface being used: - "DEV_ID=B#16#2" for the CPU31x-2PN/DP or - "DEV_ID=B#16#3" for the CPU319-3PN/DP or - "DEV_ID=B#16#5" for the CPU41x-3PN/DP Thanks a lot. |
7/18/2009 1:49 PM | |
Joined: 10/7/2005 Last visit: 1/17/2025 Posts: 3030 Rating: (1058) |
Hello Miguel not too sure where you get the "As can be read on the manual if you use this card you only can program ISO on TCP communication" from (unless you are referring tothe info about Open Ethernet comms via external CP's in S7 400, in which case it is correct). Good news is thatall S7 Ethernet CP's support UDP communication (NOT via Open Ethernet comms blocks though). You will have to do it the good old fashioned way though and configure a UPD connection in NETPRO (instead of of using the Open TCP/IP communcation) and you will also have tothrow away your comms logic and program it all again(examples are provided in the links below, AG_(L)SEND and AG_(L)RECV are now the way to go) Have a look at these links which I trust will help: What are the commonalities and differences between configured communication connections and the open Ethernet communication? What properties, advantages and special features does the UDP protocol offer? What differences are there between the Industrial Ethernet CPs of SIMATIC S7-400? |
Last edited by: fritz at: 7/18/2009 2:01 PMCheers |
|
Follow us on