The text of a manual · part 14 of 60
PiC900 Hardware Manual: B.2 - Serial Communications Module (2, 4 channel)
Pages 99 to 108 of 508, from PiC900 Hardware Manual
The original document is the PDF (3.7 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 Giddings & Lewis 502-03550-02
Page 99
B.2 - Serial Communications Module (2, 4 channel) Introduction
The serial communications module provides two or four channels to be used for asynchronous serial communication with external devices such as computers, operator interface devices, etc. For each channel, RS232 electrical interface is provided for data and control lines; RS422/485 electrical interface is provided for data lines. The DIAG LED goes on briefly while the diagnostic tests are running. Figure B2-1. Serial Communications Module (2, 4 ch)
COMMUNICATIONS
Name of module Diagnostic LED
DIAG
1 3 5 7 9 11 13
Screw terminal connector
15 17 19 21 23 25 27 29 31 33 35 37 39
Door
AA890-3391
B.2 -1
Page 100
Serial Communications Module (2, 4 channel)
Connections
A screw terminal connection is provided for each input and output as shown in Figure B2-2. RS232 or RS422/485 interface is available on all four channels. This table defines the inputs and outputs available for each channel on the module using an RS232 interface. Label
Definition
Input/Output
RDx_232
Receive data
Input
TDx_232
Transmit data
Output
CTSx_232
Clear to send (handshaking)
Input
RTSx_232
Request to send (handshaking)
Output
DTRx
Data terminal ready (pullup to 12V) Output
This table defines the inputs and outputs available for each channel on the module using an RS422/485 interface. Label
Definition
Input/Output
RDx_DIF+
Receive data
Input
RDx_DIFTDx_DIF+ TDx_DIF-
B.2 -2
Input Transmit data
Output Output
Page 101
Serial Communications Module (2, 4 channel)
Figure B2-2. Screw Terminal Connection Assignments
SCREW TERMINALS CONNECTION
CONNECTION RD1_232
CTS1 _232
1
RTS1_232
3
TD1_DIF+
5
TD1_232
RD1 _DIF+
RS232 or RS422/485
Channel 1 (Pins 1 to 8)
RD1 _DIFTD1_DIF-
7 COMMON
DTR_A
9
CTS2 _232
11
Available for all channels SHIELD
(Pins 9 to 11)
RD2_232 RTS2_232
TD2_DIF+
TD2_DIF-
13 TD2_232
RS232 or RS422/485
RD2 _DIF+
(Pins 12 to 19)
15
Channel 2
17 RD2 _DIF-
CTS3_232
19
RTS3_232
21
RD3_232
TD3_DIF+
TD3_DIF-
TD3_232
RS232 or RS422/485
RD3_DIF+
(Pins 20 to 27)
Channel 3
23 25 RD3_DIF-
DTR_B
27 COMMON
SHIELD
29
Available for all channels (Pins 28 to 30)
RD4_232 CTS4_232
31 TD4_232
RTS4_232
33 RD4_DIF+
TD4_DIF+
35
TD4_DIF-
37
(Future Use)
39
RS232 or RS422/485
Channel 4 (Pins 31 to 38)
RD4_DIF-
(Future Use)
AA891-3391
B.2 -3
Page 102
Serial Communications Module (2, 4 channel)
Figure B2-3 illustrates how to connect an RS232 device to channel 1. Maximum cable length for RS232 devices is 50 feet. Figure B2-3. Connections for an RS232 Device (Ch 1)
External RS232 Communication Device
Connections RD1_232
Screw Terminals
1
CTS1_232 TD1_232
3
RTS1_232
5
7 Common 9 DTR_A
AA892-4491
B.2 -4
Page 103
Serial Communications Module (2, 4 channel)
Figure B2-4 illustrates how to connect an RS422/485 device to channel 1. NOTE: RS422 refers to an earlier standard that applied only to single drop connections. RS485 refers to multidrop connections. See Figure B2-5. Since the interface is used for both RS422 and RS485, terminating resistors are required for proper operation. Figure B2-4. Connections for an RS422/485 Device (Ch 1) Screw Terminals
1
100 ohm terminating resistors
3 External RS422/485 Communication Device
Connections RD1_DIF+
5
TD1_DIF+ RD1_DIF-
7
TD1_DIF-
9
11
Note: Shield pins 11 and 30 are connected internally to SPG.
30
B.2 -5
Page 104
Serial Communications Module (2, 4 channel)
With RS485, multidrop connections are possible as shown in Figure B2-5. The serial communications module acts as the master, sending control sequences to activate/deactivate external devices such as hand-held terminals, touch control screens, etc. Up to 32 devices can be connected per channel. Maximum cable length is 4000 feet. A terminating resistor (100 Ω) is installed on each end of the system as shown. Figure B2-5. Multidrop Connections
Serial Communications Module Screw Terminals
1
100 ohm terminating resistors
3 RD1_DIF+
5
TD1_DIF+ RD1_DIF-
7
TD1_DIF-
9
11 Note: Shield pins 11 and 30 are connected internally to SPG.
30 100 ohm terminating resistors
B.2 -6
External communication devices-Hand-held pendants (Up to 32 devices can be connected)
Page 105
Serial Communications Module (2, 4 channel)
Theory of operation
Serial communication is accomplished through the use of one or two DUARTs (Dual Universal Asynchronous Receiver/Transmitter). External serial devices are connected to a given channel of a DUART through either an RS232 interface or an RS422/485 interface. There is a dedicated processor with FIFO buffers on the module which services the DUARTs. This saves the main CPU from the time-consuming task of directly polling each DUART. The processor supports data transfers with rates up to 19.2 Kbaud for each channel. At rates above 9600 baud, hardware handshaking should be used. The FIFO buffers provide the main means of data transfer between the main CPU and the DUARTs. Up to 1 K of input data and 1 K of output data may be buffered at a given time for each channel. Communication is handled through PiCPro software.
B.2 -7
Page 106
Serial Communications Module (2, 4 channel)
Specification Table
Characteristics
Communications Module Specifications
Function
Provides 2 or 4 asynchronous serial communication channels to be used with serial interface devices
Part number
2 channel- 502-03676-23 4 channel- 502-03676-03
Dedicated processor
80C186, 8 MHz, 32K x 16 EPROM, 8K x 16 RAM
Ports 1, 2, 3, and 4
RS232 or RS422/485 electrical interface Supports RTS/CTS hardware handshaking Baud rates to 19.2 Kbps
Logic side power requirements (typical)
420 mA @ +5V 450 mA @ +5V 5 mA @ +15V 5 mA @ -15V
(2 ch) (4 ch)
50 mA per terminated RS422/485 channel @ +5V 5 mA per active RS232 channel @ +15V 6 mA per active RS232 channel @ -15V Operating temperature range
7° C to 55° C (45° F to 131° F)
Storage temperature range
-40° C to 85° C (-40° F to 185° F)
Humidity
5 to 95%, non-condensing
CE Marked
Conforms to Directives 73/23/EEC, 89/336/EEC, 92/ 31/EEC, 93/68/EEC by conforming to the following standards: EN 50081-2:1993 EMC Generic Industrial Emissions EN 50082-2:1995 EMC Generic Industrial Immunity EN 61131-2:1994/A11:1996 Low voltage directive requirements for programmable controllers Operates with emissions below EN55011/ CISPR 11 Class A limits Immune to: • Electrostatic discharge (4K V contact mode, 8K V air discharge) per EN61000-4-2 • RF electromagnetic fields per EN61000-4-3, ENV 50141, and ENV50204 • Electrical fast transients per EN61000-4-4 • Magnetic fields per EN61000-4-8 Refer to the EMC Guidelines for more information.
B.2 -8
Page 107
Serial Communications Module (2, 4 channel)
UL and C/UL Listed
File No. E126417 NRAQ Programmable Controllers
Physical size
1.6" wide x 12" high x 8.4" deep (including latch) 41 mm x 305 mm x 213 mm
Vibration (per IEC 68-2-6)
10-57 Hz (constant amplitude .15 mm) 57 - 2000 Hz (acceleration 2 g)
Shock (per IEC 68-2-27)
Four shocks per axis (15g/11 msec)
B.2 -9
Page 108
Serial Communications Module (2, 4 channel)
B.2 -10