The text of a manual · part 58 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 472 to 479
Pages 472 to 479 of 490, 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.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-LW /LWD, Allen-Bradley 1772-LWP, Allen-Bradley 1772-LX / LXP and Allen-Bradley 1772-LZP
Page 472
Appendix E Quick Reference
PROC Indicator If the PROC indicator Green
And the processor is in the Run mode operating normally • program is executing • outputs are enabled.
You should No action required is in MEM STORE mode and EEPROM memory module is being programmed. The indicator will be ON for a few seconds and then then turn OFF. Blinking Green has an I/O configuration error • there is an illegal backplane switch combination (i.e., switch 4 is ON, switch 5 is OFF) • the I/O is not in complementary fashion (32-pt. I/O only).
Check the switch settings and module placement.
Red has a possible hardware failure • program is not executing • if switch 1 of the switch group assembly if OFF, outputs are disabled
Cycle power. If the problem still persists, call your A-B representative.
data lines on the I/O chassis could be shorted to ground Off is operating normally in Program or Remote Test mode is operating in Run mode, it has a memory or program error
Change the processor to Program mode, correct problem and cycle power. If problem still persists, call your A-B representative.
E-28
Page 473
Appendix E Quick Reference
Report Generation
Address Delimiters
Delimiter Format
Explanation
Message Report Format
*XXX*
Enter 3-digit word address between delimiters.
Displays the 3-digit 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 3-digit 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 between delimiters.
Displays the 3-digit BCD value at assigned word address.
!XXX!
Enter 3, 4, or 5-digit word address between delimiters.
Displays the 4-digit hex value at address.
&XXX1& &XXX0&
Enter 3, 4, or 5 digit word address and a upper byte or a for lower byte between delimiters.
Displays the 3-digit 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.
Report Generation Commands Command Enter report generation function
Key Sequence
Description
[RECORD][DISPLAY] Set baud rate (Message Code Keys)
Puts industrial terminal into report generation function.
Message store
[M][S][,] (Message Number) [RETURN]
Stores message in processor memory. Use [ESC] to end message.
Message print
[M][P][,] (Message Number) [RETURN]
Prints message exactly as entered.
Message report
[M][R][,] (Message Number) [RETURN]
Prints message with current data table 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] [M][R][RETURN]
Allows messages to be printed through program control.
Exit automatic report generation
[ESC] [CANCEL COMMAND] 1
Terminates automatic report generation.
Exit report
[ESC] [CANCEL COMMAND]
Returns to ladder diagram display. Terminates Report Generation Function.
1
Same (entered from a peripheral device).
1
[CANCEL COMMAND] can only be used if the function was entered by a command from a peripheral device.
E-29
Page 474
Appendix E Quick Reference
Search
Search Functions Function
Key Sequence
Mode
Locate first rung of program
[SEARCH][↑]
Any
Positions cursor on the first instruction of the program.
Locate last rung of 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
Positions 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
Positions 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.
[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 the 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 a single rung.
[SEARCH] [4][4]
Any
Prints a ladder diagram dump.
[SEARCH] [4][5]
Remote Prog
Prints a total memory dump.
[SEARCH] [5][0]
Any
Prints the first 20 lines of data table configuration.
[SEARCH] [5][3]
Any
Prints the first 20 lines of bit manipulation.
[SEARCH] [5][4]
Any
Prints the 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
Locate specific instruction
1
E-30
Description
Places the processor in remote program mode.
Enter leading zeros when bit address exceeds 5 digits or word address exceeds 3 digits.
Page 475
Appendix E Quick Reference
Sequencer Instructions Key Sequence SEQ 0
SEQ 1
SEQ 2
1770-T3 Display SEQUENCER OUTPUT COUNTER ADDR: 030 CURRENT STEP: 001 SEQ LENGTH: 001 WORDS PER STEP: 1 FILE: 110- 110 MASK: 010- 010 OUTPUT WORDS 2: 1: 010 3: 4:
030 EN 17 030 DN 15
LOAD WORDS 1: 010 3:
Output instruction Increments, then transfers data. Same data transferred each scan that the rung is true. Counter is indexed by the instruction. Unused output bits can be masked. Requires 5-8 words of your program.
Input instruction. Compares input data with current step for equality. Counter must be externally indexed by a counter instruction within your program. Unused input bits can be masked. Requires 5-8 words of your program.
SEQUENCER INPUT COUNTER ADDR: 030 CURRENT STEP: 000 SEQ LENGTH: 001 WORDS PER STEP: 1 FILE: 110- 110 MASK: 010- 010 INPUT WORDS 2: 1: 010 3: 4:
SEQUENCER LOAD COUNTER ADDR: 030 CURRENT STEP: 000 SEQ LENGTH: 001 WORDS PER STEP: 1 FILE: 110- 110
Instruction Notes
030 EN 17 030 DN 15
Output instruction. Increments, then loads data. Counter is indexed by the instruction. Does not mask. Requires 4-7 words of your program.
2: 4:
Important: Numbers shown are default values. Numbers in shaded areas must be replaced by user-entered 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 the:
Counter Address
Address of the instruction in the accumulated value area of the data table
Position
Position in the sequencer table (accumulated value of counter)
Seq Length
Number of steps (preset value of the counter)
Words per Step
Width of the sequencer table
File
Starting address of the source file
Mask
Starting address of the mask file
Word Address
Address of the source word or destination word outside of the file
Output Words
Words controlled by the instruction
Load Words
Words fetched by the instruction
Input Words
Words monitored by the instruction
E-31
Page 476
Appendix E Quick Reference
Switch Group Assembly Settings
Set Switches 1, 4, 5 and 8 If you want:
Then set:
And
Outputs to remain in their last state when a fault (red LED in ON) is detected 1
Switch 1 ON
--
Outputs to de-energize when a fault (red LED is ON) is detected 1
Switch 1 OFF
--
2-slot addressing
2
1-slot addressing
3
Switch 4 OFF Switch 4 OFF Switch 4 ON
Switch 5 OFF Switch 5 ON Switch 5 ON
Switch 8 OFF
--
1/2-slot addressing 4 RAM memory protect disabled RAM memory protect enabled 1 2
3
4
5
E-32
5
Switch 8 ON
Last state switch only on PLC-2/16 and -2/17 series C or later, and PLC-2/02 series A or later. When using 2-slot addressing and 8-pt. I/O modules: a 16-slot chassis equals one rack which can address 128 I/O. See chapters 5 and 7. When using 1-slot addressing and 16-pt. I/O modules: a 16-slot chassis equals two racks which can address 256 I/O. See chapters 5 and 7. When using 1/2-slot addressing and 16-pt. I/O modules: a 16-slot chassis can address four racks which equals 512 I/O. See chapters 5 and 7. When memory protect is enabled, you can only change the status and value of the bits in the first 128 words (word addresses up to 1778) of the data table.
Page 477
Appendix E Quick Reference
Set Switches 6 and 7 If
And
Then
Without and EEPROM installed in your processor Switch 6 is OFF
Switch 7 may be either ON or OFF
With a battery installed and a program stored in RAM memory, your processor powers-up in the mode identified by the position of the mode select switch. If the mode select switch is in the RP position, the processor will power-up in the remote program mode. Without a battery installed and without a program stored in RAM memory, your processor powers-up in the program mode or remote program mode (depending on the keyswitch position) and a PROCESSOR MEMORY INVALID message appears on the 1770-T3 terminal.
Switch 6 is ON
If
Switch 7 may be either ON or OFF
If the mode select switch is in RP position with valid memory, the processor powers up in the same mode (run/program, remote test or remote test or remote program) that it powered down in. If the switch is not in the R/P position, then the power up mode is determined by the position of the switch (run or program).
And
Then
With an EEPROM installed in your processor Switch 6 is OFF
Switch 7 may be either ON or OFF
Contents of the EEPROM memory module area transferred to RAM memory whether or not RAM memory is valid. If switch 6 is OFF, your processor powers-up in the mode selected by the keyswitch. 2
Switch 6 is ON
Switch 7 is ON
Contents of the EEPROM memory module are not transferred to RAM memory is RAM memory is valid. 1 Contents of the EEPROM memory module are transferred to RAM memory if RAM memory is not valid. 2
Switch 6 is ON
Switch 7 is OFF
With a battery installed and a program stored in RAM memory, your processor powers-up in the mode identified by the position of the mode select switch. 1 Contents of the EEPROM memory module are not transferred to RAM memory. Without a battery installed and without a program stored in RAM memory, your processor powers-up in the program mode and a PROCESSOR MEMORY INVALID message appears on the 1770-T3 terminal.
1
2
If the mode select switch is in the RP position, then the processor powers-up in the last programmed mode or operation, i.e. Run/Program, Remote Test, Remote Program. If the mode select switch is in the RP position, then the processor powers-up running (RUN/PROG mode). We recommend that you put the mode select switch in the PROG position so that the processor will power-up in the program mode.
E-33
Page 478
Appendix E Quick Reference
Timer Instructions Important: The timer word address, XXX, is assigned to the timer 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. The time base 1.0, 0.1 or 0.01 second. Preset values, YYY, and accumulated values, ZZZ, can vary from 000-999. Bit 15 is the timed bit. Bit 17 is the enable bit. 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
-(TON)-
Timer On Delay
XXX -(TON)TB PR YYY AC ZZZ
When the rung is true, the timer begins to increment the accumulated value at a rate specified by the time base.
XXX -(TOF)TB PR YYY AC ZZZ
When the rung is true, the timer resets the accumulated value to 000.
-(RTO)TB PR YYY AC ZZZ
When the rung is true, the timer begins to increment the accumulated value. When false, the accumulated value is retained.
When the rung is true and AC = PR: bits 15 and 17 set
XXX -(RTR)PR YYY AC ZZZ
XXX - Word address of the retentive timer. It is resetting.
When the rung is true: bits 15 and 17 are reset
-(TOF)-
-(RTO)-
-(RTR)-
Timer Off Delay
Retentive Timer
Retentive Timer
Rung Conditions
When the rung is false, the timer resets the accumulated value to 000.
When the rung is false, the timer begins to increment the accumulated value.
The preset and accumulated values are automatically entered by the industrial terminal. When the rung is true,t he accumulated value and status bits are reset.
E-34
Status Bits When the rung is true and AC = PR: bits 15 and 17 set When the rung is false: bits 15 and 17 reset When the rung is true: bits 15, 17 are set When the rung is false and AC = PR: bits 15 and 17 reset
When the rung is false: bit 15 no action taken, but bit 17 is reset
When the rung is false: no action is taken
Page 479
Appendix E Quick Reference
Diagnostic Word 027
Internal Control Functions Diagnostic Word: Word 027 Bits in word 027 are used by the processor for internal control functions. This Bit:
Stores this Information:
00
(Battery low) - set when the battery is low.
01
(EEPROM) - set indicates that EEPROM transferred at power-up. This bit is always reset (0) when the processor powers down
02
(STI too long) - set indicates subroutine execution time plus program transition time exceed service time.
03
Reserved.
04 05 06 07
Reserved for Data Highway - set when the processor is connected to the line and actively communicating with the Data Highway.
10
Report Generation message 1 enable bit
11
Report Generation message 2 enable bit
12
Report Generation message 3 enable bit
13
Report Generation message 4 enable bit
14
Report Generation message 5 enable bit
15
Report Generation message 6 enable bit
16
Report Generation busy bit
17
Report Generation done bit
E-35