Programmable Logic Controllers

RSLogix 5000 Add-On Instructions

by John Schop

One of the most powerful newer features of the RSLogix 5000 program is the ability to create Add-On Instructions. This allows a programmer to define an instruction that contains a commonly used function or algorithm (as a set of instructions), and use it as one instruction.

To illustrate how this works, I am going to create an instruction that operates a cylinder, and because I’m making an add-on instruction, I can use that same instruction to control any number of cylinders in my application


Connecting Excel to ControlLogix

by John Schop

Have you ever lost data in a CLX processor, because you downloaded new code? Unfortunately, when you donwload a program to a ControlLogix processor, you also download the values of the tags (variables).

A solution to this problem that could be useful, is an Excel sheet that reads and writes values to the ControlLogix processor using the DDE/OPC capabilities of RSLinx.

In this article, I will show you how to create one of these sheets for your projects.

Here’s what you’ll need:


User Defined Data Types (UDTs) and OOP

by John Schop

For years now, Object Oriented Programming paradigm (or OOP) has been a commonly used programming practice, and has of course found its way into industrial automation as well.


An Introduction to Grafcets

by John Schop

I often find that using SFC's or Grafcets is the easiest way to design industrial automation systems. I have worked for several machine builders, and one of them had given the term 'SFC logic' another meaning. There was absolutely no process in their PLC logic that was not documented by an SFC or as I like to call it, a Grafcet. After some getting used to that, I absolutely loved the way it enabled me to program and troubleshoot complex machinery, and ever since, I've tried to use this method whenever I could.


Sequential Function Charts for All

Implementing Sequential Function Chart Designs using Ladder Diagram Programming Language for Programmable Logic Controllers

by James McWhinnie
Napier University, Edinburgh, Scotland.

ABSTRACT

Sequential Function Charts (SFC’s) have long been established as a means of designing and implementing sequential control systems utilising programmable controllers. The Programming Standard IEC 61131-3 includes a graphical implementation of SFC’s in its suite of programming languages.


Connecting IFIX SCADA to Siemens S7 using TCP/IP

Setting up an S7 connection using TCP/IP

The TCP/IP method of communication to the S7-300 and S7-400 PLC's via TCP/IP communication module uses the S7WIN, S7WINSP, S7NT, or S7NTSP protocol.


The Logix5000 Essential Manuals

The Allen Bradley Logix5000 family (ControlLogix, CompactLogix, FlexLogix, SoftLogix) has some very good manuals. If you are just starting out or need a refresher here are the key manuals and the order I would read them. If you have RSLogix 50000 installed then you will find some of these in the Help > Online Books menu. Revision 16 also has some great videos in the Learning Center.


An Introduction to RSLogix5000 Tags

Tags are the method for assigning and referencing memory locations in Allen Bradley Logix5000 controllers. No longer are there any physical addresses such as N7:0 or F8:7 which use symbols to describe them. These have been replaced with tags which are a pure text based addressing scheme. This is a departure from the more conventional ways of programming PLC’s, which includes Allen Bradley’s earlier line of PLC5 and SLC 500 controllers.


Features in RSLogix5000 Release 16

RSLogix5000 Version 16 Screen Shot

 

Rockwell Automation unveiled some significant additions to the Logix Control Platform at the Automation Fair event in Baltimore on Oct. 25, 2006. Further additions and improvements were detailed in a presentation on RSLogix5000 Version 16 as presented below.


The Making of an Off Timer

A staple of any PLC instruction set is the timer. The most common type is the "On Timer" while its brother the "Off Timer" suffers from misunderstanding and neglect. There are quite a few PLC manufacturers (you know who you are) who simply do not offer an off timer instruction. This is a shame because they are so handy for keeping something else on (i.e. a fan or light) for a given period after something has turned off.