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

The text of a manual · part 14 of 15

Communication Adapter Module (cat. no. 1771-KA2) User's Manual, pages 131 to 140

Pages 131 to 140 of 144

The original document is the PDF (2.0 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 1771-KA2

Page 131

Chapter 10 Design Aids and Documentation

Figure 10.4 PLC-2/30 Memory Organization Total Decimal Words

Octal Word Address

Decimal Words Per Area

000 8

8

Processor Work Area No. 1 Rack 1

010–017

Rack 2

020–027

Rack 3 Rack 4 Rack 5

030–037 040–047 050–057 060–067 070–077

64

56

Rack 6 Rack 7

72

8

Processor Work Area No. 2

128

56

007 010 1

77 100 107 110

Rack 1

110–117

Rack 2

120–127

Rack 3 Rack 4 Rack 5

130–137 140–147 150–157

Rack 6 Rack 7

160–167 170–177

256

128

Timer/Counter Preset Values or Internal Storage

384

128

Expansion 1

512

128

Expansion 2

128

Input Image Table Rack address areas that are not configured as input image table become available for timer/counter preset values or word/bit storage.

2

177 200

Timer/Counter ACC Values or Internal Storage

640

Output Image Table Rack address areas that are not configured as output image table become available for timer/counter accumulated values or word/bit storage.

277 300 377 400 Data table can be expanded in 128 word increments (unused sections are utilized for user program storage) up to 8064 words maximum.

577 600 777 1000

Expansion 3 (etc.)

1177 1200

User Program Storage (User Program Begins After End of Last Data Table Expansion)

1

027 –– Bits in this word are used by the processor for battery low condition, message generation and data highway.

2

125 and 126 –– These words are used to indicate remote rack fault status in a remote I/O system.

3

Report generation messages can be stored in memory locations not used by data table or user program.

End of Program

Up to 8192

Message Storage

3

17777

10-5

Page 132

Chapter 10 Design Aids and Documentation

Figure 10.5 Mini-PLC-2 Memory Organization Octal Address

Decimal Words Used in Each Area

Total Decimal Words Used

8

8

Word

17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00 000 Processor Work Area No. 1 007

00

010

00

017 020

17 00

026

17

0

16

8

Bit

0

0

0

1

1

1

0

1

0

0

16 Data Bit Word Output Image Table

1

1

0

0

0

17

Bit/Word Storage 24

64

8

40

Not Available for Word Storage Timer/Counter Accumulated Values (AC) (or Bit/Word Storage)

027 030

00

077

17

100

00

107

17

110

00

120

00

127

17

130

00

177

17

200

00

Processor Work Area No. 2 72

80

8

8

Input Image Table

Bit/Word Storage 88

128

8

40

Timer/Counter Preset Values (PR) (or Bit/Word Storage)

User Program 512

1024

10-6

384

512

End of Memory Optional Second Memory Area (512 Words)

DATA TABLE

Page 133

Chapter 10 Design Aids and Documentation

Figure 10.6 Mini-PLC-2/05 Memory Organization

Total Decimal Words

Bit Address

Word Address

Decimal Words Per Area

000

00

007 010

17 00

017 020

17 00

026 027 030

17

077 100

17 00

Processor Work Area No. 1 8

8

Output Image Table 8

16

Bit/Word Storage 8

24

Reserved

64

40

72

8

1

2

Timer/Counter Accumulated Values (AC) (or Bit/Word Storage)

3

00

Processor Work Area No. 2 107 110

17 00

117 120

17 00

Factory– Configured Data Table 6

Maximum Size of Data Table

Input Image Table 80

8

88

8

Bit/Word Storage

4 5

40

128

127 130

17 00

177 200

17 00

Timer/Counter Preset Values (PR) (or Bit/Word Storage)

Expanded Data Table and/or User Program 2944

2816

3072

128 1 2 3 4 5 6

5577 17 User Program End of Memory

May not be used for accumulated values. Not available for bit/word storage. Bits in this word are used by the processor. Unused timer/counter memory words can reduce data table size and increase user program area. May not be used for preset values. Do not use word 127 for block transfer data storage. Can be decreased to 48 words.

10-7

Page 134

Chapter 10 Design Aids and Documentation

Figure 10.7 Sample Form (publication 5030) for Switch Settings on Communication Adapter Module (cat. no. 1771-KA2)

DATE: BY:

ALLEN–BRADLEY DATA HIGHWAY SWITCH SETTINGS COMMUNICATIONS ADAPTER MODULE CAT. NO. 1771–KA (Publication 5030 –– October, 1980) STATION NO. INSTRUCTIONS: USE A PENCIL TO DARKEN SWITCHES TO SHOW PROPER SETTINGS, AS SHOWN. KEEP THIS FORM WHERE IT CAN BE EASILY REFERENCED.

NO. 5 –– SEND UNPROTECTED COMMANDS w ON –– ENABLED w OFF –– DISABLED

NO. 2 –– RECEIVE UNPROTECTED COMMANDS w ON –– ENABLED w OFF –– DISABLED

ON EXAMPLE:

STATION NO.

NO. 1 –– RECEIVE PROTECTED COMMANDS w ON –– ENABLED w OFF –– DISABLED O 1 N

2

3

4

5

6

O F F

NO. 3 –– UNUSED, MAY BE ON OR OFF

FIRST DIGIT

SECOND DIGIT

O 1 N

O 1 N

2

2

THIRD DIGIT 3

O F F

O F F

O 1 N

2

3

O F F

O 1 N

2

O F F

ON

2 1

4 2 1

4 2 1

OFF

0 0

0 0 0

0 0 0 BOTH ON FOR 57.6 BAUD RATE SWITCH LOCATIONS

NO. 4 –– RECEIVE PRIVILEGED WRITE w ON –– ENABLED w OFF –– DISABLED NO. 6 –– PROCESSOR LINK BAUD RATE w ON –– PLC-2/20 PROCESSOR OR MINI-PROCESSOR MODULE w OFF –– PLC-2 PROCESSOR

COVER PLATE SWITCH LOCATION

10-8

OFF

Page 135

Chapter 10 Design Aids and Documentation

Figure 10.8 Sample Form (publication 5032) for Command Listing--From Station

DATE: BY:

ALLEN–BRADLEY DATA HIGHWAY COMMAND LISTING – FROM STATION (Publication 5032 – October, 1980)

STATION NO.

EXAMPLE:

COMMANDS AT THIS STATION

COMMAND TYPE

PRIORITY/ NORMAL

REMOTE STATION NO. ADDRESSED

04010

WRITE

N

022

COMMAND TYPE

PRIORITY/ NORMAL

REMOTE STATION NO. ADDRESSED

AREAS CONTROLLED

START BITS

DONE BIT

ENTER WORD ADDRESSES

(ENTER INFORMATION AS SHOWN)

START BIT STATUS WORDS

AREAS CONTROLLED

START BITS

1

AT LOCAL STATION

AT REMOTE STATION

060 – 062

051 – 053

AT LOCAL STATION

COMMENTS PARTS COUNT

AT REMOTE STATION

COMMENTS

17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00 START/DONE

(DARKEN USED BITS FOR QUICK REFERENCE.)

ADJACENT STATUS WORDS

REMOTE/LOCAL FAULT REMOTE FAULT BITS 1

LOCAL FAULT BITS

NOTE: WHEN A START BIT IS SELECTED, A DONE BIT, A REMOTE FAULT BIT, AND A LOCAL FAULT BIT ARE AUTOMATICALLY ASSIGNED. REFER TO USER’S MANUAL, COMMUNICATION ADAPTER MODULE.

10-9

Page 136

Chapter 10 Design Aids and Documentation

Figure 10.9 Sample Form (publication 5033) for Command Listing--To Station

DATE: BY: ALLEN–BRADLEY DATA HIGHWAY COMMAND LISTING – TO STATION (Publication 5033 – October, 1980) STATION NO. DIRECTIONS: USE THIS FORM TO DOCUMENT COMMANDS RECEIVED AT THIS STATION FROM OTHER STATIONS. EXAMPLE:

10-10

REMOTE STATION SENDING COMMAND STATION NO.

COMMAND TYPE

DATA WRITTEN TO ADDRESS(ES)

COMMENTS

010

WRITE

023–025

TEMP. VALUES

REMOTE STATION SENDING COMMAND STATION NO.

COMMAND TYPE

DATA WRITTEN TO ADDRESS(ES)

COMMENTS

Page 137

Chapter 10 Design Aids and Documentation

We have tried to present information on the KA2 module in a way that will be most helpful to you. Obviously we don’t try to make errors and omissions, but they crop up. If you feel there’s a way we could be of greater assistance, please contact us at Allen-Bradley Industrial Computer Group, Publication Department, 747 Alpha Drive, Highland Heights, Ohio 44143. Many thanks.

10-11

Page 138

Chapter 10 Design Aids and Documentation

10-12

Page 139

Appendix

A

Error Code Listing

Code 00 01, 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29

STS Byte of Reply Message (in Hex) 00

Meaning No Error Processor communications problem. May be processor fault. No memory in communication adapter module for START bit file MEMORY ACCESS RUNG FORMAT First GET instruction incorrectly entered Invalid station number Second GET instruction incorrectly entered Third GET instruction incorrectly entered Third GET address less than second GET address (improper access boundary definition) Invalid end of access branch (BRANCH END instruction must be inserted. Invalid end of access rung Beginning of next rung invalid. (Refers to any rung after a memory access rung.) Or, BRANCH START instruction missing. COMMAND RUNG FORMAT START bit in lower byte. (START bit must be selected from upper byte, bits 10-17) Second EXAMINE element incorrectly entered Invalid command code Invalid remote station number in command code Invalid element in bit write rung First GET incorrectly entered (word command format) Second GET incorrectly entered (word command format) Third GET incorrectly entered (word command format) End of rung incorrectly entered (word command format) Beginning of new command rung invalid or memory access rung programmed following command rung. REMOTE/LOCAL FAULT word not in data table. (START/DONE word incorrectly chosen.) Unprotected command not allowed by switch setting at local station. Same start bit used in more than one command rung. Excessive number of command rungs (more than 256). Timeout setting too large. Valid timeout settings are 011 to 407. A setting of 010 disables the timeout. Bad address in command rung. Bad size in read/write command.

A-1

Page 140

Appendix A Error Code Listing

Code

STS Byte of Reply Message (in Hex)

Meaning COMMUNICATIONS ERRORS (MAY BE DISPLAYED IN CONJUNCTION WITH REMOTE/LOCAL FAULT BITS)

30 31 32 33 34 35 36

Processor memory discrepancy Controller communications problem. May be processor fault. Improper command message size Invalid command code Invalid station number Attempt to send unprotected command invalid Command execution aborted by sending station processor

37 38 50 51 52 53 54 55

Command execution aborted. Execution time exceeds timeout preset value. Local processor entered the program mode Processor communications problem. May be processor fault. Invalid transparent word in reply message No communication zone rungs in program Reply not expected. (Reply received, but START bit is OFF) Processor memory not in format for communication Invalid reply. (Reply received, but communication zone rungs are incorrectly entered. Or, reply received when processor mode select keylock switch is in the PROGRAM LOAD POSITION.) Program status indicator (PROG) may be ON to indicate this type of error condition. May mean memory access rung missing for received protected command

56 57 81 82 83 84 85

A-2

10 30 40 50

86 87 88

60 70 80

89

90

8B

B0

92 93

02 03

Incorrect sequence number in reply. (Refers to transparent word in message format.) Reply message is of incorrect size Illegal command Station processor communication problem Remote station processor faulted or OFF I/O fault at remote station processor Transmitted command disallowed by switch setting or memory access rung programming at remote station Transmitted command disallowed by switch setting at remote station Remote station processor in PROG or PROGRAM LOAD mode Communication zone invalid at remote station processor. Program status indicator (PROG) may be ON at that station. Remote station communication adapter module unable to buffer received command in memory Remote station is in download mode; or error in download command; or operation not allowed in upload or download mode; or operation not allowed when not in download mode. Destination station fails to respond Contention between master stations prevents message transmission