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

The text of a manual · part 56 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 454 to 462

Pages 454 to 462 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 454

Appendix E Quick Reference

EAF Function Numbers If you want to perform an operation of this type

Use this function number

The Mini-PLC-2/02, Mini-PLC-2/16 and Mini-PLC-2/17 can perform these functions. Addition Subtraction Multiplication Division Square Root BCD to Binary Binary to BCD FIFO Load FIFO Unload Log10 Sin x Cos x 10x

(01) (02) (03) (04) (05) (13) (14) (28) (29) (30) (35) (36) (37)

The Mini-PLC-2/17 can perform these additional functions. Loge Y to the X y+/-x Powers of e e+/-x Reciprocal 1/x Averaging Standard Deviation PID Set Clock Set Date Set Leap Year and Day of the Week Read Clock Read Date Read Leap Year and Day of the Week

E-10

(31) (33) (32) (34) (06) (07) (27) (10) (11) (12) (15) (16) (17)

Page 455

Appendix E Quick Reference

Editing Functions Function

Key Sequence

Mode

Insert a condition instruction

[INSERT] (instruction) (address)

Program

Description Position the cursor on the instruction that will precede the instruction to be inserted. Then press the key sequence. 1 2 Position the cursor on the instruction that will follow the instruction to be inserted. Then press the key sequence. 1 2 or [INSERT][]

(instruction) (address)

Remove a condition instruction

[REMOVE] (instruction)

Program

Position the cursor on the instruction to be removed and press the key sequence. 1

Insert a rung

[INSERT][RUNG]

Program

Position the cursor on the instruction in the preceding rung and press the key sequence. Enter instructions and complete the rung. 1

Remove a rung

[REMOVE][RUNG]

Program

Position the cursor anywhere on the rung to be removed and press the key sequence. 1

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) []

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.

(Address) Program on line

[SEARCH] 5 2

Initiates online programming.

Replace an instruction or change the address of an instruction without data

[Instruction] (Address)

Program

Position the cursor on the instruction to be replaced or whose address is to be Press the desired instruction key (or key sequence) and the required address(es).

Change data on line

[SEARCH] 5 1 (Data)

Run/Program

Position the cursor on the word or block instruction whose data is to be changed. Press the key sequence. Cursor keys can be used.

[RECORD]

Press [RECORD] to enter the new data into memory.

[CANCEL COMMAND] All editing functions

[CANCEL COMMAND]

To terminate online data change. Program Run/Program

Aborts the operation at the current cursor position.

1

1

These functions can also be used during online programming.

2

When bit address exceeds 5 digits, press the [Expand Addr] key before entering address and enter a leading zero if necessary. IMPORTANT: Only addresses corresponding to output energize, latch and unlatch instructions are cleared to zero.

E-11

Page 456

Appendix E Quick Reference

Execution Times and Words Per Instruction

Approximate Execution Time Per Scan and Words Per Instruction Instruction Instruction Name

Symbol

True average µ sec.

False average µ sec.

Words Per Instruction

These instructions are features of Mini-PLC-2/02, Mini-PLC-2/16, and Mini-PLC-2/17 Examine On Examine Off Output Energize Output Latch Output Unlatch

-[ ]-[ / ]-( )-(L)-(U)-

7 10 5 10 8 10 7 10 7 10

6 10 5 10 8 10 6 10 6 10

1 1 1 1 1 1 1 1 1 1

Get Put Equal Less Than Get Byte Limit Test

