Jump to content

Recommended Posts

Posted

Hi,

 

I'm developing an application in C# and need to communicate with a plc omron NX1P2. How can i do it? With cx-compolet?

Or is there another way?

 


Posted

The NJ and NX processors support symbolic access via Ethernet/IP using the same read & write services as Rockwell uses.  See Rockwell's Logix 5000 Data Access manual.

  • Like 1
Posted

I've used socket services for this in the past. Essentially send TCP commands like you would over Telnet and parse them out in the PLC.

  • Like 1
Posted
On 9/30/2022 at 4:44 AM, casofp said:

Hi,

I'm developing an application in C# and need to communicate with a plc omron NX1P2. How can i do it? With cx-compolet?

Or is there another way?

pturmel said nice stuff. You can use E/IP library for .NET and your communication will be more advanced, compare to old fashion TCP/UDP styles. I'm not saying that it's wrong or so. TCP and UDP still valid and very useful communication protocols. But E/IP will be a bit comfortable and convinience. PLC won't require to do extra steps to build a message for transaction and your application won't need to parse the data.

Posted

It's very easy to create a socket and exchange data by UDP or TCP.

You can exchange data in structure without conversion.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...