› PLCGurus.NET Live & Interactive Forum › PLC Questions and Answers › General Automation Questions › C# lecture
Tagged: AOIs, C#, Faceplates
- This topic has 3 replies, 4 voices, and was last updated 1 year, 4 months ago by Ken S.
- August 2, 2019 at 4:02 pm #7720chihu chungKarma: 19Rank: 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 .August 2, 2019 at 4:20 pm #7721PLCGuruKeymaster
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.
FredDecember 5, 2019 at 11:54 am #13925David PolaParticipantKarma: 13Rank: Padawan
I’m trying to make an Ethernet connection between two computers, one with RSEmulate and the other with an application in C#, how I need to configure the computer with RSEmulate to accept the connection from the other computer?
I see that is something in RSLinx but I’m kind of lost.
Any help would be appreciated.
Thank YouJanuary 30, 2022 at 4:52 am #20574Ken SParticipantKarma: 172Rank: Jedi
You may have found your answer, but you need a communications protocol driver such as EthernetIP driver .
They have them on the net . As for rockwells faceplates they are built with FactoryTalk View HMI software ..
The HMI software has a driver –
download AdvancedHMI and you can see kind of how this works ..
- You must be logged in to reply to this topic.