O'Reilly logo

Learning RSLogix 5000 Programming by Austin Scott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing structured routines

To get started with structure text, let's write a simple routine and break down the components.

Simple routine

We have taken a brief look at the structured text editor, and now we will write a simple structured text routine to introduce some of the syntax and conventions. Our first structured text routine will provide an alarm count totalizer. The first version of this we create will have a few small errors, which we will correct as we learn more about structured text. Perform the following steps:

  1. Open the Controller Organizer pane and navigate to Tasks | Main Tasks | Main Program. Right-click on Main Program and select New Routine, as shown in the following screenshot:
  2. Configure a new structured text routine by setting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required