-[G]-(PUT)-(=)-(<)-]B[-]L[-

15 10 12 10 12 10 14 10 11 10 13 10

7 13 10 13 10 14 10

1 1 1 1 1 1 1 1 1 1 1 1

Counter Reset Retentive Timer Reset Timer On-Delay Retentive Timer On-Delay Timer Off-Delay Up Counter Down Counter

-(CTR)-(RTR)-(TON)-(RTO)-(CTD)-(CTU)-(CTD)-

19 19 51 52 55 38 36

6 6 36 33 39 30 31

1 1 1 1 1 1 1

1 2 3 4 5 6 7 8 9 10 11

E-12 add 1 word per instruction when its address is 4008 or greater add 2 words per instruction when its address is 4008 or greater 1 word 999 words 1 bit 999 bits with 2 data values with 10 data values with 50 data values add 8 µs per instruction when its address is 4008 or greater add 16 µs per instruction when its address is 4008 or greater

Page 457

Appendix E Quick Reference

Approximate Execution Time Per Scan and Words Per Instruction (continued) Instruction Instruction Name

Symbol

True average µ sec.

False average µ sec.

Words Per Instruction

Add Subtract Multiply Divide Add Subtract Multiply Divide Square Root BCD to Binary Binary to BCD FIFO Load

-(+)-(-)-(x)-(x)-(:)-(:)EAF 01 EAF 02 EAF 03 EAF 04 EAF 05 EAF 13 EAF 14 EAF 28 EAF 29

9 10 8 10 18 11 20 11 30 30 30 30 30 31 31 116 116 117 117 55 55 56 55

1 1 1 1 2 2 2 2 3 3 3 3 3 3 3 3

FIFO Unload

29 10 32 10 201 11 184 9 247 252 915 1442 1007 228 192 409 3 8051 4 377 3 8051 4 222 5 534 6 234 5 482 6

Bit Shift Left Bit Shift Right

3 5 5

Examine Off Bit Shift Examine On Bit Shift Set Bit Shift Reset Bit Shift

EAF 18 EAF 19 EAF 16 EAF 17

58 60 61 61

18 18 20 20

3 3 3 3

Log 10 Sin X Cos X

EAF 30 EAF 35 EAF 36

807 538 538

30 30 30

3 3 3

1 2 3 4 5 6 7 8 9 10 11 add 1 word per instruction when its address is 4008 or greater add 2 words per instruction when its address is 4008 or greater 1 word 999 words 1 bit 999 bits with 2 data values with 10 data values with 50 data values add 8 µs per instruction when its address is 4008 or greater add 16 µs per instruction when its address is 4008 or greater

E-13

Page 458

Appendix E Quick Reference

Approximate Execution Time Per Scan and Words Per Instruction (continued) Instruction Instruction Name

Symbol

True average µ sec.

False average µ sec.

Words Per Instruction

10x Master Control Reset Zone Control Last State Branch Start Branch End End, Temporary End Subroutine Area Immediate Input Update Immediate Output Update

EAF 37 -(MCR)-(ZCL)-

685 7 12 8 8 11 * 62 67

30 7 8 6 10 8 13 9

3 1 1 1 1 1 1 1 1

Label Return Jump to Subroutine Jump Block Transfer Read Block Transfer Write Sequencer Output Sequence input Sequencer Load File-To-File Move Word-To-File Move File-To-Word Move

LBL -(RET)-(JSR)-(JMP)-

17 * * 34 54 54 343 418 283 291 153 153

0 9 10 52 52 72 36 69 60 49 49

1 1 1 1 2 2 5 5 4 5 4 4

T. END SBR -[I]-(IOT)-

SEQ 0 SEQ 1 SEQ 2 FILE 10 FILE 11 FILE 12

* = combined true execution time - 79 µs 1 add 1 word per instruction when its address is 4008 or greater 2 add 2 words per instruction when its address is 4008 or greater 3 1 word 4 999 words 5 1 bit 6 999 bits 7 with 2 data values 8 with 10 data values 9 with 50 data values 10 add 8 µs per instruction when its address is 4008 or greater 11 add 16 µs per instruction when its address is 4008 or greater

E-14

Page 459

Appendix E Quick Reference

Approximate Execution Time Per Scan and Words Per Instruction (continued) Instruction Instruction Name

Symbol

True average µ sec.

False average µ sec.

Words Per Instruction

These EAF instructions are features of the Mini-PLC-2/17 only. Set Clock Set Date Set Leap Year and Day of Week Read Clock Read Date Read Leap Year and Day of Week PID

EAF 10 EAF 11 EAF 12

217 225 167

30 30 31

3 3 3

EAF 15 EAF 16 EAF 17

203 205 138

30 30 31

3 3 3

EAF 27

2450 (typical) 3500 (max.)

118

3

Loge Powers of e (e+/-x) Powers of Y (y+/-x) Reciprocal (1/x) Average (3-digit

EAF 31 EAF 32 EAF 33 EAF 34 EAF 06

30 30 30 30 101 101

3 3 3 3 3

Average (6-digit)

EAF 06

Standard Deviation (3-digit)

EAF 07

Standard Deviation (6-digit)

EAF 07

1727 2071 1500 1620 2463 7 6787 8 2784 9 2103 7 3374 8 10038 9 4260 7 34430 8 162384 9 13532 7 23322 8 70746 9

1 2 3 4 5 6 7 8 9 10 11

98 98 98 119 119 119 101 101 101

3 3 3 add 1 word per instruction when its address is 4008 or greater add 2 words per instruction when its address is 4008 or greater 1 word 999 words 1 bit 999 bits with 2 data values with 10 data values with 50 data values add 8 µs per instruction when its address is 4008 or greater add 16 µs per instruction when its address is 4008 or greater

E-15

Page 460

Appendix E Quick Reference

FIFO Load and FIFO Unload File Full Bit FIFO Load Conditioning Bit

File Address

130 00

15

060 G 000

030 G 040

031 G 005

032 G 060

050 G 000 040 G 000 FIFO Unload Conditioning Bit

050

Input Word Address Current Data Being Loaded

Input Word Address (

File Length Result Word Address (Number of Words Currently in File)

042 G 000

130

050

01

14

061 G 000

043 G 000

044 G 000

The File

Output Word Address Current Data Being Unloaded

FIle Enpty Bit

File Address

034 G 005

035 G 061

File Length

E-16

070 ) 00

070 ) 00 070 ( ) 00

( 041 G 000

033 G 040

EXECUTE AUX FUNCTION FUNCTION NUMBER:28 DATA ADDR: 030 RESULT ADDR: 050

Output Word Address

EXECUTE AUX FUNCTION FUNCTION NUMBER:29 033 DATA ADDR: 050 RESULT ADDR:

(

070 ) 00

Page 461

Appendix E Quick Reference

Graphic Programming

Alphanumeric/Graphic Key Definitions Key

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.

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] positions 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 outputs off.

[CTRL][I]

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]

