Creating a .NET program for TwinCAT PLC with Windows CE

Dhornberg

Member
Join Date
Apr 2012
Location
Gothenburg
Posts
11
I mentioned this question in another post but i feel that it needs its' own post.

I have a Beckhoff CX5010 software PLC running Windows Embedded CE 6.0. I have connected a display, a mouse and a keyboard so i can interact with it. I use a laptop with TwinCAT 2 to configure and program the CX device.

I now want to test the possibility to integrate .NET programming. The problem is that i have never used .NET at all, so it's completely new to me.

What I would really like is a short guide on how to create a simple program for Windows CE that also interacts with the TwinCAT PLC.

Say i want a .NET program that does this: Read the value of an output and present it in a textbox(label?).

What i've figured out so far: I need Visual Studio 2008 to write a code for Compact Framework. I need to create the program using Compact Framework 2.0 to be able to run the program on my CX5010 device.
I create the project using project->Visual Basic->Smart Device->Device Application(Target platform: Windows CE, .NET CF v2.0). I then need to add some form of library file or dll file to be able to communicate with my TwinCAT I/Os, and from here is where I need help...
 
Bump

Anyone? I'm guessing it's not that hard if you know how to do it.
Archie sent me an example for some SQL stuff but i find it too advanced for learning. I just want to start with the most basic (reading/writing a variable and such)
 

Similar Topics

Hi all, I work for an engineering company in Australia and we use Fanuc robots for numerous manufacturing techniques. At the moment we have just...
Replies
6
Views
3,169
Hi I am trying to retrive RSLINX data from c#.net application. I have refenced my .Net application to Interop.RSIOPCAUTO.dll. But when trying to...
Replies
3
Views
2,574
I would like to create an alarm to the HMI for when the profinet connection has been disconnected from the S7-1200 to the IO. Could somebody...
Replies
1
Views
3,884
Hello everybody, I'm fairly new to DeviceNet, which means I can do pretty well as long as I have known devices with EDS files that I can access...
Replies
2
Views
7,070
The idea here is to provide for a brief rapid influx of message codes while preventing sequentially repeating the same message. i.e. if two...
Replies
23
Views
665
Back
Top Bottom