beautypg.com

6 - message procedure commands, General, Message procedure commands – Rockwell Automation 1775-KA PLC-3 Communication Adapter Module User Manual User Manual

Page 79

background image

Chapter

6

6Ć1

Message Procedure Commands

The 1775–KA module has its own command language that you can use in
programming message procedures. This chapter describes the available
commands and gives some examples on how to use them. Table 6.A
summarizes the commands.

Table 6.A

Message Procedure Commands

Command

Format and Explanation

=

(assignment)

3=

Assign a numeric value to a user symbol or copy data from

the source to the destination

CREATE

C@

Create a symbolic address and equate it to a logical address.

DELETE

D @

Delete a symbolic address or an entire message procedure

from PLC-3 memory.

(execute)

@

Execute the named message procedure.

EXIT

E

Terminate execution of the current message procedure.

GOTO

G

Continue executing the current procedure from the point

specified by the label.

IF

I

Execute the embedded command only if the specified

expression is true.

ON_ERROR

O 3

Execute the embedded command only if an error occurs after

this statement in the procedure.

STOP

S

Terminate execution of the message (MSG) instruction in the

PLC-3 ladder diagram program.

Each command can be abbreviated to the letters shown in the format
column of Table 6.A. In general, it is best to abbreviate a command to the
shortest possible form. This not only makes the commands easier to
program, but it also saves memory space and reduces execution time.

General