The text of a manual · part 7 of 12
Direct Communication Module (Cat. No. 1747-DCM) User Manual: 4 - Module Configuration
Pages 31 to 38 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 31
Chapter
4
Module Configuration This chapter provides DIP switch setting information for the DCM. Topics include: • DIP switches • DIP switch 1 settings • DIP switch 2 settings
O 1 N
SW1
DIP Switch 2 (SW2)
1 2 3 4 5 6 7 8
SW1
Rack Address
DIP Switch 1 (SW1)
1 2 3 4 5 6 7 8
Starting I/O Group Number
2 3 4 5 6 7 8
To configure the DCM for your application, you must set the DIP switches. These switches enable the DCM to properly interpret the RIO system addressing. The DCM has two banks of DIP switches mounted on its circuit board. Each bank contains eight switches. The default settings are shown below.
Rack Size Last Rack Clear On Fault Data Rate
1 2 3 4 5 6 7 8
SW2
Reserved
O N
DIP Switches
SW2
4–1
Page 32
Chapter 4 Module Configuration
DIP Switch 1 Settings
Starting I/O Group Number (SW1-7 and SW1-8) The starting I/O group number is the first word assigned to the DCM from the scanner’s image table. The starting I/O group number must be an even number from 0 to 6 and is dependent upon whether the DCM has been configured as a full, 3/4, 1/2, or 1/4 rack. The first word transferred is always the status word for the DCM. Rack Size
Number of RIO Words Transferred
Total Words
1/4 Logical Rack
1 Status and 1 Data
2
1/2 Logical Rack
1 Status and 3 Data
4
3/4 Logical Rack
1 Status and 5 Data
6
Full Logical Rack
1 Status and 7 Data
8
Reference the table below to set the starting I/O group number. Starting I/O Group Number
SW1-7
SW1-8
Valid Rack Configuration
0
ON
ON
All
2
ON
OFF
3/4, 1/2, 1/4
4
OFF
ON
1/2, 1/4
6
OFF
OFF
1/4
Example of different starting groups: Bit Number:
Starting Group 0
Octal Decimal
Group 0, Word 0
17 16 15 14 13 12 11 10 7 15 14 13 12 11 10 9 8 7
6 6
5 5
4 4
3 3
R R
S
T
A
T
U
S
W O R
D
S
T
A
T
U
S
W O R
D
Group 1, Word 1
Starting Group 2
Group 2, Word 2 Group 3, Word 3
2 2
1 1
0 0
DCM 1 Rack Size = 1/4 Rack DCM 2 Rack Size = 1/2 Rack
Group 4, Word 4 Group 5, Word 5
Starting Group 6
Group 6, Word 6 Group 7, Word 7
S
T
A
T
U
S
W O R
D
DCM 3 Rack Size = 1/4 Rack
In the above image map example, selecting I/O Group Number 2 instructs the scanner to address Word 2 as the beginning of DCM 2 image. In this example, a half rack is selected for DCM 2 (using SW2 switches 5 and 6). Since Word 2 is the first word assigned, it becomes the Status Word.
4–2
Page 33
Chapter 4 Module Configuration
Rack Address (SW1-1 through SW1-6) The rack address refers to the logical rack number from the scanner image that contains a particular DCMs image. The table on page 4–4 gives the switch settings that define possible rack address choices for all scanners. To use this table, first determine which of the following categories applies to your scanner: • PLC-2, mini PLCs, PLC-2/30 with 1772-SD, SD2 remote scanner • PLC-3 and PLC-5/250 processors. (This category includes those with built-in scanners, as well as the following without built-in scanners: catalog numbers 1775-54A, -54B, -S5, -SR, -SR5 and 5250-RS.) • PLC-5/11, PLC-5/15, PLC-5/20, PLC-5/25, PLC-5/30, PLC-5/40, or PLC-5/60 and 1771-SN. (This category includes all smaller in-rack processors and standalone scanners that have local and remote I/O and begin rack addressing at rack 1.) • SLC-5/02 (or above) with 1747-SN scanner After determining which category applies to your DCM application: 1. Find the column for the scanner used in your application. 2. Go down the column to the rack address that you assigned to the DCM. 3. Use the switch settings in the right-most columns of the table that correspond to your rack address.
4–3
Page 34
Chapter 4 Module Configuration
Use this table to set SW1 – switches 1 through 6. Logical Rack Number (Octal)
Switch Number (SW1)
1747SN
PLC2
PLC3
PLC5/15
PLC5/25
PLC5/40
PLC5/60
PLC5/250
1
2
3
4
5
6
0
1
0
–
–
–
–
0
ON
ON
ON
ON
ON
ON
1
2
1
1
1
1
1
1
ON
ON
ON
ON
ON
OFF
2
3
2
2
2
2
2
2
ON
ON
ON
ON
OFF
ON
3
4
3
3
3
3
3
3
ON
ON
ON
ON
OFF
OFF
5
4
4
4
4
4
ON
ON
ON
OFF
ON
ON
6
5
5
5
5
5
ON
ON
ON
OFF
ON
OFF
7
6
6
6
6
6
ON
ON
ON
OFF
OFF
ON
7
7
7
7
7
ON
ON
ON
OFF
OFF
OFF
10
10
10
10
ON
ON
OFF
ON
ON
ON
11
11
11
11
ON
ON
OFF
ON
ON
OFF
12
12
12
12
ON
ON
OFF
ON
OFF
ON
13
13
13
13
ON
ON
OFF
ON
OFF
OFF
14
14
14
14
ON
ON
OFF
OFF
ON
ON
15
15
15
15
ON
ON
OFF
OFF
ON
OFF
16
16
16
16
ON
ON
OFF
OFF
OFF
ON
17
17
17
17
ON
ON
OFF
OFF
OFF
OFF
20
20
20
ON
OFF
ON
ON
ON
ON
21
21
21
ON
OFF
ON
ON
ON
OFF
22
22
22
ON
OFF
ON
ON
OFF
ON
23
23
23
ON
OFF
ON
ON
OFF
OFF
24
24
24
ON
OFF
ON
OFF
ON
ON
25
25
25
ON
OFF
ON
OFF
ON
OFF
26
26
26
ON
OFF
ON
OFF
OFF
ON
27
27
27
ON
OFF
ON
OFF
OFF
OFF
30
30
ON
OFF
OFF
ON
ON
ON
31
31
ON
OFF
OFF
ON
ON
OFF
32
32
ON
OFF
OFF
ON
OFF
ON
33
33
ON
OFF
OFF
ON
OFF
OFF
34
34
ON
OFF
OFF
OFF
ON
ON
35
35
ON
OFF
OFF
OFF
ON
OFF
36
36
ON
OFF
OFF
OFF
OFF
ON
37
37
ON
OFF
OFF
OFF
OFF
OFF
40
OFF
ON
ON
ON
ON
ON
41
OFF
ON
ON
ON
ON
OFF
42
OFF
ON
ON
ON
OFF
ON
43
OFF
ON
ON
ON
OFF
OFF
44
OFF
ON
ON
OFF
ON
ON
Continued on next page.
4–4
Page 35
Chapter 4 Module Configuration
1747SN
PLC2
PLC3
PLC5/15
PLC5/25
PLC5/40
PLC5/60
PLC5/250
1
2
3
4
5
6
45
OFF
ON
ON
OFF
ON
OFF
46
OFF
ON
ON
OFF
OFF
ON
47
OFF
ON
ON
OFF
OFF
OFF
50
OFF
ON
OFF
ON
ON
ON
51
OFF
ON
OFF
ON
ON
OFF
52
OFF
ON
OFF
ON
OFF
ON
53
OFF
ON
OFF
ON
OFF
OFF
54
OFF
ON
OFF
OFF
ON
ON
55
OFF
ON
OFF
OFF
ON
OFF
56
OFF
ON
OFF
OFF
OFF
ON
57
OFF
ON
OFF
OFF
OFF
OFF
60
OFF
OFF
ON
ON
ON
ON
61
OFF
OFF
ON
ON
ON
OFF
62
OFF
OFF
ON
ON
OFF
ON
63
OFF
OFF
ON
ON
OFF
OFF
64
OFF
OFF
ON
OFF
ON
ON
65
OFF
OFF
ON
OFF
ON
OFF
66
OFF
OFF
ON
OFF
OFF
ON
67
OFF
OFF
ON
OFF
OFF
OFF
70
OFF
OFF
OFF
ON
ON
ON
71
OFF
OFF
OFF
ON
ON
OFF
72
OFF
OFF
OFF
ON
OFF
ON
73
OFF
OFF
OFF
ON
OFF
OFF
74
OFF
OFF
OFF
OFF
ON
ON
75
OFF
OFF
OFF
OFF
ON
OFF
OFF
OFF
OFF
OFF
OFF
ON
76 77
77
77
77
77
77
77
77
Reserved
4–5
Page 36
Chapter 4 Module Configuration
DIP Switch 2 Settings
Rack Size (SW2-5 and SW2-6) The logical rack size allocates image space in the scanner for each DCMs I/O data. The DCM allows 1/4, 1/2, 3/4, and full rack addressing. SW2 switches 5 and 6 define the rack size. Rack Size
SW2-5
SW2-6
1/4 Logical Rack
ON
ON
1/2 Logical Rack
ON
OFF
3/4 Logical Rack
OFF
ON
Full Logical Rack
OFF
OFF
Important: The DCM image 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. Refer to Starting I/O Group Number on page 4–2.
Last Rack (SW2-4) Switch 4 of SW2 must be set to the OFF position if the DCM shares its logical rack with at least one other adapter and has been assigned the highest I/O group number in that logical rack. Last Rack
SW2-4
Yes
OFF
No
ON Direct Communications Module 1
Remote I/O Scanner
Module 1 Configured As: Logical Rack Address 1 I/O Group 0 Module Rack Size 1/4
SLC Output Image (to the PLC) Bit Number:
Decimal Octal
Module 1 Logical Rack 1
Module 2
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
17 16 15 14 13 12 11 10 7
6
5
4
3
2
1
0
Group 0, Word 0 Group 1, Word 1 Group 2, Word 2 Group 3, Word 3 Group 4, Word 4
Module 3 Module 4
Module 2 Configured As: Logical Rack Address 1 I/O Group 2 Module Rack Size 1/4
Module 3 Configured As: Logical Rack Address 1 I/O Group 4 Module Rack Size 1/4
Group 5, Word 5 Group 6, Word 6 Group 7, Word 7
Module 4 is the last device in the logical rack. Because Module 4 is the last RIO adapter in a logical rack shared by other adapter(s), SW2 switch 4 must be in the OFF position.
4–6
Module 4 Configured As: Logical Rack Address 1 I/O Group 6 Module Rack Size 1/4
Page 37
Chapter 4 Module Configuration
Clear On Fault (SW2-3) ATTENTION: Before setting SW2-3 to ON, make sure that holding all DCM input bits in their last state, in the event a communication error occurs, does not create an unsafe condition in the distributed SLC processor.
!
Clear On Fault
SW2-3
Yes
OFF
No
ON
Turn switch to OFF position if you want the DCM to clear and hold clear all data bits in its input image table, in the event of an RIO communication failure or when the supervisory processor enters Program/Test/Fault Mode. Status bits will not be cleared. Turn switch to ON position if you want the DCM to hold all input data bits in their last state when an RIO communication failure occurs or when the supervisory processor enters Program/Test/Fault Mode.
Data Rate (SW2-1 and SW2-2) Data Rate
SW2-1
SW2-2
Cable Length (Belden 9463)
57.6K baud
ON
ON
3048 meters (10,000 feet)
115.2K baud
ON
OFF
1524 meters (5,000 feet)
OFF
ON
OFF
OFF
230.4K baud
762 meters (2,500 feet)
4–7