C# lecture

https://www.linkev.com/?a_fid=ics-eng

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by Fred Graham Fred Graham 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7720
    Chihu Chung
    chihu chung
    Participant
    • Topics: 1
    • Replies: 0
    • Total Posts: 1
    Karma: 19
    Rank: Padawan

    you use windows Form as the Interface (layout) of various components,and use C# to write the Event Handling .

    the Faceplate in  rockwell automation process library  is also a kind of Forms as you prepared, so operator can click and input.  I can not find their C# or c++ (Compiled) event handling program .In rockwell ‘s process library documentation ,they put AOI and Faceplate together .My question is how rockwell write the Faceplate .

     

    #7721
    Fred Graham
    Fred Graham
    Keymaster
    • Topics: 13
    • Replies: 158
    • Total Posts: 171

    Hi Chihu and welcome to the forums.

    Yes you are correct that I am using WinForms in the YouTube video series: C# HMI – Using Ingear and Visual Studio. I’m essentially creating the components in C# and then using Ingear.NET drivers to provide the underlying connectivity from C# to the controller. I’m not sure Rockwell makes available the actual code behind to generate their Faceplates and AOIs. The whole idea behind Faceplates and AOIs is to avoid the coding portion and provide drag and drop type functionality in FTV and Studio.

    To be honest I’ve not looked at whether Rockwell provides their code or not but I doubt it. If you’re interested in how I wrote the event handlers and setup the C# code for the sample application in the video series it is available for download here on the site: https://plcgurus.net/product/custom-c-hmi-source-code/. Of course what is provide is for demonstration and learning purposes only.

    Fred

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login Register