beautypg.com

Rockwell Automation 1775-S4B,D17756.5.3 User Manual SCANNER/MSG HND User Manual

Page 75

background image

Using Symbols and Expressions

in Report Generation

Chapter 8

8Ć7

When the 1775-S4B scanner detects an error in executing a procedure or a
direct command, it assigns a numeric value to the interprocedural user
symbol:

ERROR

This user symbol must be reserved exclusively for this purpose.

A system symbol represents an entire procedure or a PLC-3 memory
address. You must precede the system symbol with the @ delimiter. The
system symbol can contain up to eight unique upper and lower case letters,
numbers, or the underscore character. The first character in the procedure
name must be a letter or an underscore character. For example:

@TIME

If you are using an industrial terminal to execute report generation
procedures, you cannot use lower case letters to name a system symbol as
the industrial terminal does not recognize lower case letters.

Report generation supports two types of system symbols:

Procedure name—The name that identifies a procedure. You use the

edit command to create and store the procedure and its name.

Example: ED @TEST

Symbolic address—A specific PLC-3 memory address. You use the

create command to assign and store a symbolic address.

Example: CR @HR $E0.0.0.17

You can classify system symbols in one of two ways:

Local
Global

If you create a local system symbol, the 1775-S4B scanner only recognizes
this symbol in the context in which you created it. For example:

If you enter:

ED @TEST

8.3.3
User Symbol for Detecting
Errors

8.4
System Symbols