4/12/2012 4:42 PM | |
Joined: 11/18/2009 Last visit: 3/4/2025 Posts: 16 Rating:
|
hi, I have to make connection cpu 315 2PN/DP and customer server with TCP/IP protocol. I am not expert aboute communication s7 and external system. I search the web and found to blocks FB 210 and fb 220 to use. but FB 210 manual says it can be use for TCP native protocol. is there any Difference between TCP/IP protocol and TCP Native? Can I use the bloks for this procedure? there are details in attacmant. ******************************* For this example we assume that no feedback channel is configured. The purpose of the control channel is to enable the OK button at the workstations Sample sequence: S7 is configured with IP-address 192.56.14.11 JIS-SFA Server is configured with IP-address 192.56.14.222 S7 establishes JisToS7Send Receive Listener on port 14001 [192.56.14.11:14001] Jis connects with (client) port 52854 [192.56.14.222:52854], S7 accepts and keeps this connection Connection between [192.56.14.11:14001] and [192.56.14.222:52854] is established. Jis sends control data to S7 ([192.56.14.222:52854]=>[192.56.14.11:14001]) S7 gets the control data S7 sends back the data as acknowledge ([192.56.14.11:14001]=>[192.56.14.222:52854]) S7 enables the OK button. Jis gets acknowledge Jis sends (another) control data ([192.56.14.222:52854]=>[192.56.14.11:14001]) S7 does not receive the data due to a intermittent network problem (and therefore will not send acknowledge). Jis resends the control data after 30 seconds. S7 sends back the data as acknowledge. Jis does not receive the data due to a intermittent network problem. Jis detects that the network connection is lost. Jis retries connecting. Jis connects with (client) port 52866 [192.56.14.222:52866], S7 accepts this new connection AttachmentJIS--s7.pdf (197 Downloads) |
4/12/2012 5:13 PM | |
Joined: 9/19/2009 Last visit: 3/15/2025 Posts: 459 Rating:
|
Hello Maybe this can help you TCP/IP send and receive example |
If my answer help you, use the Thanks or Rate Button, It is free of charge :-) |
|
4/16/2012 11:27 AM | |
Posts: 1547 Rating:
|
Hi, in case of sending data via TCP/IP with integrated PN interface of S7 300 PLC you'll need FB65 "TCON", FB66 "TDISCON", FB63 "TSEND"and FB64 "TRCV". An example you'll find here: Open communication blocks But it might be easier to use the wizard. |
4/17/2012 4:53 PM | |
Joined: 11/18/2009 Last visit: 3/4/2025 Posts: 16 Rating:
|
thank you ratex it is okay. |
Follow us on