1/21/2016 3:56 PM | |
Joined: 5/27/2013 Last visit: 8/12/2024 Posts: 22 Rating:
|
Hello guys, I'm have a problem in connecting my S7-1518F FW 1.8v to a telegram simulator (developed in Delphi using Windows Socket). The thing is, I set all parameters right in TIA Portal v13 SP1 Upd 6 and TCON goes to "BUSY" but the PLC never accepts the incoming connection, the simulator gives the message "Connection Refused". P.S.: The same telegram simulator works fine with S7-317F PN/DP (TCON) with the same configuration. ------------------------------------------------------------------------------------------ |
Last edited by: Min_Moderator at: 1/21/2016 4:05:35 PMNew subject after splitting |
|
1/21/2016 5:00 PM | |
Joined: 5/27/2013 Last visit: 8/12/2024 Posts: 22 Rating:
|
hello, I forgot to mention that. Well, TCON is configured as passive (PLC is server) and also external DB. I attached the screenshots that you can see better. There's no problem with the port or IP address, because I can ping the PLC and with Wireshark I can see that in fact the PC is sending a connection request and the PLC responds with an ACK but miliseconds after closes the connection without reason. I've tried to upload the TIA Portal project, but the file is somehow 7MB and it's too big to upload here. Regards, S7-Tio. Attachmentscreenshots.zip (316 Downloads) |
1/22/2016 10:13 AM | |
Joined: 4/28/2015 Last visit: 2/7/2024 Posts: 10533 Rating:
|
Hello Tio, thnx for feedback, what I will be check is run 2 instances of that simulators localy on PC if it has capability of create one server and client another, establish connection between them and exchange some data, to exactly exclude that application problem. If it is not suitable, create on your PLC on another port new connection, your PLC has more Ethernet port, hasn't it? There can you create test Server-Client connection, localy connect that ports of CPU with cable. If you want, check this and give info, this must work Edit: I'll try create some test (but only with my S7-1212) and will post results, but problem can be simply in project too. Edit: what about some versions of that TCON,TSEND,... instructions? There can be problem too, but you must say that you are using proper version sof that instructions, never tested your HW. |
Last edited by: Duris_I at: 1/22/2016 10:25:52 AMLast edited by: Duris_I at: 1/22/2016 10:28:50 AMWith best regards... |
|
1/22/2016 12:23 PM | |
Posts: 3093 Rating:
|
Hello S7-Tio, Regards, |
This contribution was helpful to
2 thankful Users |
1/22/2016 8:25 PM | |
Joined: 4/28/2015 Last visit: 2/7/2024 Posts: 10533 Rating:
|
Hello all, tested my little server connection with my TCP Client (C++) and everything ok. For first rised up TCON.REQ to TRUE, status 7002, then initiated connection via my Client application to server IP with defined port 2000. My Client called -> connected permanently to Server, Status in PLC 7000. Reset TCON.REQ, rised up TDISCON.REQ to TRUE, my Client called -> disconnect me Server, everything ok. My TCON parameters are in picture. What to do now? Waiting for Teo, maybe find something successfully. Good luck. |
With best regards... |
|
This contribution was helpful to
1 thankful Users |
Follow us on