Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 41 of 59

Mini-PLC-2/02, 2/16, 2/17 Processor (cat. no. 1772-LZ, LZP, LX, LXP, LW, LWP) User Manual: 21 - Sequencers, pages 341 to 347

Pages 341 to 347 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 341

Chapter 21 Sequencer

Start by positioning your cursor on the words SEQUENCER OUTPUT. Use the arrow keys to move the cursor.

DISPLAY

0

The word DISPLAY appears in the lower left hand corner of the screen. BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00000000 00000000 00000000 002 00000000 00000000 00000000 00000000 003 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 005 00000000 00000000 00000000 00000000 006 00000000 00000000 00000000 00000000 DATA: 00000000 00000000

006

The cursor is on the last digit of DATA of the first word in the command buffer. The digits in step 1 for word 1 are intensified.

00000000 00001010

BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00000000 00000000 00000000 002 00000000 00000000 00000000 00000000 003 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 005 00000000 00000000 00000000 00000000 006 00000000 00000000 00000000 00000000 DATA: 00000000 00001010

006

21-17

Page 342

Chapter 21 Sequencers

INSERT

BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00001010 00000000 00000000 002 00000000 00000000 00000000 00000000 003 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 005 00000000 00000000 00000000 00000000 006 00000000 00000000 00000000 00000000 DATA: 00000000 00001010

006

Data is inserted into Step 1 of Word 1. Cursor down one line. ↑↑

00000000 00001010

INSERT

21-18

The cursor is on the last digit of DATA of the second word in the command buffer. The digits in step 2 for word 2 are intensified. BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00001010 00000000 00000000 002 00000000 00000000 00000000 00000000 003 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 005 00000000 00000000 00000000 00000000 006 00000000 00000000 00000000 00000000 DATA: 00000000 00001010 BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00001010 00000000 00000000 002 00000000 00001010 00000000 00000000 003 00000000 00000000 00000000 00000000 004 00000000 00000000 00000000 00000000 005 00000000 00000000 00000000 00000000 006 00000000 00000000 00000000 00000000 DATA: 00000000 00001010

006

006

Page 343

Chapter 21 Sequencer

Cursor down one line. The cursor is on the last digit of DATA of the third word in the command buffer. The digits in step 3 for word 3 are intensified.

↑↑

Continue adding your data: 003: 00001000 00100010 004: 00100000 00100010 005: 00000000 00100010 006: 00000010 00001010 To add data to WORD 2 press [Shift] [→] and cursor up or down as needed. Do not press [Cancel Command]. We will use the display to add a mask. DISPLAY

000

The word DISPLAY appears in the lower left corner of the Industrial Terminal Screen. BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00000000 00000000 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00001010 00000000 00000000 002 00000000 00001010 00000000 00000000 003 00001000 01000001 00000000 00000000 004 00000000 00010010 00000000 00000000 005 00000000 00100010 00000000 00000000 006 00000010 00001010 00000000 00000000 DATA: 00000000 00000000

006

The cursor is on the last digit OUTPUT ADDR(ess) of DATA in the command buffer. The digits for OUTPUT ADDR 012, DATA are intensified. Cursor down one line. ↑↑

00101010 10101010

The digits for MASK ADDR 075. DATA are intensified. The screen does not change.

21-19

Page 344

Chapter 21 Sequencers

INSERT

CANCEL COMMAND

Sequencer Load

BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 001 SEQUENCER LENGTH: COUNTER ADDR: 200 FILE: 600- 613 013 OUTPUT ADDR: 012 DATA: 00000000 00000000 00000000 00000000 MASK ADDR: 075 076 DATA: 00101010 10101010 00000000 00000000 STEP WORD 1 WORD 2 001 00000000 00001010 00000000 00000000 002 00000000 00001010 00000000 00000000 003 00001000 01000001 00000000 00000000 004 00100000 00010010 00000000 00000000 005 00000000 00100010 00000000 00000000 006 00000010 00001010 00000000 00000000 DATA: 00101010 10101010

006

To display your rung.

The Sequencer Load instruction places data into the sequencer file you established in the data table for this instruction. Here are some characteristics of the sequencer load instruction. This instruction is programmed as an output instruction. You cannot mask any unused bits. The counter is internally indexed by the instruction (external counter is not required). This instruction requires 4-7 words of the user program memory. A false-to-true rung transition enables the instruction. When the rung becomes: True False

The instruction increments to the next step and loads the data. No action is taken.

Use this instruction for: Machine diagnostics – If the actual sequence of an operation becomes mismatched with the desired sequence of operation as contained in the sequencer input instruction, a fault signal can be enabled by the user program. Teach sequential operation – The I/O conditions representing the desired operation can be loaded into the sequencer input tables as the machine is manually stepped through the control cycle.

21-20

Page 345

Chapter 21 Sequencer

ATTENTION: The counter address of the sequencer load instruction should be reserved for that instruction. Do not manipulate the counter accumulated or preset word. Changes to these values could result in unexpected machine operation with damage to equipment and injury to personnel.

You are now ready to program your sequencer load instruction.

The word SEQUENCER is displayed in the lower left corner of the screen. SEQ

SEQUENCER INPUT COUNTER ADDR: 030 CURRENT STEP: 001 SEQ LENGTH: 001 WORDS PER STEP: 1 FILE: 110- 110

2

INPUT WORDS 1: 010 3:

030 EN 17 030 DN 15

2: 4:

Insert the following values. The cursor moves automatically throughout the Sequencer Load instruction. The values are: COUNTER ADDRESS CURRENT STEP SEQ LENGTH WORDS PER STEP FILE LOAD WORDS

056 008 012 4 510 1: 110 2: 113 3: 012 4: 314

To continue, enter your data using the binary data monitor mode. You will get your data from the worksheet (Figure 21.7). A filled-in block means a 1 should be inserted in the corresponding bit location.

21-21

Page 346

Chapter 21 Sequencers

Figure 21.7 Completed Sequencer Load Worksheet

PROJECT NAME

ALLEN-BRADLEY Programmable Controller Sequencer Table Bit Assignments

PAGE

PROCESSOR

Mini–PLC-2/16

DATA TABLE ADDR

TO

Bottle Filling Applications

DESIGNER

Engineer

COUNTER ADDR:

030

WORD ADDR:

110

SEQUENCER

Load

FILE

600

TO

SEQ LENGTH:

OF

012

MASK ADDR:

WORD #1 17

10 07

WORD #2 00 17

10 07

WORD #3 00 17

10 07

WORD #4 00 17

10 07

00

D E N V A I M C E E MASK STEP

1 2 3 4 5 6 7 8 9 10 11 12

FROM ADDR TO ADDR 10152-I

21-22

Page 347

Chapter 21 Sequencer

Load your data from Figure 21.6 exactly as you did in the Sequence Input and Output instructions.

CANCEL COMMAND

To display your rung.

Your Sequencer Load instruction should look like this.

COUNTER ADDR:

056

BINARY DATA MONITOR SEQUENCER OUTPUT STEP: 008 FILE: 510- 567

SEQUENCER LENGTH:

012

LOAD ADDR: 110 DATA: 00000000 00000000 STEP 001 002 003 004 005 006 007 008 009 010 011 012

WORD 1 00000010 00000000 00000000 10000010 01000000 00000000 10000000 00000000 00000000 00000001 00100000 00000000

10000000 10001000 00100100 00001000 00010000 00000001 00100000 10000000 10000000 00010000 00000000 00000000

21-23