The text of a manual · part 28 of 29
1772 Mini PLC-2/05 Processor (Cat. No. 1772-LS, LSP) Programming and Operations Manual, pages 271 to 280
Pages 271 to 280 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 271
Appendix C Quick Reference
Table C.N Block Transfer Instructions Key Sequence BLOCK XFER 0
1770-T3 Display Block Xfer Write Data Addr: Module Addr:
030 100
Block Length:
001
File: BLOCK XFER 1
110- 110 Block Xfer Write
Data Addr: Module Addr:
030 100
Block Length:
001
File: BLOCK XFER 0 BLOCK XFER 1
110- 110
Instruction Notes 010 EN 06 110 DN 06 010 EN 06
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 06
Enter both instruction blocks for bidirectional block transfer.
Set block lengths equal or to default value for module. Same module address used for read and write instruction. Enable read and write instructions in same scan. Order of operation determined by the module. See the module user's manual.
NOTE: Numbers shown are default values. Numbers in shaded areas must be replaced by user-entered values. The number of default address digits initially displayed (3 or 4) will depend on the size of the data table. To access the Data Monitor Display, enter all instruction parameters. Press key sequence: [DISPLAY][0] for the binary monitor mode; [DISPLAY][1] for the hexadecimal monitor mode.
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
C-15
Page 272
Appendix C Quick Reference
Table C.O Editing Functions 1 Function
Key Sequence
Mode
[INSERT] (Instruction) (Address) or [INSERT][ ] (Instruction) (Address)
Program
Removing a condition instruction
[REMOVE] (instruction)
Program
Position the cursor on the instruction to be removed and press the key sequence.
Inserting a rung
[INSERT] [RUNG]
Program
Position the cursor on any instruction in the preceding rung and press the key sequence. Enter instructions and complete the rung.
Removing a rung
[REMOVE] RUNG]
Program
Position the cursor anywhere on the rung to be removed and press the key sequence.
Inserting a condition instruction
Description Position the cursor on the instruction that will precede the instruction to be inserted. Then press key sequence. Position the cursor on the instruction that will follow the instruction to be inserted. Then press key sequence.
IMPORTANT: Only addresses corresponding to output energize, latch and unlatch instructions are cleared to zero. Change data of a word or block instruction
[INSERT] (Data)
Program
Position the cursor on the word or block instruction whose data is to be changed. Press the key sequence.
Change the address of a word or block instruction
[INSERT] (first Digit) [←] (Address)
Program
Position the cursor on a word or block instruction with data and press [INSERT]. Enter the first digit of the first data value of the instruction. Then use the [ ] and [ ]key as needed to cursor up to the word address. Enter the appropriate digits of the word address.
Online programming
[SEARCH] [5][2]
Replace an instruction or Change address of an instruction without data
[Instruction] (Address)
Program
Position the cursor on the instruction to be replace or whose address is to be changed. Press the desired instruction key (or key sequence) and the required address(es).
Online Data Change
[SEARCH] [5][1] (Data) [RECORD]
Run/Progra m
Position the cursor on the word or block instruction whose data is to be changed. Press sequence. Cursor keys can be used.
Initiates online programming.
Press [RECORD] to enter the new data into memory. To terminate online data change.
[CANCEL COMMAND] All editing functions
[CANCEL COMMAND]
Program
Aborts the operation at the current cursor position.
Run/Progra m
These functions can also be used during online programming. 1
C-16
When bit address exceeds 5 digits, press the [EXPAND ADDR] key before entering address and enter a leading zero if necessary.
Page 273
Appendix C Quick Reference
Table C.P Search Functions Function
Key Sequence
Mode
Locate first rung program
[SEARCH][↑]
Any
Positions cursor on the first instruction of the program.
Locate last rung program area
[SEARCH][↓]
Any
Positions cursor on the temporary end instruction, subroutine area boundary, or the end statement depending on the cursor's location. Press key sequence again to move to the next boundary.
Locate first instruction of current rung.
[SEARCH] [←]
Remote Prog
Position cursor on first instruction of the current rung.
Move cursor off screen
[SEARCH][←]
Remote Test Run/Program
Moves cursor off screen to left.
Locate output instruction of current rung
[SEARCH][→]
Any
Position cursor on the output instruction of the current rung.
Locate rung without an output instruction
[SHIFT] [SEARCH]
Any
Locates any rung left incomplete due to an interruption in programming.
Locate specific instruction
[SEARCH] [Instruction key] (Address)
Any
Locates instruction searched for. Press [SEARCH] to locate the next occurrence of instruction.
Locate specific word address
[SEARCH] (address)
Any
Locates this address in the program (excluding -| |- and -| / |- instructions and addresses in files). Press [SEARCH] to locate th next occurrence of this address. 1
Single rung display
[SEARCH] [DISPLAY]
Any
Displays the first rung of a multiple rung display by itself. Press key sequence again to view multiple rungs.
[SEARCH] [4] [3]
Any
Prints single rung.
[SEARCH] [4] [4]
Any
Prints ladder diagram dump.
[SEARCH] [4] [5]
Remote Prog
Prints total memory dump.
[SEARCH] [5] [0]
Any
Prints first 20 lines of data table configuration.
[SEARCH] [5] [3]
Any
Prints first 20 lines of bit manipulation.
[SEARCH] [5] [4]
Any
Prints first 20 lines of memory layout display.
Program controls outputs
[SEARCH] [5][9][0]
Run/Program
Places the processor in run/program mode.
Program executes outputs disabled
[SEARCH] [5][9][1]
Remote Test
Places the processor in remote test mode.
Processor awaits commands
[SEARCH] [5][9][2]
Remote Program
Places the processor in remote program mode.
1
Description
Enter leading zeros when bit address exceeds 5 digits or word address exceeds 3 digits.
C-17
Page 274
Appendix C Quick Reference
Table C.Q Clear Memory Functions Function
Key Sequence
Mode
[CLEAR MEMORY] [7][7] (Start Address) (End Address) [CLEAR MEMORY]
Program
User program clear
[CLEAR MEMORY] [8][8]
Program
Position the cursor at the desired location in the program. Clears 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] [8][8]
Program
Clears user program and messages from position of the cursor. Does not clear data table.
Total memory clear
[CLEAR MEMORY] [9][9]
Program
Position the cursor on the first instruction of the program. Clears user program and messages. Does not clear data table, unless the cursor is on the first program instruction.
Data table clear
Description Displays a start address and an end address field. Start and end word addresses determine boundaries for data table clearing. Clears the data table within and including addressed boundaries.
NOTE: When memory write protect is active, memory cannot be cleared except for data table addresses 010-177 with a programmed EPROM installed.
C-18
Page 275
Appendix C Quick Reference
Table C.R Help Directories Function
Key Sequence
Mode
Description
Help directory
[HELP]
Any
Displays a list of the keys that are used with the [HELP] key to obtain further directories.
Control function directory
[SEARCH] [HELP]
Any
Provides a list of all control functions that us the [SEARCH] key.
Record function directory
[RECORD] [HELP]
Any
Provides a list of functions that use the [RECORD] key.
Clear memory directory
[CLEAR MEMORY] [HELP]
Program
Data monitor directory
[DISPLAY] [HELP]
Any
Provides the choice of data monitor display accessed by the [DISPLAY] key.
File instruction directory
[FILE][HELP]
Any
Provides a list of all instructions that use the [FILE] key.
Sequencer directory
[SEQ][HELP]
Any
Provides a list of all instructions that use the instruction [SEQ] key.
Block transfer directory
[BLOCK XFER]
Any
Provides a list of all instructions that use the [BLOCK XFER] key.
[CANCEL COMMAND]
Any
To terminate.
All directories
Provides a list of all functions that use the [CLEAR MEMORY] key.
C-19
Page 276
Appendix C Quick Reference
Table C.S Report Generation Commands Command
Key Sequence
Enter report generation function
[RECORD[[DISPLAY] or Set baud rate, (Message Code Keys)
Puts industrial terminal into report generation function.
[M][S][,](Message Number) [RETURN]
Stores message in processor memory.
Message print
[M][P][,](Message Number) [RETURN]
Prints message exactly as entered.
Message report
[M][R][,](Message Number) [RETURN]
Prints message with current data values or bit status.
Message delete
[M][D][,](Message Number) [RETURN]
Removes message from processor memory.
Message index
[M][I][RETURN]
Lists messages used and the number of words in each message.
Automatic report generation
[SEARCH][4][0] or [M][R][RETURN]
Allows messages to be printed through program control.
Message store
Description
Same (entered from a peripheral device). Use [ESC] to end message.
Same (entered from a peripheral device). Exit automatic report generation
[ESC] or [CANCEL COMMAND] 1
Terminates automatic report generation.
Exit report
[ESC] or [CANCEL COMMAND] 1
Returns to ladder diagram display. Terminates Report Generation Function.
1
C-20
[CANCEL COMMAND] can only be used if the function was entered by a command from a peripheral device.
Page 277
Appendix C Quick Reference
Table C.T Address Delimiters Delimiter Format
Explanation
Message Report Format
*XXX*
Enter 3-digit word address between delimiters.
Displays BCD value at assigned word address.
*XXX1* or *XXX0*
Enter 3-digit word address and a for upper byte or a for lower byte between delimiters.
Displays the octal value at assigned byte address.
*XXXXX*
Enter 5-digit bit address between delimiters.
Displays the ON or OFF status of the assigned bit address.
#XXX#
Enter 3,4 or 5-digit word address Displays the 4-digit hex value between delimiters. at address.
&XXX1& &XXX0&
Enter 3,4 or 5-digit word address and a for upper byte or a for lower byte between delimiters.
Displays the octal value at the assigned byte address.
XXXXX
Enter 5,6 or 7-digit bit address between delimiters.
Displays the ON or OFF status of the assigned bit address.
C-21
Page 278
Appendix C Quick Reference
Table C.U Alphanumeric/Graphic Key Definitions Key
C-22
Function
[LINE FEED]
Moves the cursor down one line in the same column.
[RETURN]
Returns the cursor to the beginning of the next line.
[RUB OUT]
Deletes the last character or control code that was entered.
[REPT LOCK]
Allows the next character that is pressed to be repeated continuously until [REPT LOCK] is pressed again.
[SHIFT]
Allows the next key pressed to be a shift character.
[SHIFT LOCK]
Allows all subsequent keys pressed to be shift characters until [SHIFT] or [SHIFT LOCK] is pressed.
[CTRL]
Used as part of a key sequence to generate a control code.
[ESC]
Terminates the present function.
[MODE SELECT]
Terminates all functions and returns the mode select display to the screen.
Blank Yellow Keys
Space keys. Move the cursor one position to the right.
Page 279
Appendix C Quick Reference
Table C.V Industrial Terminal Control Codes Control Code Key Sequence
Function
[CTRL][P] [Column#][;] [Line#][A]
Positions the cursor at the specified column and line number. [CTRL][P][A] will position the cursor at the top left corner of the screen.
[CTRL][P][F]
Moves the cursor one space to the right.
[CTRL][P][U]
Moves the cursor one line up in the same column.
[CTRL][P][5][C]
Turns cursor on.
[CTRL][P][4][C]
Turns cursor off.
[CTRL][P][5][G]
Turns on graphics capability.
[CTRL][P][4][G]
Turns off graphics capability.
[CTRL][P][5][P]
Turns Channel C outputs on.
[CTRL][P][4][P]
Turns Channel C output off.
[CTRL][1]
Horizontal tab that moves the cursor to the next preset 8th position.
[CTRL][K]
Clears the screen from cursor position to end of screen and moves the cursor to the top left corner of the screen.
Key Sequence
Attribute 1
[CTRL][P][0][T]
Attribute 0 = Normal Intensity
[CTRL][P][1][T]
Attribute 1 = Underline
[CTRL][P][2][T]
Attribute 2 = Intensify
[CTRL][P][3][T]
Attribute 3 = Blinking
[CTRL][P][4][T]
Attribute 4 = Reverse Video
1
Any three attributes can be used at one time using the following key sequence: [CTRL][P][Attribute #][;][Attribute #][;][Attribute #][T]
C-23
Page 280
Appendix C Quick Reference
Table C.W Contract Histogram Functions Function
Key Sequence
Mode
Continuous contact histogram
[SEARCH][6] (Bit Address) [DISPLAY]
Any
[SEARCH][7] (Bit Address) [DISPLAY] [DISPLAY]
Any
Paged Contact
Either
C-24
[CANCEL COMMAND]
Description Provides a continuous display of the on/off history of the addressed bit in hours, minutes and seconds. Can obtain a hardcopy printout of contact histogram by connecting a peripheral device to Channel C and selecting proper baud rate before indicated key sequence. Displays 11 lines on/off history of the addressed bit in hours, minutes and seconds. Displays the next 11 lines of contact histogram. Can obtain a hard copy printout of contact histogram by connecting peripheral device to Channel C and selecting proper baud rate. To terminate.