Ethernet UDP communication

MrQ

Member
Join Date
Feb 2005
Posts
236
Hello,

I will communicate with a device(non PLC) via Ethernet UDP. It is up to me to specify the protocol and the owner of the other device will implement this.

I use a CodeSys based PLC(Schneider SOMACHINE). I know that Network variables are based on UDP transfer. So I figure I might just go ahead and use Network Variables and life will be easy. But I find no documentation of the protocol for the UDP transfer of Network variables in Codesys. Can anyone help?
 
Schneider has done UDP communications with that platform before:

http://www2.schneider-electric.com/sites/corporate/en/solutions/oem/palladium-technologies.page

However, I would question the use of UDP. There are specific cases where it makes sense, but not sure that is the quickest/easiest path forward. If the Network Variables is not documented, maybe you should look elsewhere. In a vacuum, if the other end is flexible, I would just do ModbusTCP. It's well documented, native to the PLC platform so no custom communications protocols on one end, and libraries are available for the other end if desired. Since it is fully documented, they could implement a subset of the protocol anyway (just guessing) to reduce cost, time, and complexity.

So what are the real project constraints that drive you to UDP? What is the other system, and are there other options that might standard, rather than custom?
 

Similar Topics

Hi All, I am new in PLC programming. My project is to send the data from PLC (Mitsubishi Q03UDECPU) to PC using Built-in Ethernet port. After...
Replies
0
Views
1,909
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...
Replies
1
Views
731
Good evening folks, I am working with a platform (Codesys) that is sending out a UDP Packet over Ethernet. I would to be able to view and...
Replies
7
Views
5,529
Hi, I have seen some industrial devices that mention Ethernet UDP as a means of communication.. I know they use ethernet communication but is...
Replies
8
Views
2,844
i'm new user on winsock programming. can anyone send me sample code VC++ using winsock communicate with omron PLC. thanks.
Replies
0
Views
3,819
Back
Top Bottom