Wpf is an advanced technology to build responsive user interfaces, but for many tasks (MessageBox, Folder Browser, Progress Dialog) you still have to use the old Windows Forms dialogs. Windows 7 replaced this old forms with new ones to provide a better User Interface and a better feeling to their ...
Read More »Using AdvancedHMI’s PLC drivers with C#
AdvancedHmi is a free and “almost open-source” HMI framework written in VB.Net that offer some drivers for PLCs, and also offer free SCADA objects for winforms users. I say “almost open-source” because the code of the two main libraries is not provided (MfgControl.AdvancedHMI.Drivers.dll and MfgControl.AdvancedHMI.Controls.dll), but it’s provided how to ...
Read More »PLC teleassistance and remote control
Teleassistance and remote control are becoming more and more popular, especially when the downtime cost is high, due to the need of specialistic help on how to solve failures that are not easy to find out. The capability to grant an immediate and specialistic assistance is a must-have for automatic ...
Read More »Conversion from PLC Siemens S7 to Allen Bradley RsLogix 5000 and back
A common task in the world of automation is to convert PLC programs from one platform to another. The reasons for this conversions can be different, like standardization of PLCs used by a factory, customers that asks for a specific PLC and so on. To convert a program from Siemens ...
Read More »Modbus with C#: libraries, code, utilities and examples
In this post you will find how to use nModbus with C# and how to create a simulation enviroment to test your program with Modbus. Other useful resources that you can find in this post are: using a Modbus simulator Creating virtual Com ports Using sniffer tools to debug the ...
Read More »Data exchange between 2 Controllogix using produced and consumed tags.
This tutorial that i found in a forum explains how to communicate between 2 Controllogix using the produced and consumed tags. This doesn’t require the Allen Bradley messages instructions and it’s much more efficient.
Read More »Modbus configuration example for an Allen Bradley Micrologix 1400
The latest PLC Allen Bradley Micrologix 1400 is provided with Modbus TCP and RTU. This is a powerful feature and with this post i explain how to enable and how to use it. To configure the Modbus communication you need to know at least the basic information about Modbus protocol. ...
Read More »GitHub: GIT GUI tutorial to get started with git
I recently started to use GIT as source code management system, and because i’m not made for commands written in console-like windows, i was looking for a guide on how to install and use the GIT Gui for Windows. I found this guide written by nathanj here and i think ...
Read More »Opc client with C#: an how to video
I made a video where i explain how to connect and read tags from and Opc server using OpcNetApi.dll library with C#. This post follows a serie of old article that you can read on my old blog. This code comes from Beckhoff OPC how-to section and if you run a ...
Read More »PLC-PC communication with C#: a quick resume about data exchange libraries
Let’s say that you want to build your own HMI, because: commercial SCADAs are too expensive for your application you need more control over the code and VBA is not good you want to protect your know-how you need a better HMI and you can’t do it with a normal ...
Read More »