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

The text of a manual · part 10 of 12

Direct Communication Module (Cat. No. 1747-DCM) User Manual, pages 53 to 64

Pages 53 to 64 of 80: 7 - Troubleshooting; 8 - Application Examples

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 53

Chapter

7

Troubleshooting This chapter shows you how to identify and correct errors that you may encounter using LEDs. The topics include: • DCM status indicators • troubleshooting using the FAULT LED (red) • troubleshooting using the COMM LED (green)

DCM Status Indicators

Two LEDs indicate the status of the DCM.

DCM FAULT

Red

COMM

Green

Troubleshooting Using the FAULT LED (Red) If LED is:

Cause:

On

Internal Fault

Blinking

Configuration Error

Off

Normal State

Corrective action: Cycle power to the I/O chassis containing the DCM. Replace DCM if red LED remains lit after powerup. Check that the DIP switch settings are correct. Make sure that I/O group and rack size settings are compatible.➀ Also see that the setting for rack address is correct. Refer to chapter 4, Module Configuration, for help with DIP switches. No action required.

➀ The DCM cannot cross logical rack boundaries. Therefore, as an example, configuring the module for 1/2 logical rack with starting group 6 will cause a configuration error.

7–1

Page 54

Chapter 7 Troubleshooting

Troubleshooting Using the COMM LED (Green) If LED is:

Cause:

On

Normal State

Blinking

RIO scanner’s processor in Program/Test Fault Mode

Off

RIO scanner’s processor not connected to scanner RIO scanner’s processor rack inhibited No communication between RIO scanner’s processor and DCM

7–2

