TCP Socket and TIA plc

MAHER

Member
Join Date
Jul 2007
Location
CAIRO
Posts
82
Dear team,

I have created a server by using C# to make my PC a server to connect to PLC TIA 1500 by using [ TCON, SEND,TRCV ].

but i dont have a real PLC so i am using TIA-PLCSIM ( at the same PC)( both server and PLCsim in the same PC)

but i can not connect between them.

So do you have any ides about the reason?

Thanks in advance.

Maher
 
Last edited:
Try NetToPLCsim, I didn't test it with TIA but it worked for me with Simatic v.5.5, completely free

Nettoplcsim does only support S7 communication as server, this works also in TIA-Portal with 1500 controllers with enabled PUT/GET access and not-optimized DBs (symbolic access only with V12 and V13, V14 with limitations).
Any programmed communication blocks or configured connections won't work with Nettoplcsim, e.g. TCON, TSEND, TRCV, BSEND, BRCV, ...

You'll need PLCSIM Advanced for this.
 
Nettoplcsim does only support S7 communication as server, this works also in TIA-Portal with 1500 controllers with enabled PUT/GET access and not-optimized DBs (symbolic access only with V12 and V13, V14 with limitations).
Any programmed communication blocks or configured connections won't work with Nettoplcsim, e.g. TCON, TSEND, TRCV, BSEND, BRCV, ...

You'll need PLCSIM Advanced for this.

I am getting error when I select [ PLCSIM VIRTUAL ethernet adaptor ] as in the attached image.

Please i need the correct setting for using PLCSIM ADVANCED

thanks,
Maher
 
1) use "Siemens PLCSIM Virtual Ethernet Adapter" in PLCSIM Advanced Control Panel

2) Set the access point you are using that your C# application is using in Windows Control Panel -> Set PG/PC Interface (ex: S7ONLINE -> Siemens PLCSIM Virtual Ethernet Adapter.TCPIP.1
 

Similar Topics

Hi all, I have two questions I am hoping someone might have some information on. 1. I remembered reading somewhere on this forum that you could...
Replies
5
Views
157
Hello, I'm trying to setup a TCP connection from a Compactlogix 5069-L306ER to a TDI checkweigher to receive real-time weight data of the...
Replies
6
Views
280
I would like to communication with application installation in my printer server via TCP port 5450. i.e ., 71.16.40.200:5450 . How can i write...
Replies
1
Views
362
I'm trying to set up a TCP Socket connection between a CompactLogix 1769-L16 and a printer that can receive external data through a TCP socket. I...
Replies
7
Views
3,295
I am at a plant right now that is installing a domino ax350i inkjet printer and it is using tcp socket ascii communication to talk to a compact...
Replies
0
Views
1,460
Back
Top Bottom