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

The text of a manual · part 6 of 19

Classic 1785 PLC-5 Programmable Controllers User Manual (1785-LT, -LT2, -LT3, -LT4), pages 51 to 60

Pages 51 to 60 of 186

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 1785-LT2, Allen-Bradley 1785-LT3, Allen-Bradley 1785-LT4 and Allen-Bradley 1785-LT B

Page 51

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Summary Table 4.A summarizes the guidelines for selecting an addressing mode. Table 4.A Addressing Mode Summary

Assigning Racks

Addressing Mode

Guidelines

2-slot

• Two I/O module slots = 1 group • Each physical 2-slot I/O group corresponds to one word (16 bits) in the input image table and one word (16 bits) in the output image table • When you use 16-point I/O modules, you must install as a pair an input module and an output module in an I/O group; if you use an input module in slot 0, you must use an output module in slot 1 (or it must be empty). This configuration gives you the maximum usage of I/O. • You cannot use a block-transfer module and a 16-point module in the same I/O group because block-transfer modules use 8 bits in both the input and output table. Therefore, 8 bits of the 16-point module would conflict with the block-transfer module. • You cannot use 32-point I/O modules.

1-slot

• One I/O module slot = 1 group • Each physical slot in the chassis corresponds to one word (16 bits) in the input image table and one word (16 bits) in the output image table • When you use 32-point I/O modules, you must install as a pair an input module and an output module in an even/odd pair of adjacent I/O group; if you use an input module in slot 0, you must use an output module in slot 1 (or it must be empty). This configuration gives you the maximum usage of I/O. • Use any mix of 8- and 16-point I/O modules, block-transfer or intelligent modules in a single I/O chassis. Using 8-point modules results in fewer total I/O.

1/2-slot

• One half of an I/O module slot = 1 group • Each physical slot in the chassis corresponds to two words (32 bits) in the input image table and two words (32 bits) in the output image table • Use any mix of 8-, 16-, and 32-point I/O or block-transfer and intelligent modules. Using 8-point and 16-point I/O modules results in fewer total I/O. • With the processor-resident local rack set for 1/2-slot addressing, you cannot force the input bits for the upper word of any slot that is empty or that has an 8-point or 16-point I/O module. For example, if you have an 8-point or a 16-point I/O module in the first slot of your local rack (words 0 and 1 of the I/O image table, 1/2-slot addressing), you cannot force the input bits for word 1 (I:001) on or off.

The number of racks in a chassis depends on the chassis size and the addressing mode: If using this chassis size:

With 2-slot addressing, rack type is:

With 1-slot addressing, rack type is:

With 1/2-slot addressing, rack type is:

4-slot

1/4 rack

1/2 rack

1 rack

8-slot

1/2 rack

1 rack

2 racks

12-slot

3/4 rack

1-1/2 racks

3 racks

16-slot

1 rack

2 racks

4 racks

4-9

Page 52

Chapter 4 Assigning Addressing Modes, Racks, and Groups

When assigning rack numbers, use the following guidelines: One I/O rack number is eight I/O groups, regardless of the addressing mode that you select. You can assign from one to four racks in your processor-resident local chassis (128 inputs and 128 outputs) depending on the chassis size and addressing mode. You cannot split a processor-resident local I/O rack over two or more chassis or assign unused processor-resident local I/O groups to remote I/O racks. The default address of the processor-resident local rack is 0. You can change the default to 1 by setting bit 2 in the processor control word (S:26) on the processor configuration screen; you must also change the mode of the processor from run to program to run. An extended-local I/O and a remote I/O chassis cannot be addressed by the same I/O rack number. For example, if an 8-slot extended-local I/O chassis is configured as I/O groups 0-3 of I/O rack 2, an 8-slot remote I/O chassis cannot be configured as I/O groups 4-7 of I/O rack 2.

Remote I/O Racks You can assign a remote I/O rack to a fraction of a chassis, a single I/O chassis, or multiple I/O chassis: I/O Rack No.2

I/O Rack No.0 I/O Rack No.1 01 23 45 67 01 23 45 67

0

1

2 3

4 5

6

7

One 16-slot chassis, two racks Power source not indicated

One 16-slot chassis, one rack Power source not indicated I/O Rack No.3

0

1

2 3

One 4-slot chassis, 1/2 rack Power source not indicated

4-10

4

5

Two 2-slot chassis, 1/4 rack each Power source not indicated

6

7

16466

Page 53

Chapter 4 Assigning Addressing Modes, Racks, and Groups

When assigning remote I/O rack numbers, use the following guidelines: Limit the number of remote I/O rack numbers to those that your PLC-5 processor can support. The PLC-5 processor and the 1771-ASB adapter module automatically allocate the next higher rack number(s) to the remaining I/O groups of the chassis. For example, if you select 1/2-slot addressing for your processor-resident local chassis and you are using a 16-slot (1771-A4B) chassis, the processor will address racks 0, 1, 2, and 3 in this chassis.

