Editing message procedures using symbols – Rockwell Automation 1775-S5_SR5,D17756.5.5 User Manual PLC-3 FAMILY I/0 User Manual

Page 95

Advertising
background image

Programming DH and DH+

Message Procedures

Chapter 6

6-4

Table 6.B shows how to edit a message procedure through an RS-232-C
data terminal connected to a 1775-GA module.

Table 6.B

Editing a Message Procedure Through an RSĆ232ĆC Data Terminal

Prompt (if any)

Action

Keystrokes

GA1>

Enter the edit mode and create the message

procedure name. The GA module creates the

symbol definition for the message procedure

name.

EDIT/H @PROC1 [RET]

<EOB>
*

Enter the insert mode for editing.

Enter the message procedure commands. You

must use an EXIT or STOP command to end

each procedure.

Exit the insert mode.

Exit from the editing mode.

I [RET]

(other commands)
#H022$B0:5=$N3:1 [RET]
$B0:6=$N3:1 [RET]
*2 [RET]
EXIT [RET]

[RET]

E[RET]

GA1>

You can also use symbols to represent data and data addresses in
message commands.

A symbol can consist of numeric digits, alphabetic characters, and the

underscore (_). The scanner does not allow any other special characters.

Important: The first character in a symbol must be a letter (A - Z).

The scanner recognizes both upper-case and lower-case letters in a

symbol as different characters

For example, ASYMBOL and Asymbol are two different symbols.

A symbol can be any length, but it must be unique in its first

eight characters

For example, the scanner can distinguish SYMBOL_A and
SYMBOL_B in a message procedure, but NEW_SYMBOL_A and
NEW_SYMBOL_B are not.

Important: The scanner does not flag indistinguishable symbols as
programming errors. It treats similar symbols as equivalents.

Editing Message Procedures

Using Symbols

Advertising