The text of a manual · part 44 of 91
9/Series CNC Hardware Integration and Maintenance Manual, pages 431 to 440
Pages 431 to 440 of 898
The original document is the PDF (8.5 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 8500-1746I
Page 431
Page 432
Publication 852062- RM007A- EN- P - November 2000 Supercedes Publication 8520--6.2.7 -- August 1998
PN 176960 Copyright 2000 Allen-Bradley Company, Inc. Printed in USA
Page 433
O® Rockwell Automation
Allen-Bradley
8520-6.2.8 - August 1998
9/Series Hardware TAB 8
Communications
9/290 Remote I/O Plug
PN-176441
Page 434
Section
8
Communication Interface 8.0 Section Overview
This section covers the connection of peripherals to the control. The following types of interfaces to connect the peripherals to the control: RS-232 (ports A or B) RS-422 (port B only)
8.1 RS-232 Interface
For Information on:
See Page
RS-232 Interface
8-1
RS-232 Signal Description
8-2
Connection of Peripherals
8-3
RS-422 Interface
8-6
RS-422 Description
8-7
Connection of Peripherals
8-9
Protocol
8-9
RS-491 Level 1 Protocol
8-11
Peripherals
8-15
RS-232 is a common serial interface that uses a single return line for all signals. This interface is often called single ended serial communication because of the single return line and because the “True” (High) and “False” (Low) data bits are positive and negative voltages referenced to the common return. Control
Port A and location
Port B and location
9/230
----
RS-232/422 on the processor board
9/260
RS-232 on the CPU Module
RS-232/422 on the motherboard
9/290
RS-232 on the CPU Module
RS-232/422 on the motherboard
9/440
RS-232 bottom of system module
RS-232/422 bottom of system module
When you select RS-232, the interface cable cannot be longer than 50 cable feet (15 meters). The length of the interface cable should be kept as short as possible and should be shielded to reduce the possibility of noise interference.
8-1
Page 435
Section 8 Communication Interface
8.2 RS-232 Signal Description
RS-232 sends and receives the signal codes in Table 8.A to and from the control. The control is a data communication equipment (DCE) device. Table 8.A RS-232 Connector Pin Assignment Port A
Pin No.
Signal Code
Signal Name
Signal Type
1
SH
Shield
2
SD
Send Data
Input
This line is used to carry data sent from a peripheral device to the control.
3
RD
Receive Data
Output
This line is used to carry data that is sent from the control to a peripheral device.
4
RS
Request To Send
Input
The peripheral turns this line “ON”to request the control send it data.
5
CS
Clear To Send
Output
The control turns this line “ON”to request the peripheral send it data
61
DSR
Data Set Ready
Output
The control turns this line “ON”when power to the control is applied.
7
GND
Signal Ground
-
-
Description Shield
Signal Line Ground
1 Port B Only
Table 8.B indicates the signal conditions for control signal ON/OFF status.
Table 8.B Control Signal Status Signal Conditions
8-2
Mark
Space
Control Signal
OFF
ON
Logic
1
0
Signal Level
-3 to -15V
+3 to +15V
Page 436
Section 8 Communication Interface
8.3 Connection of Peripherals
The figures below show the wiring connections for the RS-232 interface with hardware handshake. The arrows in the following figures indicate the signal flow direction. Figure 8.1 shows the wiring connections when the CNC is a DCE (Data Communication Equipment) device and the peripheral is a DTE (Data Terminal Equipment) device. A DTE device transmits data on pin 2, and a DCE device transmits on pin 3. Figure 8.2 shows the wiring connections when the CNC and the peripheral are both DCE (Data Communication Equipment) devices. On the 9/230 systems all communications connections are made with port B. Figure 8.1 RS-232 Cable Wiring with Hardware Handshake (DCE to DTE) CNC SH
1
SD
Hardware Handshake
Peripheral 1
SH
2
2
SD
RD
3
3
RD
RS
4
4
RS
CS
5
5
CS
GND
7
7
GND
(DCE)
(DTE)
Figure 8.2 RS-232 Cable Wiring with Hardware Handshake (DCE to DCE) CNC SH
1
SD
Hardware Handshake
Peripheral 1
SH
2
2
SD
RD
3
3
RD
RS
4
4
RS
CS
5
5
CS
GND
7
7
GND
(DCE)
(DCE) 11349-I
8-3
Page 437
Section 8 Communication Interface
The figures below show the wiring connections for the RS-232 interface without hardware handshake. The arrows in the following figures indicate the signal flow direction. Figure 8.3 shows the wiring connections when the CNC is a DCE (Data Communication Equipment) device and the peripheral is a DTE (Data Terminal Equipment) device. Without hardware handshake, if the peripheral needs RR , connect the TR (Terminal Ready) pin to the RR (Received Line Signal Detector - carrier dated) pin on the peripheral. Figure 8.3 and Figure 8.4. Figure 8.3 RS-232 Cable Wiring without Hardware Handshake (DCE to DTE) CNC SH
1
SD
No Hardware Handshake
Peripheral 1
SH
2
2
SD
RD
3
3
RD
RS
4
4
RS
CS
5
5
CS
GND
7
7
GND
(DCE)
(DTE) 11350-I
Figure 8.4 shows the wiring connections when the CNC and the peripheral are both DCE (Data Communication Equipment) devices. Figure 8.4 RS-232 Cable Wiring without Hardware Handshake (DCE to DCE) CNC SH
1
1
SH
SD
2
2
SD
RD
3
3
RD
RS
4
4
RS
CS
5
5
CS
GND
7
7
GND
(DCE)
8-4
Peripheral
No Hardware Handshake
(DCE)
11351-I
Page 438
Section 8 Communication Interface
Figure 8.5 through Figure 8.7 show cable wiring examples for the RS-232 interface between the control and Allen-Bradley T45, T47, T35 and T50 workstations. Figure 8.5 RS-232 Cable Wiring to an Allen-Bradley T45 or T47 9/Series 15- Pin D-Shell
Allen-Bradley T45 or T47 25 Pin D-Shell
SH
1
SD
2
2
RD
3
3
RS
4
4
CS
5
5
GND
7
7 6 8 20
Figure 8.6 RS-232 Cable Wiring to an Allen-Bradley T35 9/Series 15- Pin D-Shell SH
1
Allen-Bradley T35 9 Pin D-Shell
SD
2
2
RD
3
3
RS
4
5
CS
5
7
GND
7
8 11869-I
8-5
Page 439
Section 8 Communication Interface
Figure 8.7 RS-232 Cable Wiring to an Allen-Bradley T50 9/Series 15- Pin D-Shell
Allen-Bradley T50 9 Pin D-Shell
SH
1
SD
2
2
RD
3
3
RS
4
5
CS
5
8
GND
7
7 4 6
8.4 RS-422 Interface
8-6
RS-422 is used for serial communication between the control and peripherals. RS-422 is also known as complimentary serial I/O. It is available only on port B which is located on the motherboard (for the 9/260 and 9/290 control) and on the processor board for the 9/230 control. This signal is able to resist noise even over long distances. When you use RS-422, the interface cable can be as long as 4000 cable feet (1220 meters). Use shielded, twisted-pair cables to resist noise.
Page 440
Section 8 Communication Interface
8.5 RS-422 Signal Description
RS-422 sends and receives the signals in Table 8.C to and from the control. The control is a data communication equipment (DCE) device. Table 8.C RS-422 Connector Pin Assignment
Pin No.
Signal Code
Signal Name
Signal Type
Description
1
SH
Shield
Shield
2
SD A
Send data A
Input
Data is sent from the peripheral to the control.
3
RD A
Receive data A
Output
Data is transmitted from a control to a peripheral.
4
RS A
Request to send A
Input
The peripheral turns “ON”when requesting to send data to the control.
5
CS A
Clear to send A
Output
The control turns “ON”when the control is ready to transmit or receive data.
6
DM A
Data set ready A
Output
The peripheral turns “ON”when it is ready to transmit or receive data.
7
SG
Signal Ground
8
TR A
Data term ready A
Input
Data is transmitted from a peripheral to the control.
9
SD B
Send Data B
Input
Data is sent from the peripheral to the control.
10
RD B
Receive data B
Output
The peripheral turns “ON”when requesting to send data to the control.
11
RS B
Request to send B
Input
The control turns “ON”when data transmission from peripheral to the control is permitted.
12
CS B
Clear to send B
Output
The control turns “ON”when the control is ready to transmit or receive data.
13
DM B
Data set ready B
Output
The peripheral turns “ON”when it is ready to transmit or receive data.
14
TR B
Data terminal ready B
Input
Data is transmitted from a peripheral to the control.
Ground for each signal line.
Table 8.D indicates the signal conditions corresponding to control signal ON/OFF status. Table 8.D Control Signal Status Signal Conditions
Mark
Space
Control Signal
OFF
ON
Logic
1
0
Signal Level
A< B
A> B
8-7