S7-1200 and adding Ethernet device for UDP data transfer

marko18

Member
Join Date
Nov 2021
Location
USA
Posts
47
Hello all,

I am working on a project utilizing an s7-1200 cpu and Tia Portal v17. I currently have an external PCB with some sensors on it (and ethernet) that has been programmed by a colleague to send sensor data to the s7-1200 via UDP protocol.

I don't have much experience with networking and I am wondering how to add this device to my tia portal project and get it set up with the plc to begin communicating. I have read up on UDP protocol communication and I will be utilizing the Siemens TRCV_C command to receive data from this PCB device.

I know the device's IP address but I can't figure out how to actually add the device into my project. I've tried going to Devices and Networks and adding a new S7 connection to the PLC and adding the IP address, but I don't think that's the right way. When I try that, the Interface and Endpoint are both Unspecified.

Any tips? Thanks
 

Similar Topics

Hi First post here! I admit I am not too used to handle interrupt OBs in Siemens. I have a customer who has been buying a standardized solution...
Replies
4
Views
252
Hi, I have an array of 30 integers :- db1.tracking[0] to db1.tracking[29] What's the best / easiest way to add them all together ? They are...
Replies
5
Views
2,965
Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
6
Views
256
HI i would like to know how to get a variable that will store the amount of times a program has been executed. The issue is I have 3 DBs for 1 FB...
Replies
2
Views
82
Hi, I have attached herewith one image which our programmer has been used in S7 1500 PLC. Now we need to use the same instructions in S7 1200 PLC...
Replies
4
Views
120
Back
Top Bottom