11/24/2014 8:37 AM | |
Posts: 40 Rating:
|
Hello all, Am using s7 1212c dc/dcd/dc plc.Am trying to establish connection between my cpu (1212c) and 3rd party device using tcp open communication.Am trying to establish connection in two condition. First,am keeping my Cpu as client and 3rd party device as server.For this ,am configuring remote ip address and remote port id in T_CON parameter.(3rd party ip address :192.168.1.75 , Port : 9000).Here i can able to establish connection between the two.I can able to send and recieve data. In second condition, Am keeping my Cpu server and 3rd party device as client .Here am configuring local port id in T_CON parameter. Here am facing a prob.client making request to server (i.e 3rd party device trying to establish connection with plc ) but plc doesn't respond to that.please guide me get through this .Am attached images for both condition as server and client . regards prasanna gk thanks in advance
AttachmentS7 1212c as Client and Server.zip (1164 Downloads) |
11/25/2014 10:12 AM | |
Posts: 40 Rating:
|
Hello, what are the parameter should be modified for keeping plc as server in T_CON regards prasanna gk
|
11/25/2014 10:37 AM | |
Posts: 1368 Rating:
|
Have a look in the TIA online help of TCON_PARAM or here https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=63972520715&Language=de-DE&TopicId=62558270219 It is described in the column "description" of the parameters... Which FW has your PLC? If FW is V4 or higher, you need TCON_IP_v4 instead of TCON_PARAM... |
This contribution was helpful to
1 thankful Users |
11/25/2014 10:45 AM | |
Posts: 40 Rating:
|
hello, Am able to establish server connection now. what i did for server connection before am enter local port id only .but i had to mention the client ip address in remote ip. after modifying tat am able to establish the server connection regards prasanna gk
|
Last edited by: Gkp Raina at: 11/25/2014 10:45 AM |
|
This contribution was helpful to
1 thankful Users |
11/25/2014 1:09 PM | |
Joined: 7/3/2014 Last visit: 8/7/2024 Posts: 11 Rating:
|
Hello, I am having a similar problem but with T_SENDC I know T_SENDC uses TCON. How do I check which version it is?
|
11/25/2014 1:18 PM | |
Posts: 1368 Rating:
|
hello, version of what? |
11/26/2014 5:14 AM | |
Posts: 40 Rating:
|
HelloDarrenLloyd Version in the sense what? Regards prasanna gk
AttachmentTCP IP.zip (1357 Downloads) |
Follow us on