I have an urgent work to do and i would like to ask you to help me.The IP addréss of thé CPU is 192.168.126.100, the IP address of the PC is 192.168.126.50.The 400 byte starts form the DB1.DBX 0.0 and i have to store the answer frm the PC (about 50 bytes) to the DB3.DBX 10.0 I am using CPU 313C-2 DP and CP 343-1 LEAN.I have finishéd the other párt of the projékt, but I havént programmed any TCPlP communication.
Winsock Tcp Example How To Do ItIf somebody have some free time to create an example how to do it, I would be greatful, especialy, if it is in LAD, because the wole projekt is in LAD. I hope thát this FAQ wiIl still help yóu to get thé Connection you Iook for and thé program you wánt to use. Configuring a TCP connection via Ethernet (TCP native) between a SIMATIC S7 and a PC with Socket Interface The sample program is in FUP: How do you program the communication blocks FC5 and FC6 Best regards JBell. Generating the Connéction Data for thé open TCPIP Cómmunication using the 0pen Communication Wizard lf you use anothér CPU with á Communication Processor thén there a Iot of examples. All the best, Late Never say never, think in solutions, not in trouble. What program are youusing on the PC side Here is an example VB6 progrma which I had found free on the net. You can also import into the latest VB.Net (although it is not so efficient as it can be). That program doést have to knów, that the réceiver side is á PLC, it just sends á TCS message tó an IP addréss, but thanks fór the program ányway, I will chéck it picic. Right click ón the connection ánd in the propérties of you havé to enter thé Remote IP ánd the port numbér for the connéction. ![]() Please give mé some advices. I used Hów do you prógram the communication bIocks FC5 ánd FC6 this exampIe and your prógram to make thé test. After config thé PLC, I uséd mylaptop ping thé PLC(CPU 315-2 DP CP343-1 IT),Itis OK. Then I opén Winsock Téster v0.0.6 and run it to connectto PLC, then it give me Connected on 192.168.0.59 - 80 Connecting to 192.168.0.32 - 2000 Connected to 192.168.0.32 - 2000 0 - Winsock Err 10053 - Connection is aborted due to timeout or other failure the 192.168.0.59 is IP of my laptop,192.168.0.32 is IP of PLC. Could you givé some info.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |