The text of a manual · part 55 of 59
Mini-PLC-2/02, 2/16, 2/17 Processor (cat. no. 1772-LZ, LZP, LX, LXP, LW, LWP) User Manual: E - Quick Reference, pages 446 to 454
Pages 446 to 454 of 492, from Mini-PLC-2/02, 2/16, 2/17 Processor (cat. no. 1772-LZ, LZP, LX, LXP, LW, LWP) User Manual
The original document is the PDF (2.5 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-LX / LXP
Page 446
Appendix
E
Quick Reference
List of References Adjusting the Data Table ................................. E-22 Block Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-4 Clearing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-66 Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-7 Data Monitor Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-88 Data Transfer File Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-9 EAF Function Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-10 Editing Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-11 Execution Timer and Words Per Instruction . . . . . . . . . . . . . . . . . . E-12 FIFO Load and FIFO Unload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-16 Graphic Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-17 Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-19 Memory Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-20 Memory Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-211 PID Control Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-244 PROC Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-28 Report Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-299 Search Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-30 Sequencer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-31 Switch Group Assembly Settings . . . . . . . . . . . . . . . . . . . . . . . . . . E-32 Timer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-344 Diagnostic Word 027 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E-35
E-1
Page 447
Appendix E Quick Reference
Adjusting the Data Table
E-2
For Data Table Sizes Between 48 and 26 Words
Number of Timers and Counters
Data Table Size
Number of Timers and Counters
Data Table Size
Number of Timers and Counters
Data Table Size
000
0048
001 002 003 004 005
0050 0052 0054 0056 0058
036 037 038 039 040
0120 0122 0124 0126 0128
071 072 073 074 075
0190 0192 0194 0196 0198
006 007 008 009 010
0060 0062 0064 0066 0068
041 042 043 044 045
0130 0132 0134 0136 0138
076 077 078 079 080
0200 0202 0204 0206 0208
011 012 013 014 015
0070 0072 0074 0076 0078
046 047 048 049 050
0140 0142 0144 0146 0148
081 082 083 084 085
0210 0212 0214 0216 0218
016 017 018 019 020
0080 0082 0084 0086 0088
051 052 053 054 055
0150 0152 0154 0156 0158
086 087 088 089 090
0220 0222 0224 0226 0228
021 022 023 024 025
0090 0092 0094 0096 0098
056 057 058 059 060
0160 0162 0164 0166 0168
091 092 093 094 095
0230 0232 0234 0236 0238
026 027 028 029 030
0100 0102 0104 0106 0108
061 062 063 064 065
0170 0172 0174 0176 0178
096 097 098 099 100
0240 0242 0244 0246 0248
031 032 033 034 035
0110 0112 0114 0116 0118
066 067 068 069 070
0180 0182 0184 0186 0188
101 102 103 104
0250 0252 0254 0256
Page 448
Appendix E Quick Reference
For Data Table Sizes Between 384 and 7808 Words Enter
Data Table Size
Enter
Data Table Size
The Mini-PLC-2/02 has this number of data table blocks. 3 4 5 6 7 8 9
384 512 640 768 896 1024 1152
10 11 12 13 14 15
1280 1408 1536 1664 1792 1920
The Mini-PLC-2/16 has this additional number of data table blocks. 16 17 18 19 20 21 22 23
20488 2176 2304 2432 2560 2688 2816 2944
24 25 26 27 28 29 30 31
3072 3200 3328 3456 3584 3712 3840 3968
The Mini-PLC-2/17 has this additional number of data table blocks. 32 33 34 35 36 37 38 39 40 41 42 42 44 45 46
4096 4229 4352 4480 4608 4736 4864 4992 5120 5248 5376 5504 5632 5760 5888
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
6016 6144 6272 6400 6528 6656 6784 6912 7040 7168 7296 7424 7552 7680 7808
E-3
Page 449
Appendix E Quick Reference
Block Transfer Instructions
BLOCK XFER Key Method
Key Sequencer
1770-T3 Display
BLOCK XFER 0
BLOCK XFER WRITE
BLOCK XFER 1
DATA ADDR: MODULE ADDR: BLOCK LENGTH: FILE:
Instruction Notes
030 100 01 110-110
BLOCK XFER READ DATA ADDR: MODULE ADDR: BLOCK LENGTH: FILE:
BLOCK XFER 0
031 100 01 110-110
BLOCK XFER WRITE DATA ADDR:
030
MODULE ADDR:
110
BLOCK LENGTH:
05
FILE:
200--204 BLOCK XFER READ
DATA ADDR:
031
MODULE ADDR:
110
BLOCK LENGTH:
05
FILE:
BLOCK XFER 1
300-304 BLOCK XFER WRITE
DATA ADDR: MODULE ADDR: BLOCK LENGTH: FILE:
030 110 05 200-204
BLOCK XFER READ DATA ADDR: MODULE ADDR: BLOCK LENGTH: FILE:
031 110 05 300-304
010 EN 06 110 DN 06 010 EN 07
Output instruction. Block length depends on kind of module. Entire file transferred in one scan. Done bit remains on for one scan after valid transfer.
Data read from I/O module must be buffered Uses two words of user program for each instruction.
110 DN 07 011 EN 06
Set block lengths equal or to default value for module. Enter both instruction blocks for bi-directional block transfer.
111 DN 06 011 EN 07 111 DN 07 011 EN 06 111 DN 06 011 EN 07
Same module address used for read and write instruction. Enable read and write instructions in same scan. Order of operation determined by the module. Refer to the module user's manual. Enter both instruction blocks for bi-directional block transfer.
111 DN 07
IMPORTANT: Numbers shown are default values. The number of default address digits displayed (3 or 4) will depend on the size of the data table.
E-4
Page 450
Appendix E Quick Reference
Here is an explanation of each value: This Value:
Stores the:
Data Address
First possible address in the timer/counter accumulated value area of the data table
Module Address
RGS for R = rack, G = module, S = slot number
Block Length
Number of words to be transferred Enter 00 for default value or for 64 words
File
Address of the first word of the file
Enable bit -(EN)-
Automatically entered from the module address Set on when the rung containing the instruction is true
Done bit -(DN)-
Automatically entered from the module address Remains on for 1 program scan following successful transfer
Two GET Method WYZ G
XYZ G
RGS
ABC
0RGST
Conditions (optional) 10410-I
Here is an explanation of the optional conditions: This Condition:
Examine the:
WYZ
First timer/counter address (accumulated area).
XYZ
Timer/counter address 1008 higher than WYZ (preset area).
RGS
Location of the block transfer module (I/O rack, module group. and module slot. S is a zero for the left slot and a 1 for the right slot. For a 2-slot module, S is always zero.
ABC
Starting address where data in transferred to/from.
0RGST
Output energize initiates Block Transfer. 0 = output byte R = rack G = module group S = module slot T = 6 for write operation; 7 for read operation
E-5
Page 451
Appendix E Quick Reference
Clearing Memory Function
Key Sequencer
Mode
Description
Data table clear
[CLEAR MEMORY] [77] (Start Address_ (End Address) [CLEAR MEMORY]
Program
User program clear
[CLEAR MEMORY] [88]
Program
Position the cursor at the desired location in the program. Clears the user program from the position of the cursor to the first boundary: i.e. temporary end, subroutine area or end statement. Does not clear data table or messages.
Partial memory clear
[CLEAR MEMORY] [99]
Program
Clears user program and messages from position of the cursor. Does not clear data table unless the cursor is on the first program instruction.
Total memory clear
[CLEAR MEMORY] [99]
Program
Position the cursor on the first instruction of the program. Clears user program messages and data table.
Displays a start address and an end address field. Start and end word addresses determine boundaries for data table clearing. Clears data table within and including addressed boundaries.
Important: When memory protect is active, memory cannot be cleared except for data table addresses 0108-1778 with a programmed EEPROM installed.
E-6
Page 452
Appendix E Quick Reference
Counter Instructions Important: The counter word address, XXX, is assigned to the counter accumulated areas of the data table. To determine which addresses are valid accumulated areas, the third digit from the right must be an even number. This Bit:
Contains This Information:
14 overflow/underflow bit
15 count complete bit
16 enable bit for CTD instruction
17 enable bit for CTU instruction
The word address displayed will be 3 or 4 digits long depending on the data table size. When entering the word address, use a leading zero if necessary. Key Symbol
Instruction Name
1770-T3 Display
Rung Conditions
-(CTU)-
Up Counter
XXX -(CTU)PR YYY AC ZZZ
Each time the rung goes true, the accumulated value is incremented one counter. The counter continues counting after the preset value is reached.
When the rung is true: If AC> 999 bit 14 is set When AC ≥ PR bits 15 and 17 are set
The accumulated value can be reset by the CTR instruction
When the rung is false: Bit 14 and 15 are retained; if they were set, bit 17 is reset
XXX -(CTR)PR YYY AC ZZZ
XXX - Word address of the CTU is resetting.
When the rung is true: Bits 14, 15, 16, 17 are reset
The preset and accumulated values are automatically entered by the industrial terminal. When the rung is true the CTU and CTD accumulated value and status bits are rest to 000.
When the rung is false: No action is taken
XXX -(CTD)PR YYY AC ZZZ
Each time the rung goes true, the accumulated value is decreased by one count.
When the rung is true: AC is < 000 Bit 14 is set When AC<PR bits 15 and 16 are set
-(CTR)-
-(CTD)-
Counter Reset
Down Counter
Status Bits
When the rung is false: Bits 14 and 15 are retained; if they were set, bit 16 is reset
E-7
Page 453
Appendix E Quick Reference
Data Monitor Functions
E-8
Function
Key Sequence
Mode
Display
[DISPLAY] [0]
Any
Displays the binary data monitor.
[DISPLAY][0] [RECORDS]
Any
Prints the first 20 lines of binary data monitor.
Display
[DISPLAY][1]
Any
Displays the hexadecimal data monitor.
[DISPLAY][1] [RECORD]
Any
Prints the first 20 lines of hexadecimal data monitor.
Display
[DISPLAY][2]
Any
Displays the ASCII data monitor.
[DISPLAY][2] [RECORD]
Any
Prints the first 20 lines of ASCII data monitor.
Description
Page 454
Appendix E Quick Reference
Data Transfer File Instructions Key Sequence
1770-T3 Display
FILE 10
FILE TO FILE MOVE
FILE 11
COUNTER ADDR: POSITION: FILE LENGTH: FILE A: FILE B: RATE PER SCAN:
030 001 003 200- 202 300- 302 003
WORD TO FILE MOVE COUNTER ADDR: 030 POSITION:
001
FILE LENGTH:
003
WORD ADDR:
010
FILE R: FILE 12
Instruction Notes
POSITION:
001
FILE LENGTH:
003
WORD ADDR:
Output instruction. Modes: Complete, Distributed, and Incremental Counter is internally incremented by the instruction. Requires 5 words of user program.
030 DN 15
030 DN 15
Output instruction. Counter must be externally indexed by user program. Data is transferred every scan that rung is true. Requires 4 words of user program.
110- 112
FILE TO WORD MOVE COUNTER ADDR: 030
FILE A:
030 EN 17
030 DN 15
Same as Word-To-File.
200- 202 010
Important: Numbers shown are default values. The number of default address digits displayed (3 or 4) will depend on the size of the data table.
Here is an explanation of each value: This Value:
Stores This:
Counter address
Address of the instruction's file position in the accumulated value area of the data table.
Position
Current word being operated upon (accumulated value of the counter).
File length
Number of words in file (preset value of the counter).
File A
Starting address of the source file.
File R
Starting address of the destination file.
Word address
Address of the source word or destination word outside of the file.
Rate per scan
Number of words of data moved per scan.
E-9