The text of a manual · part 6 of 23
Bulletin 1771 Communication Controller Module (Cat. Nos. 1771-KE, -KF) User's Manual, pages 51 to 60
Pages 51 to 60 of 228
The original document is the PDF (9.6 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-KE
Page 51
Page 3-17 Installation
3.4 Interface Connections means that the signal line goes low when the supply’s output power is enabled; high-true means that the signal line goes high when the supply’s output power is enabled. The enable signal must conform to the following specifications:
High: +38V to +5V DC Low: -0.2V to -0.6V DC
If the power supply’s enable signal does not meet the above specifications, then set both enable signal switches 1 and 2 to the OFF position.
CAUTION: Never set switches 1 and 2 both ON. Doing so disables the 1771-KF module.
Set switch If you want this enable signal issued: 1 2 None Off Off Hi True Off On Low True On Off Do not use On On
Step 6, Replace the metal cover plate and screws.
After setting the enable signal switches, connect the power supply cable to the terminal strip at the bottom of the module (figure 3.6). Figure 3.6 illustrates the terminal strip, which should be connected as follows:
1. Connect the right-most terminal to earth ground. If the module is mounted inside an enclosure that is already connected to earth ground, then you may connect the right-most terminal to the grounding bus of the enclosure instead.
2. Connect the zero-volt (or ground) lead from the power supply to the first terminal on the left.
3, Connect the +5V DC lead from the power supply to the third terminal from the left.
4. If the power supply has an enable signal line, connect this line to the second terminal from the left.
The KE/KF module has 3 connectors on its front edge (figure 3.8). The top connector, labeled DATA HIGHWAY, connects to the Data Highway dropline cable. Plug the 15-pin connector of the dropline into the DATA HIGHWAY socket. (For details on how to construct the dropline, refer to publication 1770-810 or 1770-925.)
Page 52
Page 3-18 Installation
The center connector, labeled DATA HIGHWAY MONITOR, is for future product development. Do not make any connections to this socket.
The bottom connector, labeled COMPUTER (RS-232-C), connects to an intelligent RS-232-C compatible device. The rest of this section explains how to make connections to this RS-232-C socket.
Data Highway socket TN
15-pin connector
Data
Highway monitor socket Dropline (not used) cable we
Computer (RS-232-C)
Adapter cable socket
(cat. no. 1770-CG or 1770-CP)
25-Pin, RS-232-C Compatible Connector
11696
Figure 3.8, KE/KF Module Connectors
Page 53
Page 3-19 Installation
Mechanical Characteristics
3.4.1
3.4.2
Electrical Characteristics
3.4.3 Cabling
The COMPUTER (RS-232-C) connector on a KE/KF module is a female 15-pin D-shell. Note that this connector does not conform strictly to the RS-232-C standard, which specifies a 25- pin male connector. However, you can use an RS-232-C adapter cable (cat. no. 1770-CG or 1770-CP) to go from this connector to a standard 25-pin connector.
Input and output levels on the RS-232 connector conform to the RS-232-C standard. The transmitter has increased capability to drive an isolated line that is up to 7,000 feet long. The length of this line determines the maximum communication rate on the RS-232-C link, as indicated below.
Line Length Maximum Communication in Feet Rate in Bits Per Second Up to 2,000 19,200 2.000 to 4,000 9,600 4,000 to 6,000 4,800 6,000 to 7,000 2,400
The receiver can sense the signals generated by a similar transmitter, and it is electrically isolated from all other circuitry on the module. It consists of an opto-isolater circuit with an input and return line at the RS-232-C connector. All other signals on the RS-232-C connector are driven and received by standard RS-232-C interface circuits, which have maximum drive capability of 50 feet.
Cabling for the RS-232-C port of the KE/KF module will vary, depending on your application. In general, the pinouts for this cabling are as follows:
Signal
KE/KF Module 15-pin Connector
Standard RS-232
Abbreviation 25-pin Connector
Chassis/shield drain transmitted data received data request to send clear to send data set ready signal ground data carrier detect data terminal ready transmitted data return received data return
TXD RXD RTS CTS DSR GND DCD DTR TXDRET (longline only) RXDRET (longline only)
Rarnonron - SBRUuPNAnAWN=
When communication option switch 4 of switch group SW-1 is on (section 3.1.1), the RS-232-C port of the KE/KF module can transmit or receive all of the above signals. If communication option switch 4 of switch group SW-1 is off (section 3.1.1), then the RS-232-C port uses only TXD, RXD, and GND (and TXDRET and RXDRET for longlines).
Page 54
Page 3-20 Installation
The definitions of the above signals are:
TXD carries serialized data. It is an output from the module.
RXD is serialized data input to the module. RXD and RXDRET are isolated from the rest of the circuitry on the modules.
RTS is a request from the module to the modem to prepare to transmit. With full-duplex protocol, RTS is always asserted. With half-duplex protocol, it is turned on when the module has permission to transmit; otherwise it is off.
CTS is a signal from the modem to the module that indicates the carrier is stable an the modem is ready to transmit. The module will not transmit until CTS is on. If CTS is turned off during transmission, the module will stop transmitting until CTS is restored.
DTR is a signal from the module to the modem to connect to the phone line (i.e., “pick up the phone”). The module will assert DTR all the time except during the phone hangup sequence. Modems built to American standards will not respond to DTR until the phone rings. Some European modems will always pick up the phone, whether it is ringing or not. The KE/KF module will not work with these types of European modems.
DSR is a signal from the modem to the module that indicates the phone is off-hook. (It is the modem’s answer to DTR). The module will not transmit or receive unless DSR is on. If the modem does not properly control DSR, or if no modem is used, DSR must be jumpered to a high signal at the module’s RS-232 connector. (It can be jumpered to DTR).
DCD is a signal from the modem to the module to indicate that the carrier from another modem is being sensed on the phone line. It will not be asserted unless the phone is off-hook. Data will not be received at the RS-232 connector unless DCD is on. With full-duplex protocol, the module will not transmit unless DCD is on. If the modem does not properly control DCD, or if a modem is not being used, DCD must be jumpered to DTR at the module.
TXDRET is the return signal for TXD. It is connected to module logic ground through a resistor. It does not conform to RS-232-C specifications.
RXDRET is the return signal for RXD. It is connected to the isolated receiver and is isolated from all other circuitry on the module. It does not conform to RS-232-C specifications.
If you are connecting a KE/KF module to a device (e.g., modem or computer) not manufactured by Allen-Bradley, then you must mount the module within 50 cable feet of that device. For such applications, the module’s GND must be connected to the GND of the modem or computer. RXDRET must be jumpered to
Page 55
Page 3-21 Installation
GND at the module. TXDRET should be left open. Note that this type of connection does nor provide electrical isolation between the module and the connected device.
3.4.3.1. To connect the module directly to a computer, you can use a Direct Connection toa data terminal interface cable (cat. no. 1770-CG). This cable Computer _ plugs into the COMPUTER (RS-232-C) connector on the module and the RS-232-C compatible connector on the computer (figure 3.8). The 1770-CG cable is 16.5 feet long. If you need a longer cable or a male/female adapter cable, you can construct your own according to the wiring diagram in Figure 3.9. Connect the cable shield at one end only. Be sure that the cable length does not exceed the RS-232-C limit of 50 feet. 15-Pin Male 25-Pin Male Connector Connector RS-232-C / _ RS-232-C PORT connector {41 1770-CG Cable (16.5 Ft.) a compatible PORT ot KE/KF ir Ly connector of module computer a) Connection Diagram RS-232-C RS-232-C PORT compatible connector PORT of KE/KF connector of module computer | 1 1] (AA) 7, 1770-CG Cable (16.5 Ft.) 7 | (AB) 2 7 XxX > | 3 | .8B) 3 XX <4 j 2 | (BA) 6 XX «< 20| (CD) 8 e - XX 4 8 | (CF) 11 > 6 | (CC) 13 e u 4 4 | (CA) ry [A ice) \ 7 15-Pin Male 25-Pin Male Connector Connector -b) Wiring Diagram 11309
Figure 3.9, Connection to a Computer
Page 56
Page 3-22 Installation
15-Pin Male 25-Pin Male Connector Connector
RS-232-C / \ RS-232-C 1770~CP Cable (16. .
PORT connector he] O-CP Cable (16.5 Ft.) r| compatible PORT of KE/KF i Lt connector of module modem
(A) Connection diagram
RS-232-C RS-232-C PORT compatible connector PORT of KE/KF connector module of modem
(AA) (AB)
1 1770-CP Cable (16.5 Ft.) 7 | Ay
2
(BA)
“TELE
(BB)
4] (CA)
(CB)
6 | (CC)
8] (CF)
11 207 (CD)
TEE LL $6 35 be bs bo oe a
AVY ATAT ATVI Aly
9 22] (CE) 13 _/ 11
(B) Wiring diagram 15-Pin Male 25-Pin Male
Connector Connector
11310
Figure 3.10, Connection to a Modem
This type of connection includes the DTR signal to allow each end to detect the loss of the other end’s ability to communicate. If your computer does not provide the DTR signal, jumper pins 6 and 8 at the module to pin 11.
3.4.3.2 To connect the module to a modem, you can use the modem Connection toaModem _ interface cable (cat no. 1770-CP). This cable plugs into the COMPUTER (RS-232-C) connector on the module and the RS-232-C compatible connector on the modem (figure 3.10).
The 1770-CP cable is 16.5 feet long. If you need a longer cable or a male/female adapter cable, you can construct your own
Page 57
Page 3-23 Installation
3.4.3.3 Connection to Another Communication Module
3.4.4 Answering according to the wiring diagram in Figure 3.10. Connect the cable shield at one end only. Be sure that the cable length does not exceed the RS-2382-C limit of 50 feet.
The module can be connected to standard American dial-up modems and some European modems. Other European standards specify that the DTR signal will make the modem answer the phone whether it is ringing or not, causing the phone always to be “busy”. Do not use the module with any type of modem that asserts the DTR signal even while waiting for a call. ;
The types of dial-up network modems that you can use are:
e Manual: these are typically acoustically coupled modems. The connection is established by human operators at both ends, who insert the handsets into couplers to complete the connection.
e DTE-controlled answer: these unattended modems are directly connected to the phone lines. The module serves as the data terminal equipment to control the modem via the DTR, DSR, and DCD signals. The module incorporates timeouts and tests to properly operate these types of modems.
e Auto-answer: these modems have self contained timeouts and tests, and can answer and hangup the phone automatically.
The module has no means of controlling an auto-dial modem, but it can be used in conjunction with a separate auto-dialer.
To provide a longline RS-232-C communication link with a 1771-KG module, refer to figure 3.11. To provide a longline RS-232-C link with a 1773-KA or 1775-KA module, refer to figure 3.12.
To construct the cable, use a 15-pin male connector at each end. Use Belden 8723 or equivalent cable (available from Allen- Bradley under cat. no. 1778-CR). Connect the cable shield at one end only.
You may make the longline cable up to 7,000 feet long. However, remember that the cable length can limit the communication rate (section 3.4.2).
The module continually asserts DTR when it is waiting for a call. Under this condition, the modem will answer a call and assert DSR as soon as it detects ringing. The module does not monitor the RING indicator in the RS-232 interface. Once it detects DSR, the module starts a timer (around 10 seconds) and waits for the DCD signal. When the module detects DCD, communication can start.
Page 58
Page 3-24
Installation If the module does not detect DCD within the timeout, the module turns DTR off. This causes the modem to hang up and break the connection. When the hang-up is complete, the modem turns off DSR. This causes the module to reassert the DTR line and wait for another call. This feature protects access to the phone if someone calling a wrong number reaches this station. User Supplied Male Connectors User-Supplied Cable, : RS-232-C t RS-232-C Bese N00 RL May ra PORT connector PORT connector : of 1771-KG of KE/KF i (Cat.No. 1778-CR) Lo] Modute module \ va 15-Pin Male 15-Pin Male Connector Connector (a) Connection Diagram 15-Pin Male Connect the Shield 15-Pin Male Connector at One End Only / Connector RS-232-C ; -_, se -a - oT; RS-232-C PORT connector PORT connector of KE/KF 5 3 of 1771-KG module XX Module 14 13 : xX 13 14 4 4 wy, f aaa 5 User-Supplied Cable, ° 6 Belden 8723, or Equivalent 6 (7000 Ft. Max) 8 8 11 14
\ User Supplied Male Connectors S
(b) Wiring Diagram
11697
Figure 3.11, Connection to 1771-KG Module
Page 59
Page 3-25 Installation
User Supplied Male Connectors
/ \ y User-Supplied Cable, \
RS-232-C Belden 8723, or Equivalent RS-232-C PORT connector (7000 Ft. Max) pou Connector of 1771-KE/KF of 1773-KA Module re (Cat.No. 1778-CR) u Or 1T75KA \ va Module 15-Pin Male 25-Pin Male Connector Connector a) Connection Diagram 15-Pin Male Connect the Shield 25-Pin Male Connector at One End Only Connector RS-232-C, - i, _ - - - RS-232-C PORT connector 1 la \ 1 PORT Connector of 1771-KE/KF 2 3 of 1773-KA Module or 1775-KA 14 25 Module : xX - 13 7 4 4 LU f LU 5 . 5 User-Supplied Cable, 6 Belden 8723, or Equivalent 6 7000 Ft. Max 8 ‘ 8 11 | 20
\ User Supplied Male Connectors S b) Wiring Diagram
11312
Figure 3.12, Connection to 1773-KA or 1775-KA Module
Page 60
Page 3-26 Installation
3.4.5 Character Transmission
3.5 Diagnostic Indicators
After detecting DCD, the module continues to monitor the DCD line. If DCD goes off, the module restarts the timeout. If DCD is not restored within the timeout, the module initiates the hangup sequence. This feature allows the remote station to re-dial in the event that the connection is lost through a fault in the phone network.
As soon as DCD goes off, the module responds to any commands that it has received from another data highway station and that it still has stored in its receive buffer. The module’s response is to send the same command back to the source station, along with an error code of 84 (chapter 7). At the same time, the module ignores any messages received over its RS-232-C link because it assumes that this link is terminated.
Note that this handshaking is necessary to guarantee access to the phone line. If this handshaking protocol is defeated by improper selection of modem options or by jumpers at the connectors, the modem may still answer a call. But if the connection is lost, the modem will not hang up. It will then be impossible for the remote station to re-establish the connection because it will get a busy signal.
The module sends data serially over the RS-232-C interface, one 8-bit byte at a time. The transmission format conforms to ANSI X3.16, CCITT V.4, and ISO 1177, with the exception that the parity bit is retained while the data length is extended to eight bits.
The transmission format may be summarized as follows:
start bit data bit 0 data bit 1 data bit 2 data bit 3 data bit 4 data bit 5 data bit 6 data bit 7 even parity bit (optional) one stop bit
For communication rate and parity settings, refer to section 3.1.4.
There are 5 LED indicators on the front of a KE/KF module (figure 3.13). These indicators can help you in diagnosing problems with the module’s installation and operation. The indicators are:
e XMTG - Transmitting e RCVG - Receiving