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
260
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,989
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
2
Views
70
Hello, I have a question about an encoder that has absolute measurement. Specifically, it's the Lika SMA5, which I would like to connect...
Replies
0
Views
44
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
291
Back
Top Bottom