Block-Transfer Module Racks Using 1/2-Slot Addressing To address a block-transfer module in a 1/2-slot I/O group, use the assigned rack number, the lower assigned I/O group number of the slot(s) in which the module resides, and 0 for the module number (Figure 4.4). Figure 4.4 Example Block-Transfer Module Address Using 1/2-Slot Addressing I/O Group Number

Rack 0 0–3

Rack 1 4–7

0–3

This example is valid for a single-slot BT module only.

Rack 2 4–7

0–3

Rack 3 4–7

0–3

4–7

Rack = 2 Group = 4 Slot = 0

4-11

Page 54

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Addressing Complementary I/O

You configure complementary I/O by assigning an I/O rack number of one I/O chassis (primary) to another I/O chassis (complementary), complementing modules I/O group for I/O group. The I/O modules in the complementary chassis perform the opposite function of the corresponding modules in the primary chassis. The PLC-5/15 and -5/25 processors operating as a remote I/O scanner support complementary I/O. Use these guidelines when you configure your remote system for complementary I/O: Assign the complementary I/O rack number to a chassis of any size. Do not place an input module opposite an input module; they will use the same bits in the input image table. You can place an output module opposite another output module; they use the same bits in the output image table. This allows you to use one output module to control a machine and use the other module with the same address to control an annunciator panel to display the machine condition. We do not, however, recommend this placement of modules for redundant I/O. You cannot configure the PLC-5 processor-resident local chassis with complementary I/O. The PLC-5 processor communicates with each processor-resident local I/O chassis as if it were a full I/O rack (eight I/O groups). Thus, if the processor-resident local chassis contains four I/O groups, the remaining four I/O groups of that I/O rack are unused; you cannot assign them to another chassis. You cannot use complementary I/O with a chassis that uses a combination of 32-point I/O modules and 1-slot addressing or 16-point I/O modules with 2-slot addressing. Important: For the PLC-5/15 and -5/25 processors, an autoconfigure is performed before the scanner begins communicating with the adapter.

Placing the Modules with 2-Slot Addressing Figure 4.5 shows a possible module placement to configure complementary I/O using 2-slot addressing.

4-12

Page 55

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Figure 4.5 Complementary I/O Configurations with 2-Slot Addressing Primary 16-Slot Chassis

I8

I/O Group Number Complementary 16-Slot Chassis

I8

0

O8

O8

O8

I 16

1

O8

I8

O16

O8

O8

2

I8

E M P T Y

3 E M P T Y

O8

I8 O8 BT 2

BT

BT

4

Double–slot BT

6

7

E M P T Y 3

E M P T Y 3

O8

E M P T Y3

O8

3

E M P T Y 3

O16

I 16

O16

I 16

O16

I 16

O16

O8

1

O16

I 16

1

Double–slot BT

5

E M P T Y 3

O8

O 16

Example A Primary 16-Slot Chassis I/O Group Number Complementary Chassis Not Allowed Except for Output

I 16

O16

0

I 16

O16

1

I 16

O16

2

I 16

3

4

5

6

7

Outputs in the complementary chassis use the same bits in the output image table as the outputs in the primary chassis. Example B

I = Input Module O = Output Module BT = Block Transfer Module 8 = 8-point I/O Modules 16 = 16- point I/O Modules 1 Output modules use the same output image transfer bits 2 Can be 8-point input or output module or single-slot block transfer module 3 Must be empty if corresponding primary slot is block transfer module 13079

4-13

Page 56

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Placing the Modules with 1-Slot Addressing Figure 4.6 shows a possible module placement to configure complementary I/O using 1-slot addressing. Figure 4.6 Complementary I/O Configurations with 1-Slot Addressing Primary 16-Slot Chassis

I

I

O

O

I

O

O

BT

Double–slot BT

O

I

I

I

O

O

1

I/O Group Number

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

Complementary 16-Slot Chassis

O

O

I

I

O

I

O

E M P T Y

E M P T Y 3

I, O, BT

I

O

O

O

I

I

1

3

2

Example A Primary 16-Slot Chassis

I

I

I

I

I

I

I

I

I

I

I

I

I

I

I

I

I/O Group Number

0

1

2

3

4

5

6

7

0

1

2

3

4

5

6

7

Complementary 16-Slot Chassis

O

O

O

O

O

O

O

O

O

O

O

O

O

O

O

O

Example B I = Input Module (8 or 16-point) O = Output Module (8 or 16-point) BT = Block Transfer Module 1 Output modules use the same output image table bits 2 Can be input or output module (8 or 16-point) single-slot block transfer module 3 Must be empty if corresponding primary slot is block transfer module

4-14

13080

Page 57

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Placing the Modules with 1/2-Slot Addressing Figure 4.7 shows a possible module placement to configure complementary I/O using 1/2-slot addressing. Figure 4.7 Complementary I/O Configurations with 1/2-Slot Addressing Primary 12-Slot Chassis

