beautypg.com

8ć20 – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 88

background image

Using Symbols and Expressions

in Report Generation

Chapter 8

8Ć20

In this chapter, you read about the use of symbols and expressions in
generating reports on your 1775-S4B scanner. Symbols are characters that
represent data. Report generation supports two types of symbols:

User symbols are variables used to represent data such as values, PLC-3

memory addresses, strings, or labels. You can declare by using
assignment statements to be procedural or interprocedural in scope. The
1775-S4B scanner stores user symbols in the system scratchpad area of
PLC-3 memory.

A system symbol is a name which represents an entire procedure or a

PLC-3 memory address. You must precede the system symbol with the
@ sign. You can declare system symbols to be local or global in scope.
The 1775-S4B scanner stores system symbols in the symbol table area
of PLC-3 memory. You can display a list of system symbols by using
the directory command.

Expressions enable you to perform mathematical, comparison, or bitwise
operations. Expressions are always enclosed in parenthesis.

The next chapter describes formatting data in report generation.

8.6
Chapter Summary