To get started with structure text, let's write a simple routine and break down the components.
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: