LibPlcTag is a library that I used recently to communicate with Allen Bradley plc. It’s a C++ open source library and it can communicate with most of the Allen Bradley plcs, like Micrologix, CompactLogix, ControlLogix, SLC and Plc5. LibPlcTag works on the Ethernet/Ip stack and is LGPL licensed (you are ...
Read More »Allen Bradley
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 »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 »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 »Writing alarms and interlocks in PLC programs
While analizing the process that you have to automate you always have many conditions to respect for the safeness of the equipments, of the operators and of the process itself. What is an Alarm An alarm is a condition of non-safe state of the machine. Depending on the impact on ...
Read More »Resources for Siemens and Allen Bradley PLCs: PLC-DEV website
I want to make a review on plc-dev website that contains some posts that i think they are really helpful and complete for PLC programmers. The website has 3 main sections for the 2 most used marks of PLC, Siemens and Allen Bradley, and a talk about Modbus protocol, one ...
Read More »