E-17

Page 462

Appendix E Quick Reference

ASCII Control Codes Control Code 1

1 2 3

E-18

Display 2

ASCII Mnemonic

Name

CTRL 0

3

NU

NUL

NULL

CTRL A

3

SH

SOH

START OF HEADER

CTRL B

3

SX

STX

START OF TEXT

CTRL C

3

EX

ETX

END OF TEST

CTRL D

ET

EOT

END OF TRANSMISSION

CTRL E

EQ

ENQ

ENQUIRE

CTRL F

AK

ACK

ACKNOWLEDGE

CTRL G

BL

BEL

BELL

CTRL H

BS

BS

BACKSPACE

CTRL I

HT

HT

HORIZONTAL TAB

CTRL J

LF

LF

LINE FEED

CTRL K

VT

VT

VERTICAL TAB

CTRL L

FF

FF

FORM FEED

CTRL M

CR

CR

CARRIAGE RETURN

CTRL N

SO

SO

SHIFT OUT

CTRL O

SI

SI

SHIFT IN

CTRL P

DL

DLE

DATA LINK ESCAPE

CTRL Q

D1

DC1

DEVICE CONTROL 1

CTRL R

D2

DC2

DEVICE CONTROL 2

CRTL S

D3

DC3

DEVICE CONTROL 3

CTRL T

D4

DC4

DEVICE CONTROL 4

CTRL U

NK

NAK

NEGATIVE ACKNOWLEDGE

CTRL V

SY

SYN

SYNCHRONOUS IDLE

CTRL W

EB

ETB

END OF TRANSMISSION BLOCK

CTRL X

CN

CAN

CANCEL

CTRL Y

EM

EM

END OF MEDIUM

CTRL Z

SB

SUB

SUBSTITUTE

ESCAPE

EC

ESC

ESCAPE

CTRL,

FS

FS

FILE SEPARATOR

CTRL-

GS

GS

GROUP SEPARATOR

CTRL.

RS

RS

RECORD SEPARATOR

CTRL/

US

US

UNIT SEPARATOR

DELETE

DT

DEL

DELETE

Some ASCII control codes are generated using non standard keystrokes. Will be displayed when Control Code Display option is set ON in Alphanumeric mode, only. (Not in Report Generation mode). Invalid key in Report Generation mode.