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 12

Direct Communication Module (Cat. No. 1747-DCM) User Manual: 3 - Addressing

Pages 25 to 30 of 80, from Direct Communication Module (Cat. No. 1747-DCM) User Manual

The original document is the PDF (429 KB). 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 1747-DCM

Page 25

Chapter

3

Addressing This chapter provides general information about how to address supervisory PLC and distributed SLC ladder logic instructions. It also illustrates image mapping and provides an example of how a PLC output image is mapped into an SLC input image.

Addressing Ladder Logic Instructions

All PLC and SLC processors use 3-part addresses. These three parts include: • logical rack or physical slot address • logical group or word address • bit address PLC processors use the octal number system for bit addressing. SLC processors use the decimal number system for bit addressing. PLC Processors/Scanners Address By: Logical Rack: PLC/scanner input and output images are organized in logical racks, which consist of eight groups.

SLC Processors Address By: Physical Slot: The slot address is determined by what slot number you place your DCM. SLC slots are numbered 0–30.

The rack address does not need to match the SLC slot address.

The slot address does not need to match the PLC rack address.

Logical Group: There are eight logical groups per logical rack, numbered 0–7. One group consists of one input and one output word. Each word is made up of 16 bits.

Word: One word is 16 bits in size. The number of words used in input and output images varies according to how many you specify in your setup. Words are numbered consecutively beginning with 0.

The group number does not need to match the SLC word address.

The word number does not need to match the PLC group number.

Bit: PLC bits are numbered octally, from 0 to 7 and 10 to 17.

Bit: SLC bits are numbered decimally, from 0–15.

The bit number does not need to match the SLC bit number (because SLCs use decimal); however, the position of the bit in the word must be the same. Octal Bit Number 17 16 15 14 13 12 11 10 7

6

5

4

3

2

1

0

The bit number does not need to match the PLC bit number (because PLCs use octal); however, the position of the bit in the word must be the same. Decimal Bit Number 15 14 13 12 11 10 9

8

7

6

5 4

3

2

1

0

Group 0

Word 0

Group 1

Word 1

Group 2

Word 2

Logical Rack

Group 3

Word 3

Group 4

Word 4

Physical Slot

#x

Group 5

Word 5

#x

Group 6

Word 6

Group 7

Word 7

3–1

Page 26

Chapter 3 Addressing

PLC/Scanner Addresses The three parts of the PLC address include the: • logical rack • logical group (I/O group) • bit PLC Input Address

PLC Output Address

I:023/10 I = Input 02 = Logical Rack

O:017/10 O = Output 01 = Logical Rack

3 = I/O Group

7 = I/O Group

10 = Bit (octal)

10 = Bit (octal)

The rack address refers to the logical rack assigned to the DCM in the PLC/ scanner I/O image table. It is selected using switches 1 through 6 of SW1 on the DCM. This address does not need to match the physical slot address of the DCM. Complete information about DIP switch selection is in chapter 4, Module Configuration. The I/O group address refers to the word in the PLC/scanner image table that contains the referenced I/O data bit. The I/O group address does not need to match the word address of the SLC I/O instruction. The bit address is the bit within the word being addressed. Bits are numbered 0–17 (octal) for the PLC and 0–15 (decimal) for the SLC. The physical position of the bit in the PLC word must match the position of the bit in the SLC word to address the correct bit.

3–2

Page 27

Chapter 3 Addressing

SLC Addresses The three parts of the SLC address include the: • physical slot • word • bit SLC Input Address

SLC Output Address

I:2.3/8

O:1.7/8

I = Input

O = Output

2 = Physical Slot

1 = Physical Slot

3 = Word

7 = Word

8 = Bit (decimal)

8 = Bit (decimal)

The slot address refers to the physical slot (1–30) in the modular SLC chassis or fixed SLC expansion chassis where the DCM is installed. This address does not need to match the logical rack address of the PLC I/O instruction. The word address refers to the word number (0–7) of the slot being addressed. The maximum number of SLC I/O words that a DCM can be assigned is 8. The bit address is the bit within the word being addressed. Bits are numbered 0–15 (decimal) for the SLC and 0–17 (octal) for the PLC. Outputs from the SLC output image are inputs to the supervisory processor input image table. Likewise, outputs from the supervisory processor output image table are inputs to the SLC image table. As noted, if the supervisory processor is a PLC the I/O image bits are octal and SLC bits are decimal. While the addresses are different, the position of the bit in the SLC word must match the position of the bit in the PLC word. The following diagrams show this relationship.

3–3

Page 28

Chapter 3 Addressing

I/O Image Tables PLC to DCM/SLC DCM/SLC configuration: Logical Rack Address = 1 Physical Slot Number = 1

PLC Output Image Table Decimal 15 14 13 12 11 10

9

DCM Input Image Table

8

7

6

5

4

3

2 1

0

Octal 17 16 15 14 13 12 11 10

7

6

5

4

3

2 1

0

Reserved forfor Status Word Reserved Status Word

Decimal 15 14 13 12 11 10

Word 0

9

8

7

6

5

4

3

Logical I/O Group = 0 Full Logical Rack

SLC Input Image Table 2 1

