beautypg.com

1772-6.5.1, 3 - programming, Programming – Rockwell Automation 1772-AF1,D17726.5.1 User Manual MINI-PLC-2/15 User Manual

Page 9

background image

Chapter

3

3Ć1

Programming

You access the AF1 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 input
instructions. Once you enter the function, the block diagram of Figure 3.1
appears on the CRT. To program a specific mathematics function, 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 AF1, the response of the processor depends upon whether the keyswitch
is in the RUN or RUN/PROGRAM position.

The response 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 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