TCP communication with S7-1200

Weo

Member
Join Date
Feb 2006
Location
Sweden
Posts
82
Hello

I want to add a new Tcp connection to an existing project.
Cpu is a 1214 and today there are only one configured connection, that's a HMI connection.

However, when I try to add a new connection in the network view, I only get the choice to add a HMI or a S7 connection. Tcp is not in the drop down menu (like it's when looking in a 300 or 1500 project for example)

As seen in attached screenshot there should be 8 reserved resources for open user communication.
CPU limitation with regards to TCP connections?
Anyone came across this before?

Added: I want to use the onboard Profinet port for the new Tcp connection.

Thanks

CPU1214_Properties.jpg
 
Last edited:
Hi,
you don't need to configure the TCP connection in the network view, like you would have done this for the S7-300/400.

You define the connection endpoint (IP address, port number) and the type (TCP/UDP/Iso-On-TCP) in the parameters for the T-blocks. (TCON, TSEND, ...).
 
Hi

But is it not possible to make a configured connection in S7-1200 series, that requires less code?

You suggest a programmed connection, then I have to use The TCON and TDISCON to establish The connection?
Is that my only option?

Thanks
 
After reading some more, conclusion is that in the 1200 series you MUST establish the connection with the TCON. In previous project with a 1500 serie CPU I configured a connection, that is not an option with the 1200 serie.
 
Also found out, so looks like a good improvement to me.
No extra programming, instead you get everything about the connection collected in your program block.
 

Similar Topics

can i send and recieve data using my yokogawa UT35A controller with my siemens s7 1200 plc using profinet communication without using gsd file
Replies
1
Views
378
Dear Experts, Warm Greetings ! By using TCON,TSEND,TRCV,TDISCON block,I am trying to make communication with my...
Replies
1
Views
1,488
Hi friends, This is my first work with simatic and I am having some difficulties to comunicate S7 with HMI. HMI: T5F-2 Beijer Electronics S7...
Replies
3
Views
3,547
Hi to all, I am using s71200 plc... I am sending some spec values from my plc to the module1 continuously through TCP communication.... Now...
Replies
2
Views
3,456
Hi, i cant establish communication between fatek plc with an energy meter, both capable for modbus tcp, i did with modscan but fatek plc does not...
Replies
1
Views
149
Back
Top Bottom