0

Statusfor Word Reserved Status Word

Decimal 15 14 13 12 11 10

Word 0

Word 1 Word 2

Word 1 Word 2

Word 3

Word 3

Word 4

Word 4

Word 5

Word 5

Word 6

Word 6

Word 7

Word 7

9

8

7

6

5

4

3

2 1

0

Statusfor Word Reserved Status Word

O:011/10

I:1.1/8

O = Output 01 = Logical Rack

I = Input 1 = Physical DCM Slot

1 = Logical I/O Group

1 = Word

10 = Bit (octal)

8 = Bit (decimal)

DCM/SLC to PLC DCM/SLC configuration: Logical Rack Address = 1 Physical Slot Number = 1

PLC Input Image Table Decimal 15 14 13 12 11 10

9

DCM Output Image Table

8

7

6

5

4

3

2 1

0

Octal 17 16 15 14 13 12 11 10

7

6

5

4

3

2 1

0

Status Reserved forWord Status Word

Decimal 15 14 13 12 11 10

Word 0

9

8

7

6

5

4

3

Logical I/O Group = 0 Full Logical Rack

SLC Output Image Table 2 1

Statusfor Word Reserved Status Word

0

Decimal 15 14 13 12 11 10

Word 0

Word 1 Word 2

Word 1 Word 2

Word 3

Word 3

Word 4

Word 4

Word 5

Word 5

Word 6

Word 6

Word 7

Word 7

9

8

7

I:016/2

3–4

6

5

4

3

2 1

Reservedfor Status Word Reserved Status Word

O:1.6/2

I = Input 01 = Logical Rack

O = Output 1 = Physical DCM Slot

6 = Logical I/O Group

6 = Word

2 = Bit (octal)

2 = Bit (decimal)

0

Page 29

Chapter 3 Addressing

Image Mapping

An image map is a diagram showing how the scanner image is mapped into the image of multiple adapters. The following table and illustration show how an example PLC output image is mapped into the image of multiple SLC processors through the DCM. PLC Scanner Output Image O:011/10 Starting Group 0 (Rack 01, Group 1, Bit 10 octal) O:021/3 Starting Group 0 (Rack 02, Group 1, Bit 3 octal) O:025/13 Starting Group 2 (Rack 02, Group 5, Bit 13 octal)

To:

DCM

→

1

→

2

→

3

SLC Input Image I:1.1/8 (Slot 1, Word 1, Bit 8 decimal) I:1.1/3 (Slot 1, Word 1, Bit 3 decimal) I:2.3/11 (Slot 2, Word 3, Bit 11 decimal)

Each row in the table represents the address of a data bit being transferred from the PLC scanner output image to the SLC input image via three different DCMs. The figure on the next page illustrates this data transfer. Appendix B contains a worksheet designed to help you work out your DCM system addressing. Use it if necessary to record I/O addresses.

3–5

Page 30

Chapter 3 Addressing

Scanner Output Image Bit Number:

Decimal Octal

15 14 13 12 11 10 9 17 16 15 14 13 12 11

8 10

7 7

6 6

5 5

4 4

3 3

2 2

1 1

0 0

Supervisory SLC or PLC Remote I/O Scanner

Reserved for Status Word

Group 0 Group 1

O:011/10 (Rack 1, Group 1, Bit 10 Octal)

Group 2

DCM 1

Supervisory SLC or PLC Processor

Group 3 Group 4 Group 5 Group 6

DCM 2

Group 7 Group 0

Reserved for Status Word

Group 1 Group 2

DCM 3

O:021/2 (Rack 2, Group 1, Bit 3 Octal)

Reserved for Status Word

Group 3 Group 4

O:025/13 (Rack 2, Group 5, Bit 13 Octal)

Group 5 Group 6

RIO Link

Group 7

SLC 1 Input Image for DCM 1 Bit Number: Decimal 15

14 13 12 11 10

9

8

7

6

5

4

3

2

1

Distributed SLC Processor 1

0

DCM 1

Reserved forfor Status Word Reserved Status Word

Word 0 Word 1 Word 2

I:1.1/8 (Slot 1, Word 1, Bit 8 Decimal)

Module 1 Configured As: Rack Address 1 I/O Group 0 Slot Number 1 Rack Size Full

Word 3 Word 4 Word 5 Word 6 Word 7 Distributed SLC Processor 2

SLC 2 Input Image for DCM 2 Bit Number: Decimal

15

14 13 12 11 10

9

8

7

6

5

4

3

2

1

Module 2 Configured As: Rack Address 2 I/O Group 0 Slot Number 1 Rack Size 1/4

0

Reserved for Status Word

Word 0

I:1.1/3 (Slot 1, Word 1, Bit 3 Decimal)

Word 1

DCM 2

Distributed SLC Processor 3

DCM 3

SLC 3 Input Image for DCM 3 Bit Number: Decimal

Word 0

15

14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

Module 3 Configured As: Rack Address 2 I/O Group 2 Slot Number 2 Rack Size 1/2

Reserved for Status Word

Word 1 Word 2 Word 3

3–6

I:1.3/11 (Slot 2, Word 3, Bit 11 Decimal)