Using symbols and expressions in report generation – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual
Page 69

Chapter
8
8Ć1
Using Symbols and Expressions in
Report Generation
After reading this chapter, you should be able to:
Use symbols within procedures
Use symbols within PLC-3 memory
Use expressions within procedures
Before we define symbols, let’s work through another procedure which
uses symbols. The definition of a symbol entails many topics, but for right
now, a symbol is a variable within a procedure that can represent a number,
character, group of numbers, group of characters, procedure name, or an
address.
Our procedure is @EASY. In @EASY, we will let symbol A represent the
number 10.
Enter the edit mode and insert the following lines:
S4B> ED @EASY [ENTER]
The 1775-S4B scanner enters the edit mode for the procedure @EASY and
displays:
<EOB>
*
Now enter:
* I [ENTER]
The 1775-S4B scanner enters the insert mode.
Now enter the following line:
A = 10 [ENTER]
8.0
Chapter Objectives
8.1
Creating and Executing a
Simple Procedure with a
Symbol