Question

I have a Motorolla based, Programmable Logic Control (PLC) device and I write code in it using IEC-61131 structured programming language. The problem is that I have some complex computation to do, so I am trying to write the code in COM Callable Wrapper. So the question is, Is it possible to access functionality coded in CCW developed on .NET framework to access in Motorola based PLC device??

So in short, also what I mean to ask is that whether this CCW be accessible on a non-.NET Framework devices??

Thank you very much in advance.

Regards Irfan

Was it helpful?

Solution

No. You should reimplement your .NET logic in ST (structured text Pascal like IEC-61131 language), or run your .NET logic on PC and then constantly communicate with PLC via some protocol it supports (MODBUS, PROFIBUS...) and write results of your PC based calculations into some PLC tags that will be processed further in PLC.

OTHER TIPS

One way is to get an OPC server for your device and then write an OPC client that communicates with the OPC server which implements your logic. That way you can write your program logic in any .NET language (or other language).

You can check with Motorola to see if they have an OPC server for your device.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top