3 - programming, General, Programming – Rockwell Automation 1772-AF4,D17726.5.3 User Manual, AUX FUNCT PROM User Manual

Page 9

Advertising
background image

Chapter

3

3Ć1

Programming

You access the AF4 by pressing [SHIFT][EAF] (execute auxiliary function) or
[SHIFT][SCT] on the keyboard of your Industrial Terminal (cat. no. 1770-T3).
The instruction is an output instruction and may be preceded on a rung by
condition instructions. Once you enter the function, the block diagram of
Figure 3.1 appears on the CRT. To program a specific mathematics functions,
you would enter the appropriate function number (Table 3.A). If you enter a
non-existent function number, the following occurs:

When the processor attempts to execute a function number which does not exist
on the AF4, the response of the processor depends upon whether the keyswitch
is in the RUN or RUN/PROGRAM position.

The responses are:

In the RUN position, the processor stops running and the CRT displays
PROCESSOR FAULT and CHANGE PROCESSOR TO PROGRAM MODE.
The processor and memory LEDs illuminate. After you change processor
operation to program mode the LEDs turn off and the CRT displays MODE
SELECTION menu and PLC-2 RUN TIME ERROR, PRESS 11 TO
CONTINUE. When you press 11 the CRT displays and intensifies the rung
containing the illegal opcode and states ILLEGAL OPCODE INTENSIFIED
INSTRUCTION LINKED WITH CAUSE OF ERROR.

In the RUN/PROGRAM position, the processor stops running and the CRT
displays MODE SELECTION menu and PLC-2 RUN TIME ERROR, PRESS
11 TO CONTINUE. When you press 11 the CRT displays and intensifies the
rung containing the illegal opcode and states ILLEGAL OPCODE
INTENSIFIED INSTRUCTION LINKED WITH CAUSE OF ERROR.

General

Advertising