beautypg.com

1 symbol table – Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 76

background image

Using Symbols and Expressions

in Report Generation

Chapter 8

8Ć8

The 1775-S4B scanner only recognizes @TEST in the current context.

If you create a global symbol by using the global modifier (/G), the
1775-S4B scanner recognizes the symbol in any context. For example:

If you enter:

CR/G@HR$E0.0.0.17

The global modifier (/G) makes the system symbol @HR a global system
symbol. The 1775-S4B scanner recognizes this symbolic address in any
context.

Refer to the PLC-3 Programmable Controller Programming Manual
(publication 1775-6.4.1, formerly 1775-801) for a complete discussion on
context in the PLC-3 system. Refer to chapters 7 and 10 of this manual for
detailed information on the edit and create commands.

The PLC-3 processor stores system symbols in the system symbol table.

You can look at this table by typing:

DI [ENTER]

The PLC-3 processor returns a list of the system symbols recognized in the
current context. An example directory is given below:

Directory Ć System Symbols

NAME ADDRESS SIZE

MP_1 $E5.1.1.0.0 127

SA_1 $E0.0.0.7

MP_3 $E5.1.1.1.0 12457

MP_2 $E5.1.1.2.0 765

COUNT $N1:23

In the example above, @MP_1, @SA_1, and @MP_3 are global system
symbols. The other symbols @MP_2 and @COUNT are local system
symbols. The size column shows the number of words used to store each
message. Thus, @MP_1, @MP_3, and @MP_2 are procedures, and
@SA_1 and @COUNT are symbolic addresses.

The 1775-S4B scanner stores the system symbols in the symbol table in the
order that you create them.

8.4.1
Symbol Table