The text of a manual · part 8 of 14
Mini-PLC-2 Programmable Controller Programming and Operations Manual, pages 71 to 80
Pages 71 to 80 of 132
The original document is the PDF (13 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1772-LN2 and Allen-Bradley 1772-LN3
Page 71
PROJECT NAME
ALLEN-BRADLEY Programmable Controller
DATA TABLE MAP (128-WORD) (Publication 5045, February, 1982)
PROCESSOR
DESIGNER
STARTING WORD ADDRESS 00
BIT NUMBER 17 10} 07 00
DATA TABLE SIZE
PAGE ____ ADDRESS
OF __ TO ___
STARTING WORD ADDRESS, ___00
DESCRIPTION 17
BIT NUMBER 10/07
00
DESCRIPTION
Page 72
PROJECT NAME
DESIGNER
ALLEN-BRADLEY Programmable Controller
DATA TABLE WORD ASSIGNMENTS PAGE, ___ (64-WORD) ADDRESS ____
(Publication 5046, February, 1982)
PROCESSOR
OF ____ TO ___
DATA TABLE SIZE
WORD ADDR
DESCRIPTION
WORD ADDR DESCRIPTION
NITODI APR POM] HALOITNI DIAL SWI MILHLTOIN( DI ALA] WI] MIlLALOIFNI OA/aAlA!]w;rml]=A{to
NIPDP OAR LWP MLHLOITNI DIAL RI WIM! HALON DI aAlLR[ Oo)! MmO]ALOINI DMI nn] AR] Ww] rm]Aalo
Comments
Page 73
ALLEN-BRADLEY Programmable Controller PAGE _____ OF ____
DATA TABLE BIT ASSIGNMENTS ADDRESS ____ TO ___ (Publication 5047, February, 1982)
PROJECT NAME PROCESSOR
DESIGNER DATA TABLE SIZE
WORD BIT DESCRIPTION WORD BIT DESCRIPTION, NLH]HA}alolm{/alol[nj[oalalajswlroslalolnjalalalwlm{[alolwnloalalalwlrmwlalo j]laf]}42)/-=;/4=;/2;/2;/o0;/olofolojojojofafafaf/afa}/sa}/uafuloJTololololololo NLO{H!AlLolm;alolNl[alalalolmlaloflrnjalalalolmolalolralalalalwolwlalo
Comments
Page 74
ALLEN-BRADLEY meee ~ Cleveland, Ohio 44143
PROJECT NAME
Bulletin 1771 |/O Chassis CONNECTION DIAGRAM ADDRESSING
(Publication 5039, September, 1980)
S
MODULE GROUP ee) 00-07 10-17
MODULE GROUP
00-07 10-17
DESIGNER
OF
MODULE GROUP 00-07 10-17
MODULE GROUP
( )
00-07 10-17. [™
‘nh
MINI-PLC-2 PROCESSOR OR PLC-2 1/0 ADAPTER OR PLC REMOTE 1/0 ADAPTER fieaaccs {| poenond)
fom OOO HOKE) OKOXS) ae on
_J
=, J
F, - =I ue
00000000 i SMe
Be a<fof-[alo]<¢ acfofe-[afo]e¢ afof-[alo a<fof-[alo][e¢ wo vt wo
©
© eeccccece (|) DBSIoaQelSiaiciO
Nn
) 2isolaie!siaiclo eoccccece | ASOCESGSeaw
Nn
000000000 CJ SQDACIVGIDICIA
VOOSCOONGS
VADYAe et
ASOGEROaw e
B | all
VOOSSOONGS a
Page 75
Page 9-1
Section 9 OPERATING INSTRUCTIONS
9.0 GENERAL
This section contains the operating instruc- tions that are used to move through the program and perform a variety of functions. The instructions are grouped by function and are summarized in Tables 9-1 through 9-6 at the end of this section. They include:
¢ Data Table Adjustment (Table 9-1)
e Addressing e Editing Functions (Table 9-2)
e Directories (Table 9-3)
¢ Search Functions (Table 9-4)
¢ Troubleshooting Aids (Table 9-5)
¢ Clear Memory Functions (Table 9-6) 9.1 DATA TABLE ADJUSTMENT
After the size of the Data Table has been determined as described in Section 8.4, the SEARCH 50 function is used to adjust the Data Table. The following display will appear when the [SEARCH] [5][0] keys are pressed in PROGRAM mode.
DATA TABLE ADJUSTMENT
Number of Input/Output Racks 2 Number of Timers/Counters 040 Data Table Size 128
NOTE: The default value of 2 I/O racks will be displayed. It is not a user-entered value for the Mini-PLC-2.
The Data Table is factory configured to 128 words for 1 I/O rack and 40 timers/counters. The Data Table can be reduced in 2-word increments to a minimum of 48 words if no equivalent timers/counters are selected.
The number of equivalent timers/counters to be entered is prompted by a reverse video cursor. When this number has been entered, the Industrial Terminal will compute and enter the Data Table size.
Anytime the Data Table is reduced in size, the Processor searches for instructions in those areas. If an instruction exists in an area to be deleted, the change will not be allowed and the following message will be displayed: “INSTRUCTION EXISTS IN DELETED AREA.” To display the rung that is preventing the change, press [SEARCH]. At that time, the decision can be made whether to keep or delete the instruction.
Press [CANCEL COMMAND] to terminate the Data Table Adjustment display.
The instructions for adjusting the Data Table are summarized in Table 9-1.
9.1.1 Memory Layout Display (1770-T3 Industrial Terminal)
The SEARCH 54 function displays a diagram of the areas of memory including the Data Table, User Program, Message Area and the unused memory. The number of words in each area is indicated in decimal numbers.
Press [SEARCH][5][4] to initiate this display, and press [CANCEL COMMAND] to terminate this display.
9.2 ADDRESSING
The ladder diagram instructions are entered with the Processor in the PROGRAM mode. When entered, they are displayed as intensi- fied and blinking to indicate cursor position and that information is needed.
When entering addresses and data, the re- verse-video character cursor can be mani- pulated to the left and right using the [+] and [+] keys to make corrections. The character cursor cannot be moved to the left past the first digit. If the character cursor is moved off the instruction address to the right, the instruction will be entered. It will stop blinking but will remain intensified until the next instruction is pressed or the instruction cursor is moved to the right.
Any time a digit being entered is not within the proper limits, the message “DIGIT OUT OF RANGE” will be displayed. The cursor will
Page 76
Page 9-2
TABLE 9-1, Data Table Adjustment
INDUSTRIAL FUNCTION MODE TERMINAL |KEY SEQUENCE DESCRIPTION Data Table PROGRAM Any a [SEARCH] |Enter the number of equivalent Adjustment [5] [0] timers/counters. The Industrial [Numbers] Terminal displays the size of the reduced Data Table. Processor Any 1770-T3 [SEARCH] {Displays the number of words in Memory {5} [4] the Data Table Area, User Layout Program Area, Message Area and unused memory. Either [CANCEL To terminate.
COMMAND]
1770-11, -T2 or -T3 remain inthe same position until a valid digit is entered.
9.3 EDITING
Changes to an existing program can be made through a variety of editing functions when the Processor is in PROGRAM mode. Instruc- tions and rungs can be added or deleted; addresses, data and bits can be changed; a rung left incomplete due to an interruption while programming can be located and cor- rected. The Editing instructions are sum- marized in Table 9-2.
9.3.1 Inserting an Instruction
Only non-output instructions can be inserted in a rung. There are two ways of doing this.
One way is to press the key sequence [INSERT] [Instruction] [Key sequence of Address]. The new instruction will be inserted after the cursor’s present position. If an instruction is to be entered at the beginning of a rung, the cursor must be positioned on the output instruction of the previous rung. However, ifthe cursor is on the END statement, the instruction will be inserted in the position preceding the cursor.
The other way to insert an instruction is to press the key sequence [INSERT] [+] [Instruction] [Key sequence of Address]. The new instruction will be inserted before the cursor’s present position.
If, at any time, the memory is full, the instruction cannot be entered and a “MEMORY FULL” message will be displayed.
9.3.2 Removing an Instruction
Only non-output instructions can be removed from a rung. Output instructions can be re- moved only by removing the complete rung.
To remove an instruction, place the cursor on the appropriate instruction and press the key sequence [REMOVE] [Instruction]. If the wrong instruction is pressed, an “INSTRUC- TIONS DO NOT MATCH” message will be displayed.
Note: Bit values and data of word instructions are not cleared. However, the Input Image Table bits will be rewritten during the next I/O scan except if the instruction had been removed in a forced ON condition. The force function would prevail until removed.
9.3.3 Inserting a Rung
A rung can be inserted anywhere within a program by pressing [INSERT][RUNG] and entering the instructions. The cursor can be positioned anywhere in the previous rung. The new rung will be inserted after the rung which contains the cursor. If it is necessary to remove a newly entered instruction, the rung must be completed first. If the cursoris onthe END statement, the [INSERT][RUNG] keys need not be used. The rung can be entered just as in initial program entry.
Page 77
Page 9-3
TABLE 9-2, Editing Functions
INDUSTRIAL KEY FUNCTION MODE TERMINAL SEQUENCE DESCRIPTION Inserting a PROGRAM Any @ [INSERT] Position the cursor on the Condition [Instruction] _|instruction that will precede the Instruction [Address] instruction to be inserted. Then press key sequence. or [INSERT] [+] |Position the cursor on the [Instruction] _ instruction that will follow the [Address] instruction to be inserted. Then press key sequence. Removing a PROGRAM Anyi [REMOVE] _ |Position the cursor on the Condition [Instruction] _ finstruction to be removed and Instruction press the key sequence. Inserting arung | PROGRAM Anyi [INSERT] Position the cursor on any [RUNG] instruction in the preceding rung land press the key sequence. Enter instructions. Editing is prevented until Output is entered. Removing arung | PROGRAM Any [REMOVE] _ |Position the cursor anywhere on [RUNG] the rung to be removed and press the key sequence. NOTE: Only addresses corresponding to OUTPUT ENERGIZE, LATCH and UNLATCH instructions are cleared to zero. Change data PROGRAM Any [INSERT] Position the cursor on the word of a word [Data] whose data is to be changed. Press instruction the key sequence. Change the PROGRAM Any [INSERT] Position cursor on a word address of [First Digit] |instruction with data and press a word [+] [INSERT]. Enter first digit of the instruction [Address] first data value of the instruction. Then use the [+] and [+] keys as needed to cursor to the word address or data. Enter the appropriate digits. Replace an PROGRAM Any [Instruction] |Position cursor on the instruction
Instruction or change Address of Instructions without Data
[Address] to be replaced or whose address is to be changed. Press the key sequence.
Page 78
Page 9-4
TABLE 9-2, Editing Functions (cont.)
FUNCTION MODE INDUSTRIAL KEY DESCRIPTION U TERMINAL SEQUENCE On-Line Data RUN Any [SEARCH] Position cursor on the word whose Change [5] [1] data is to be changed. Press key [Data] sequence. Cursor keys can be used. [INSERT] Press [INSERT] to enter new data into memory. [CANCEL To terminate On-Line Data Change COMMAND] All Editing As Applicable Any [CANCEL Aborts the operation at the current Functions COMMAND] |cursor position. @ 1770-11, -T2 or -T3
If, by chance, the rung was inserted in the wrong position, it must be completed (press [-( )-][CANCEL COMMAND)) before it can be removed.
If, at any time, the memory is full, a“MEMORY FULL” message will be displayed and more instructions will not be accepted.
9.3.4 Removing a Rung
Removing a rung is the only way an output instruction can be removed. Any rung, except the last one containing the END statement, can be removed.
To remove a rung, position the cursor any- where on that rung and press [REMOVE] [RUNG].
Note: Only bits corresponding to OUTPUT ENERGIZE, LATCH or UNLATCH instructions addresses are cleared to zero. All other word and bit addresses are not cleared when arung is removed.
9.3.5 Changing Data of a Word Instruction
The data of any word instruction, except the Arithmetic and PUT instructions, can be changed in the PROGRAM mode without removing and re-entering the instruction. This is done by positioning the cursor on the appropriate word instruction and pressing [INSERT ][Data Digits]. When the last digit of the data is entered, the function is terminated and the data is entered into memory. The function can also be terminated and entered into memory before the last digit is entered by pressing [CANCEL COMMAND]. Also, once the first digit has been entered, the [+] and [+] keys can be used to cursor to any digit in the address or value to make a correction.
9.3.6 Replacing an Instruction or Changing the Address of an Instruction Without Data
To replace one instruction with another, place the cursor on the instruction. Then press [Instruction] [Key Sequence of the Address]. This procedure also can be used when chang- ing the address of an instruction that does not contain data.
9.3.7 On-line Data Change
The lower 12 bits of a word or word instruction excluding Arithmetic and PUT instructions can be changed while the Processor is in the RUN or TEST mode. This is done by posi- tioning the cursor on the appropriate instruction and pressing [SEARCH][5][1]. The mes- sage “ON-LINE DATA CHANGE, ENTERING DIGITS” will be displayed near the bottom of the screen. The new digits will be displayed to the right of the message as they are entered. Use the [+] and [+] cursor control keys as needed. After the new data is displayed, press [INSERT] to enter the data into memory.
To terminate this function, press [CANCEL COMMAND].
Page 79
Page 9-5
WARNING: When the address of an instruc- tion whose data is to be changed duplicates the address of other instructions in User Program, the consequences of the change for each instruction should be thoroughly explored beforehand. This is to guard against unexpected machine operation which could result in damage to equipment and/or injury to personnel.
9.4 DIRECTORIES (1770-T3 Industrial Terminal)
Directories have been developed as an aid in using the Industrial Terminal. They list the several functions common to a single multi- purpose key such as the [SEARCH] key. The directories are summarized in Table 9-3.
The Help directory, accessed by pressing the [HELP] key gives a master list of directories and the key sequence to access them. Three other directories that can be accessed from the Help directory are:
¢ Control functions by pressing [SEARCH] [HELP] e Record functions by pressing [RECORD] [HELP]
¢ Clear memory functions by pressing [CLEAR MEMORY][HELP]
The other directories listed in the Help directory cannot be accessed. Certain func- tions listed in the Control function and Record function directories are not available with the Mini-PLC-2 Processor. If the keys to select any one of these are pressed, the Industrial Terminal will issue a “FUNCTION NOT AVAILABLE WITH THIS PROCESSOR” message.
9.5 SEARCH FUNCTIONS
The Industrial Terminal can be used to search the User Program for a specific instruction or address, the first or last rung, the first or last instruction of arung or for an incomplete rung using the [SEARCH] key as part of the key sequence. In addition, the Industrial Terminal allows either asingle rung or multiple rungs to be displayed. The Search instructions are summarized in Table 9-4.
9.5.1 Search for First Rung
The first rung of the program can be located from any point within the program in any mode of operation by pressing [SEARCH] [4]. This positions the cursor on the first instruction of the program.
TABLE 9-3, Directories
INDUSTRIAL KEY DESCRIPTION FUNCTION MODE TERMINAL SEQUENCE ~ ES ° Help Directory Any 1770-T3 [HELP] Displays a list of the keys that are used with the [HELP] key to obtain further directories. Control Any 1770-T3 [SEARCH] _ |Provides a list of all control Function [HELP] functions that use the [SEARCH] Directory key. Record Any 1770-T3 (RECORD] |Provides a list of functions that Function [HELP] use the [RECORD] key. Directory Clear PROGRAM 1770-T3 [CLEAR Provides a list of all functions that Memory MEMORY] _ juse the [CLEAR MEMORY] key. Directory [HELP] All Directory As Applicable 1770-T3 [CANCEL To terminate Functions COMMAND]
Page 80
Page 9-6
TABLE 9-4, Search Functions
FUNCTION MODE | !NDUSTRIAL KEY DESCRIPTION UNC ° TERMINAL SEQUENCE Locate first rung | Any Any [SEARCH] [t] |Positions cursor on the first of program instruction of the program. Locate last rung | Any Anyi [SEARCH] [+] |Positions cursor on the of program TEMPORARY END instruction, if present, or the END statement. Locate first PROGRAM Any a [SEARCH] [+] [Positions cursor on first instruction of instruction of the current rung. current rung Locate output Any Any a [SEARCH] [+] |Positions cursor on the output instruction of instruction of the current rung. current rung Locate rung Any 1770-T3 [SHIFT] Locates any rung left incomplete without an [SEARCH] due to an interruption in output programming. Instruction Locate specific Any Any i [SEARCH] Locates instruction searched for. instruction [Instruction |Press [SEARCH] to locate the keys] next occurrence of instruction. [Address] Locate specific |Any Any @ [SEARCH] [8] jLocates this address in the word address [Address] program (excluding -| |- and -|/|- instructions). Press [SEARCH] to located the next occurence of this address. Single rung Any Any a [SEARCH] _ [Displays the first rung of a display [DISPLAY] multiple rung display. Press key sequence again to view multiple rungs. Ml 1770-11, -T2 or -T3
9.5.2 Search for Last Rung
The last rung of the program (END statement) can be located from any position in the pro- gram by pressing [SEARCH][¥]. The cursor willstop at the TEMPORARY END instruction, if present, or the END statement. With the 1770-T3 Industrial Terminal, if the cursor was on the TEMPORARY END instruction, the END statement can be reached by pressing the [SEARCH][¥] keys again. With the 1770- T1 or -T2 Industrial Terminal, the temporary END statement must be removed in order to locate the END statement.
9.5.3 Search for First Instruction of a Rung
With the Processor in the PROGRAM mode, the first instruction of the rung containing the cursor can be located by pressing [SEARCH] f+]. If not in PROGRAM mode, the cursor will move off the screen to the left. To bring it back, press the [+] key. The cursor is dis- played by blinking the instruction.
9.5.4 Search for Output Instruction of a Rung
With the Processor in any mode, the output instruction of the rung containing the cursor can be located by pressing [SEARCH] [-].