Corrective action: No action required. Check for RIO scanner’s processor error, correct condition, and cycle power to DCM. Check that the scanner is properly installed in rack (RIO scanner’s processor–2, #3). Check RIO scanner’s processor rack integrity, correct any problem, and cycle power to DCM. Check that the baud rate of the DCM matches the baud rate of the scanner. Check cable connections from the RIO scanner’s processor or scanner to the DCM. Check that the DCM connector is properly installed.

Page 55

Chapter

8

Application Examples This chapter provides and examines two applications of the DCM. • basic example • supplementary example

Basic Example

In the following application, the 1747-DCM in the remote rack 2 will monitor the 1747-SN data from the local rack 1. The program examples in both local and remote rack CPUs consist of 1 rung each. When input I:1/0 is enabled in the local rack, the output O:3.1/0 condition is transferred to the 1747-DCM input image via the 1747-SN output image. This condition enables O:2/0 in the remote rack output card.

ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ É É ÉÉ ÉÉ Output

DCM

SLC 5/01

P2

SN

Output

Input

SLC 5/02

Rack 2

P2

Rack 1

= slot not used

Input Switch

RIO (Belden 9463)

1747-SN Module Configuration➀ Baud Rate =

57.6K baud

G-file Size =

3 words

G-File 15

14

13

12

11

10

9

Word 1

0

0

0

0

0

0

0

0

Word 2

0

0

0

0

0

0

0

0

Word 0

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

1

= Starting Address 0

0

0

0

0

0

0

0

1

= 1/4 Rack Size

Reserved

➀

See SN manual for further details on configuration.

8–1

Page 56

Chapter 8 Application Examples

DCM configuration: Rack Address =

1

I/O Group =

0

Baud Rate =

57.6K baud

Clear On Fault = no

Last Rack = no

Rack Size =

1/4

DIP Switch Settings Switch 1 ON

1

2

3

4

5

X

X

X

X

X

OFF

Switch 2 6

7

8

1

2

3

4

5

6

X

X

X

X

X

X

X

X

7

8

X

= Not used

System Configuration for Rack 1 Amount

Device

Catalog Number

1

Power Supply

1746-P2

1

SLC 5/02 Processor

1747-L524

1

4-Slot Rack

1746-A4

1

AC Input, 16 Inputs

1746-IA16

1

Relay Output, 16 Outputs

1746-OW16

1

Scanner

1747-SN

System Configuration for Rack 2 Amount

8–2

Device

Catalog Number

1

Power Supply

1746-P2

1

SLC 5/01 Processor

1747-L511

1

4-Slot Rack

1746-A4

1

Relay Output, 16 Outputs

1746-OW16

1

DCM

1747-DCM

Page 57

Chapter 8 Application Examples

Image Table Configuration Output Image SN

DCM

O:3.1/0

I:1.1/0

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

1

5

4

3

2

1

0

0

0

0

0

0

1

15

14

13

12

11

10

Input Image 9 8 7 6

0

0

0

0

0

0

0

0

0

0

Program Listing When I:1/0 is set, enabling O:3.1/0 in the SN output image, the data is sent to the input image of the DCM I:1.1/0. The output in rack 2 is then set to output module O:2/0. Rack 1, Program 1 I:1 ] [ 0 From Input Switch

O:3.1 ( ) 0 To SN Output Word 1, Bit 0

Rack 2, Program 2 I:1.1 ] [ 0 From DCM Input Word 1, Bit 0

O:2 ( ) 0

8–3

Page 58

Chapter 8 Application Examples

Supplementary Example

RIO (Belden 9463)

Module Configuration PLC-5 configuration for scanner I/O status, inhibit bits: S:27/0 =

*

S:27/1 =

0

S:27/2 =

1

S:27/3 =

1

* = Don’t care

DCM configuration: Rack Address =

1

I/O Group =

0

Baud Rate =

57.6K baud

Clear on Faults = No

8–4

Last Rack =

No

Rack Size =

Full Rack

NO4I

NI4 NO4I

É É É É É É É ÉÉ ÉÉ

NI4

SLC 5/01 DCM

P2

I/O

I/O

I/O

I/O

PLC–5 CPU

In the following application, the PLC-5/15, via its integrated RIO scanner and the DCM, will monitor the analog data from an SLC 500. This case is unique in that the data to be monitored is twice what the DCM can transfer. The program in the SLC 500 will multiplex the data into four, 4-word packets with a start and end of data word attached. The start and end of data word is also used to designate which module the data is coming from. This is also used by the PLC-5/15 to indicate that the data was transferred successfully.

= slot not used

Page 59

Chapter 8 Application Examples

DIP Switch Settings Switch 1 ON

1

2

3

4

5

X

X

X

X

X

OFF

Switch 2 6

7

8

1

2

3

4

X

X

X

X

X

X

X

5

6

X

X

7

8

= Not used

System Configuration Amount

Device

Catalog Number

1

Power Supply

1746-P2

1

SLC 5/01 Processor

1747-L511

1

7-Slot Rack

1746-A7

2

Analog Input, 4 point

1746-NI4

2

Analog Output, 4 point

1746-NO4I

1

DCM

1747-DCM

Image Table Configuration Output Image 15

DCM

NO4I

NO4I

O:1.0 O:1.1 O:1.2 O:1.3 O:1.4 O:1.5 O:1.6 O:1.7 O:4.0 O:4.1 O:4.2 O:4.3 O:5.0 O:5.1 O:5.2 O:5.3

14

13

12

11

10 9 8 7 6 5 4 3 Status Word to PLC-5 from SLC Counter ACC word denotes module being read Word 0 of analog module being read Word 1 of analog module being read Word 2 of analog module being read Word 3 of analog module being read Counter ACC word denotes module being read Not used NO4I word 0 NO4I word 1 NO4I word 2 NO4I word 3 NO4I word 0 NO4I word 1 NO4I word 2 NO4I word 3

2

1

8–5

0

Page 60

Chapter 8 Application Examples

15

DCM

NI4

NI4

14

13

12

I:1.0 I:1.1 I:1.2 I:1.3 I:1.4 I:1.5 I:1.6 I:1.7 I:2.0 I:2.1 I:2.2 I:2.3 I:3.0 I:3.1 I:3.2 I:3.3

11

Input Image 10 9 8 7 6 5 Status Word to SLC from PLC-5 Not used Not used Not used Not used Not used Not used Not used NI4 word 0 NI4 word 1 NI4 word 2 NI4 word 3 NI4 word 0 NI4 word 1 NI4 word 2 NI4 word 3

4

3

2

1

Program Listing for 5/01 Processor File: MULTPLX1.ACH Rung 0 sets the starting point of the C5:0 counter. This is done on the first scan of the program S:1/15 (first scan bit) and C5:0/DN (done bit 0) of the counter, ensuring that only the analog modules in slots 2 through 5 are read.

RUNG 2.0

C5:0 ] [ DN

MOV MOVE Source Dest

2 C5:0.ACC

S:1 ] [ 15 Rung 1 increments the C5:0 every 5.12 seconds. The value in the ACC is referenced to the slot that the DCM will send the data from, starting at slot 2.

RUNG 2.1

8–6

S:4 ] [ 8 5.12 Seconds Time Bit

CTU Countup Counter Preset Accum

C5:0 6 0

0

Page 61

Chapter 8 Application Examples

For rungs 2.2 through 2.5 the module number being monitored is shown above each example. For each rung, when SOURCE A = C5:0.ACC equals the value in SOURCE B = MODULE #, the rung moves the module number to word 1 of the DCM output file. This verifies the start of the data and the module number it’s coming from. Then it copies the four words of analog data to the DCM output words 2 through 5, followed by the module number at word 6 to indicate the end of data.

Module Number Monitored = 2

RUNG 2.2

EQU

MOV

EQUAL Source A

MOVE Source

Source B

C5:0.ACC 0 2

Dest

C5:0.ACC 0 0:1.1 0

COP COPY FILE Source Dest Length

#I:2.0 #0:1.2 4

MOV MOVE Source Dest

C5:0.ACC 0 0:1.6 0

Module Number Monitored = 3

RUNG 2.3

EQU

MOV

EQUAL Source A

MOVE Source

Source B

C5:0.ACC 0 3

Dest

C5:0.ACC 0 0:1.1 0

COP COPY FILE Source Dest Length

#I:3.0 #0:1.2 4

MOV MOVE Source Dest

C5:0.ACC 0 0:1.6 0

8–7

Page 62

Chapter 8 Application Examples

Module Number Monitored = 4

RUNG 2.4

EQU

MOV

EQUAL Source A

MOVE Source

Source B

C5:0.ACC 0 4

Dest

C5:0.ACC 0 0:1.1 0

COP COPY FILE Source Dest Length

#I:4.0 #0:1.2 4

MOV MOVE Source Dest

C5:0.ACC 0 0:1.6 0

Module Number Monitored = 5

RUNG 2.5

EQU

MOV

EQUAL Source A

MOVE Source

Source B

C5:0.ACC 0 5

Dest

C5:0.ACC 0 0:1.1 0

COP COPY FILE Source Dest Length

#I:5.0 #0:1.2 4

MOV MOVE Source Dest

<END>

8–8

C5:0.ACC 0 0:1.6 0

Page 63

Chapter 8 Application Examples

Program Listing for PLC5/15 The following examples are for rungs 2.0 through 2.3. The module number being monitored is shown above the examples. For each rung, the first EQU monitors the module number and the start of the data transfer, while the second EQU monitors the module number and the end of the data transfer. The COP then moves the four words of analog data to an integer file. Module Number Monitored = 2

RUNG 2.0

EQU

EQU

COP

EQUAL Source A

EQUAL Source A

I:016 0 2

COPY FILE Source Dest Length

Source B

I:011 0 2

Source B

#I:012 #N7:0 4

Module Number Monitored = 3

RUNG 2.1

EQU

EQU

COP

EQUAL Source A

EQUAL Source A

I:016 0 3

COPY FILE Source Dest Length

Source B

I:011 0 3

Source B

#I:012 #N7:4 4

Module Number Monitored = 4

RUNG 2.2

EQU

EQU

COP

EQUAL Source A

EQUAL Source A

I:016 0 4

COPY FILE Source Dest Length

I:016 0 5

Source B

I:011 0 4

Source B

#I:012 #N7:8 4

Module Number Monitored = 5

RUNG 2.3

EQU

EQU

COP

EQUAL Source A

EQUAL Source A

COPY FILE Source Dest Length

Source B

I:011 0 5

Source B

#I:012 #N7:12 4

<END> 8–9

Page 64

This page is a scan with no text; see it in the PDF.