I

I/O Group Number

01

23

45

67

01

23

Complementary 12-Slot Chassis

O

O

I

I

O

I

I

O

O

I

O

BT

D o uble-slot BT

O

I

45

67

01

23

45

67

O

E M P T Y 3

E M P T Y 3

I, O , BT

I

O

O 1

1

2

Example A Primary 12-Slot Chassis

I

I

I

I

I

I

I

I

I

I

I

I

I/O Group Number

01

23

45

67

01

23

45

67

01

23

45

67

Complementary 12-Slot Chassis

O

O

O

O

O

O

O

O

O

O

O

O

Example B I = Input Module (8, 16, 32-point) O = Output Module (8, 16, 32-point) BT = Block Transfer Module 1 Output modules use the same output image table bits 2 Can be input or output module (8 or 16-point) single-slot block transfer module 3 Must be empty if corresponding primary slot is block transfer module

1 42 61

4-15

Page 58

Chapter 4 Assigning Addressing Modes, Racks, and Groups

Placing Complementary I/O Modules See Table 4.B for a summary of 8-, 16-, and 32-point I/O module placement guidelines. See Table 4.C for a summary of block-transfer module placement guidelines. Table 4.B Placement Summary for 8-, 16-, and 32-point Modules Used in Complementary I/O Addressing Method

Guidelines Types of Modules Used:

2-Slot

8- point

1-Slot

8- point, 16-point,

1/2-Slot

8- point, 16-point, 32-point

Placement Install input modules opposite output modules and output modules opposite input modules.

Table 4.C Placement Summary for Block-transfer Modules Used in Complementary I/O Addressing Method

4-16

Block-Transfer Placement Guidelines in Primary Chassis Using single-slot modules:

Using double-slot modules:

2-Slot

• The right slot of the primary I/O group can be another single-slot block transfer module, or an 8-point input or output module. • The left slot of the complementary I/O group must be empty. • In the right slot of the complementary I/O group, you can place an 8-point output module; this slot must be empty if the corresponding slot in the primary I/O group is a single-slot block transfer module.

• The left slot of the complementary I/O group must be empty. • In the right slot of the complementary I/O group, you can only place an 8-point output module (if any).

1-Slot

Leave the corresponding I/O group in the complementary chassis empty.

• The left slot of the two corresponding I/O slots in the complementary chassis must be empty. • In the right slot of the two corresponding I/O slots in the complementary chassis, you can place an input, output, or single-slot block transfer module (if any); the modules can be either 8-point or 16-point I/O modules.

1/2-Slot

Leave the corresponding I/O group in the complementary chassis empty.

• The left slot of the two corresponding I/O slots in the complementary chassis must be empty. • In the right slot of the two corresponding I/O slots in the complementary chassis, you can place an input, output, or single-slot block transfer module (if any); the modules can be 8-point ,16-point and/or 32-point I/O modules.

Page 59

Chapter

5

Choosing Communication

Chapter Objectives

Use this chapter to choose the appropriate communication for your application. If you want to read about:

Go to page:

Identifying channels for the processor

5-2

Configuring communication for your processor

5-3

Configuring Data Highway Plus (DH+)

5-3

Connecting DH+ to Data Highway

5-10

Choosing programming software

5-10

Choosing programming terminal connections

5-10

System Design Determined

Choosing Hardware Placing System Hardware Assigning Addressing Mode, Racks, and Groups

Selecting Interrupt Routines Transferring Discrete and Block Data Calculating Program Timing

Choosing Communication Planning Your System Programs

Identifying Classic PLC-5 Processor Channels/Connectors

This section illustrates and describes the processor front-panels. After you are familiar with the processor hardware, see page 5-3 for information on configuring communication.

5-1

Page 60

Chapter 5 Choosing Communication

Figure 5.1 Processor Front Panels PLC-5/10 Processor

PLC-5/12, -5/15, and -5/25 Processors

Battery Indicator (red)

Communication Indicator ACTIVE/FAULT (green/red)

Processor RUN/FAULT Indicator (green/red) FORCE Indicator (amber)

Keyswitch

REM I/O Indicator ACTIVE/FAULT (green/red) Adapter Indicator (green)

P R O G

Battery Holder

Connect programming terminal here

Write the DH+ network station number on this label

Connect DH+ link here PLC-5 family member designation

Connect remote I/O link here

Connector Name

Connector Type

Description

Programming terminal

9-pin, D-shell

Use this connector to directly connect a programming terminal to the processor. This programming terminal connector has a parallel connection with the 3-pin DH+ communications link connector.

DH+ communications link

3-pin

Use this connector to connect to DH+ communications link.

Remote I/O

3-pin

Use this connector for the remote I/O link. (This connector is not available for a PLC-5/10 processor.)

5-2