The text of a manual · part 29 of 29
1772 Mini PLC-2/05 Processor (Cat. No. 1772-LS, LSP) Programming and Operations Manual, pages 281 to 289
Pages 281 to 289 of 289
The original document is the PDF (1.4 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-LSP
Page 281
Appendix C Quick Reference
Table C.X Troubleshooting Aids Function Bit monitor
Bit manipulation
Key Sequence
Mode
[SEARCH] [5][3] [Address] [↑]or[↓]
Any
[SEARCH] [5][3] [←] or [→] [1] or [0] See FORCING below
Test or Run/Program
Description Displays the on/off status of all 16 bits at specified word address and corresponding force conditions if they exist. Displays the status of 16 new bits at the next lowest or highest word address, respectively. Displays the on/off status of all 16 bits at specified word address and corresponding force conditions if they exist. Moves cursor to the bit to be changed. Enter a 1 to set bit on or a 0 to reset a bit. Forcing or removing forces from input bits or output devices.
Either of above
[CANCEL COMMAND]
To terminate.
Force On
[FORCE ON] [INSERT]
Test or Run/Program
Position the cursor on the image table bit to be forced on and press the key sequence. The input bit or output device is forced on.
Removing a Force On
[FORCE ON] [REMOVE]
Test or Run/Program
Position the cursor on the image table bit whose force on is to be removed and press the key sequence.
Removing all Force On
[FORCE ON] [CLEAR MEMORY]
Test or Run/Program
Position cursor anywhere in program and press key sequence.
[FORCE OFF] [INSERT]
Test or Run/Program
Position the cursor on the image table bits to be whose force off is to be removed and press the key sequence.
Removing all Force Off
[FORCE OFF] [CLEAR MEMORY]
Test or Run/Program
Position the cursor anywhere in program and press key sequence.
Forced address display
[SEARCH] [FORCE ON] or [SEARCH] [FORCE OFF]
Any
Force Off
[CANCEL COMMAND] Inserting a temporary end instruction
Remove a temporary end instruction
Displays a list of the bit addresses that are forced on and forced off. The [SHIFT][] and [SHIFT][] keys can be used to display additional forces.
To terminate.
[INSERT] [←][T.END] or [INSERT] [T.END]
Program
[REMOVE] [T.END]
Program
Position the cursor on the instruction that willfollow the temporary end instruction. The remaining rungs, although displayed and accessible, are not scanned. Position the cursor on the instruction that will precede the temporary end instruction. The remaining rungs, although displayed and accessible, are not scanned. Position cursor on temporary end instruction and press key sequence.
NOTE: When in test mode, the processor will hold outputs off regardless of attempts to force them on.
C-25
Page 282
Index
Numbers 1770-T3, 1-2, 3-3, 3-6, 17-9, C-23 1772-LS, 3-2 1772-LSP, 3-4 1784-T50, 3-3, 3-6 3-digit math, 10-1
A equal block lengths, 14-7 file address, 14-7 format, 14-4 I/O scan, 14-3 length, 14-6 module address, 14-6 multiple reads, 14-14 program scan, 14-3 quick reference, C-15 run-time errors, 14-8 unequal block lengths, 14-7 accumulated values, 4-7, 8-1 bottle filling application, 18-9 addition, 10-2, 10-11 branching, 6-6 expanded math instructions, 10-9 nesting, 6-8 start/end, 6-7 additional messages, 17-4 address delimiters, 17-12, C-21 addresses, 6-2 ASCII control codes, 17-8 automatic restart, 18-2
B battery backup, 3-6 BCD, A-3 BCD to binary, 10-18 BCO, A-5 before you begin, 1-1 bidirectional block transfer, 14-11 binary coded decimal, BCD. See BCD binary coded octal. See BCO binary numbering, A-2 binary to BCD, 10-20 bit, 4-1 bit controlling instructions, 6-4 bit examining instructions, 6-3 bit manipulation, 19-2 bit monitor, 19-2 block length, 14-6 block transfer basic operation, 14-1 bidirectional block transfer, 14-11 block transfer read, 14-8 block transfer write, 14-10 buffering data, 14-16 data address, 14-5 enable/done bits, 14-8 buffering data, 14-16 byte, 4-1
C cascading timers, 18-4 central processing unit. See CPU changing an address, 16-5 changing an instruction, 16-5 changing data, 16-4, 16-6 clearing memory, 16-10, C-18 CMOS RAM, 1-2, 3-12 compare instruction equal to, 9-3 equal to or greater than, 9-9 equal to or less than, 9-7 get byte, 9-10 get byte/out, 9-11 greater than, 9-9 less than, 9-4 limit test, 9-5 complete mode, 11-3 conditioning instruction, 10-7 contact histogram, 19-3, C-24 control code, message, 17-6 control codes, C-23 control sequence, 2-8 controls programmable, 2-2 traditional, 2-1
Page 283
I–2
Index conventions, 1-2 counter instruction counter reset, 8-7 down counter, 8-7 quick reference, C-9 up counter, 8-6 counter reset, 8-7 CPU, 2-3
D data address, 10-5, 14-5 data initialization key, 16-16 data manipulation instruction, quick reference, C-10 data manipulation instructions, 9-1 compare, 9-3 transfer, 9-1 transfer and compare, 9-7 data monitor display, 11-5 data table, 2-4, 4-3 accumulated values and internal storage, 4-7 areas, 4-7 configuration, quick reference, C-2 expanding, 4-5 factory configuration, quick reference, C-3 preset values, 4-7 processor work area, 4-7 size, quick reference, C-2 data table clear, 16-11 data transfer file instruction, 11-1 decimal numbering, A-1 decimal values, 1-2 diagnosing run time errors, 19-1 distributed complete mode, 11-3 division, 10-3, 10-12 down counter, 8-7
E EAF, 1-2, 10-4 editing BCD to binary, 10-20 binary to BCD, 10-21 counter reset, 8-8 down counter, 8-8 equal to, 9-4 equal to or greater than, 9-10 equal to or less than, 9-8 examine on/examine off, 6-4 expanded math instruction, 10-15 file to file move, 11-14 functions, 16-1 get, 9-3 get byte, 9-11 get byte/put, 9-13 greater than, 9-9 immediate input/output update, 7-6 instruction, rules, 16-1 jump instruction, 13-3 label, 13-4 less than, 9-5 limit test, 9-7 MCR/ZCL, 7-3 output energize, 6-5 output latch/unlatch, 6-6 put, 9-3 quick reference, C-16 retentive timer on/reset, 8-5 square root, 10-18 three-digit math instruction, 10-4 timer on/timer off, 8-3 up counter, 8-8 editing functions, C-16 EEPROM, 1-2, 3-12 equal to, 9-3 equal to or greater than, 9-9 equal to or less than, 9-7 ERR message, 19-8 error handling, 10-10 examine off, 6-3 examine on, 6-3 execute auxiliary function. See EAF execution time, program, 15-2 executive auxiliary function. See EAF expanded math, 10-4 addition, 10-11 BCD to binary, 10-18 binary to BCD, 10-20 branch, 10-9 conditioning, 10-7 data address, 10-5 division, 10-12 error handling, 10-10 function number, 10-10 multiplication, 10-12 operations, 10-11 result address, 10-8 square root, 10-15 subtraction, 10-11 expanding, data table, 4-5, 11-8
Page 284
Index externally indexed, 11-2
F file address, block transfer, 14-7 file instruction data monitor display, 11-5 externally indexed, 11-2 file to file move, 11-9 file to word move, 11-16 internally indexed, 11-2 modes of operation, 11-3 quick reference, C-12 sequencer, comparison with, 12-1 types, 11-1 word to file move, 11-16 file to file move, 11-9 file to word move, 11-16 forcing, 19-5 function numbers, 10-10 fuse, 3-5
G generating messages, 17-3 get, 9-1 get byte, 9-10 get byte/put, 9-11 greater than, 9-9
H hardware, relates to image tables, 4-1 help directories, 16-13, C-19 hexadecimal numbering, A-6 hexadecimal values, 1-2
I I/O image tables, 2-4 I/O scan, 2-9, 5-1, 14-3 illegal opcode, 19-8 immediate input/output update, 7-4 incomplete rung, 16-9 incremental mode, 11-4 indicator, processor status, 3-3, 3-4 industrial terminal, 1-2, 3-6, C-23 industrial terminal keyboard, 3-11 input conditioning, 2-7 indication, 2-6 isolation, 2-7 termination, 2-6 input image table, 2-4 inserting branch start/end, 6-8 instruction, 16-2 rung, 16-4 installing the T3, 3-7 instruction addition, 10-2, 10-11 BCD to binary, 10-18 binary to BCD, 10-20 bit controlling, 6-4 bit examining, 6-3 block transfer, 14-1 branch start/end, 6-7 branching, 6-6 compare, 9-3 conditioning, 10-7 counter, 8-1, 8-5 counter reset, 8-7 data manipulation, 9-1 data transfer file, 11-1 division, 10-3, 10-12 down counter, 8-7 EAF, 10-4 editing rules, 16-1 equal to, 9-3 equal to or greater than, 9-9 equal to or less than, 9-7 execution time, C-4 expanded math, 10-4 file, 11-1 file to file move, 11-9 file to word move, 11-16 get, 9-1 get byte, 9-10 get byte/put, 9-11 greater than, 9-9 immediate input/output update, 7-4 inserting, 16-2 jump, 13-1 jump to subroutine, 13-2 label, 13-3 less than, 9-4 limit test, 9-5 master control reset, 7-1 math, 10-1 multiplication, 10-3, 10-12 output latch/unlatch, 6-5 output override, 7-1 program control, 7-1
I–3
Page 285
I–4
Index programming, 6-3 put, 9-2 relay, 6-1 retentive timer on, 8-4 retentive timer reset, 8-4 return, 13-2 sequencer, 12-1 sequencer input, 12-5 sequencer load, 12-19 sequencer output, 12-13 square root, 10-15 subroutine, 13-4 subtraction, 10-2, 10-11 temporary end, 19-7 three-digit math, 10-1 timer, 8-1 timer on/timer off, 8-2 transfer, 9-1 up counter, 8-6 word to file move, 11-16 zone control last state, 7-1 instruction execution times, 5-4 instructions, 2-6 interface socket, 3-3 internal storage, 4-7 internally indexed, 11-2 INTFC, 3-3, 3-7
J limit test, 9-5 limitations, sequencer instructions, 12-3
M machine control, 2-1 main program, 4-8 mask, 12-2 master control reset. See MCR math instruction addition, 10-2 division, 10-3 expanded math, 10-4 multiplication, 10-3 quick reference, C-11 subtraction, 10-2 three-digit, 10-1 MCR, 7-1 memory, 2-4 areas, 4-3 data table, 4-3 message storage area, 4-9 organization, 4-1 user program, 4-8 memory store switch, 3-3 message control code, 17-6 message control word, 17-5, 17-10 message delete, 17-14 jump, 13-1 message index, 17-14 jump instruction jump, 13-1 jump to subroutine, 13-2 label, 13-3 quick reference, C-14 return, 13-2 message print, 17-13 jump to subroutine, 13-2 modes of operation, 3-11 complete, 11-3 distributed complete, 11-3 file instruction, 11-3 incremental, 11-4
K key definitions, 3-8, C-22 keyboard, 3-11 keystroke directions, 1-3 keytop overlay, 3-8, 17-2
L label, 13-3 leading edge one shot, 18-1 less than, 9-4 message report, 17-13 message storage area, 4-9 message store, 17-11 messages 1-6, 17-3 module address, block transfer, 14-6 module group, 6-3 multiple block transfer reads, 14-14 multiplication, 10-3, 10-12
N nesting branches, 6-8 number systems, A-1
Page 286
Index
O octal numbering, A-2 octal values, 1-2 one shot, 18-1 online data change, 16-6, 16-13 online programming, 16-14 opcode, illegal, 19-8 operation, block transfer, 14-1 operations, expanded math, 10-11 output conditioning, 2-7 indication, 2-7 isolation, 2-8 termination, 2-7 output energize, 6-4 output image table, 2-4 output latch/unlatch, 6-5 output override instruction, 7-1
P P/S ACTIVE, 3-4 P/S PARALLEL, 3-4 paralleling cable, 3-12 master control reset, 7-1 quick reference, C-7 zone control last state, 7-1 program scan, 2-11, 5-1 programmable controller CPU, 2-3 data table, 2-4 I/O image tables, 2-4 input, 2-6 instructions, 2-6 memory, 2-4 output, 2-7 power supply, 2-8 program language, 2-5 program storage, 2-5 sections, 2-2 programmable controls, 2-2 programming, STI, 15-1 programming aids, 16-12 programming techniques automatic restart, 18-2 bottle filling application, 18-9 cascading timers, 18-4 one shot, 18-1 program control, 18-8 temperature conversions, 18-5 put, 9-2 partial memory clear, 16-12 POWER (switch), 3-5 power supply, 2-3, 2-8
R processor, 1-2 relay-type instruction branch start/end, 6-7 examine on/examine off, 6-3 output energize, 6-4 output latch/unlatch, 6-5 quick reference, C-6 processor mode select, 16-10 remote program, 3-11 processor status indicator, 3-3, 3-4 remote test, 3-11 processor work area, 4-7 removing branch start/end, 6-8 equal to, 9-4 examine on/examine off, 6-4 get, 9-2 immediate input/output update, 7-6 instruction, 16-3 label, 13-4 less than, 9-5 output energize, 6-5 put, 9-2 rung, 16-4 temporary end, 19-8 power switch, 3-4 preset values, 4-7, 8-1 PROC RUN/FAULT, 3-3 program execution time, 15-2 instructions, 6-3 language, 2-5 logic, 6-1 main, 4-8 scan, 14-3 storage, 2-5 subroutine area, 4-8 troubleshooting, 19-1 user, 4-8 program control, example, 18-8 program control instruction immediate input/output update, 7-4 report generation additional messages, 17-4
I–5
Page 287
I–6
Index address delimiters, 17-12 commands, 17-9, 17-10 generating messages, 17-3 message control word, 17-10 message delete, 17-14 message index, 17-14 message print, 17-13 message report, 17-13 message store, 17-11 messages 1-6, 17-3 programming example, 17-14 quick reference, C-20 reset, 6-2 result address, 10-8 retentive timer on, 8-4 retentive timer reset, 8-4 square root, 10-15 start-up conditions, 18-3 STI overview, 15-2 programming, 15-1 subroutine, 13-1, 13-4, 15-1 subroutine area, 4-8 subroutine instruction, quick reference, C-14 subtraction, 10-2, 10-11 switch assembly, 3-5 memory store, 3-3 power, 3-4 settings, 3-5 return, 13-2 run time errors block transfer, 14-8 diagnosing, 19-1 run/program mode, 3-11
S
T temperature conversions, 18-5 temporary end, 19-7 terminal strip, 3-5 three-digit math, 10-1 scan average time, 5-3 function, 5-1 sequence, 5-2 theory, 5-1 timer instruction cascading, 18-4 quick reference, C-8 retentive timer on, 8-4 retentive timer reset, 8-4 timer on/timer off delay, 8-2 scan sequence, 2-9 timer on/timer off, 8-2 search functions, 16-7, C-17 timer/counter storage, 2-4 searching, 16-6 total memory clear, 16-12 sections, 2-2 traditional controls, 2-1 selectable timed interrupt. See STI trailing edge one shot, 18-2 sequencer input, 12-5 transfer instruction equal to or greater than, 9-9 equal to or less than, 9-7 get, 9-1 get byte, 9-10 get byte/put, 9-11 greater than, 9-9 put, 9-2 sequencer instruction comparison with file instruction, 12-1 limitations, 12-3 mask, 12-2 quick reference, C-13 sequencer input, 12-5 sequencer load, 12-19 sequencer output, 12-13 table, 12-1 sequencer load, 12-19 sequencer output, 12-13 sequencer table, 12-1 set, 6-2 single rung display, 16-9 troubleshooting bit manipulation, 19-2 bit monitor, 19-2 contact histogram, 19-3 ERR message, 19-8 forcing, 19-5 quick reference, C-25 run time errors, 19-1
Page 288
Index temporary end instruction, 19-7
U
W word, 4-1 word to file move, 11-16 up counter, 8-6 user program, 4-8 user program clear, 16-11
V vocabulary, 1-2
Z ZCL, 7-1 zone control last state. See ZCL
I–7
Page 289
Allen-Bradley, a Rockwell Automation Business, has been helping its customers improve pro-ductivity and quality for more than 90 years. We design, manufacture and support a broad range of automation products worldwide. They include logic processors, power and motion control devices, operator interfaces, sensors and a variety of software. Rockwell is one of the worlds leading technology companies.
Worldwide representation. Argentina • Australia • Austria • Bahrain • Belgium • Brazil • Bulgaria • Canada • Chile • China, PRC • Colombia • Costa Rica • Croatia • Cyprus • Czech Republic • Denmark • Ecuador • Egypt • El Salvador • Finland • France • Germany • Greece • Guatemala • Honduras • Hong Kong • Hungary • Iceland • India • Indonesia • Ireland • Israel • Italy • Jamaica • Japan • Jordan • Korea • Kuwait • Lebanon • Malaysia • Mexico • Netherlands • New Zealand • Norway • Pakistan • Peru • Philippines • Poland • Portugal • Puerto Rico • Qatar • Romania • • Saudi Arabia • Singapore • Slovakia • Slovenia • South Africa, Republic • Spain • Sweden • Switzerland • Taiwan • Thailand • Turkey • United Arab Emirates • United Kingdom • United States • Uruguay • Venezuela • Yugoslavia
Allen-Bradley Headquarters, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444
Publication 1772-6.8.6 - May 1994 Supersedes Publication 1772-6.8.6 October 1984 Publication 1772-6.8.6 - May 1994 Supersedes Publication 1772-6.8.6 October 1984
PN 955118-05
Copyright 1994 Allen-Bradley Company, Inc. Printed in USA