The text of a manual · part 56 of 60
PiC900 Hardware Manual: N.1 - Peer-to-Peer Communication Connections
Pages 453 to 466 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 453
N.1 - Peer-to-Peer Communication Connections
N.1 -1
Page 454
Peer-to-Peer Communication Connections
Establishing Communications
It is possible to establish communication between PiCs equipped with peer-to-peer communication capability using various connection configurations. These configurations will depend on how many PiCs you are communicating with and how great a distance the total network will cover. Two to seven (eight with some systems) PiCs can be connected using twisted pair wire. The twisted pair wiring can consist of one or more lengths connecting the PiCs. A minimum length of 6 feet (2 m) between devices on a network is required. The total network length end-to-end may be a maximum of 400 feet (122 m). This is referred to as a wire segment. With the use of active hubs, it is possible to link up to 255 PiCs in a network extending up to four miles (6400 m) using twisted pair, coax and/or fiber optics cabling. With coax cable, a minimum length of 6 feet (2 m) between devices on a network is required. The total network length end-to-end may be a maximum of 2000 feet (610 m). With glass fiber optics, there is no minimum length. The total network length end-to-end may be a maximum of 3000 feet (915 m), 6000 feet (1800m), or 9000 feet (2740m) based on 50, 62.5, or 100 micron glass fiber optics cable respectively.
CAUTION Although considerable noise immunity is obtained with the isolated twisted pair interface, care should be taken to route twisted pair wires and coax cables separate from wires used for high voltage, motors, solenoids, etc. Throughout Appendix N1 and N2, refer to the individual module write-ups for the communication connection pinouts for your module.
N.1 -2
Page 455
Peer-to-Peer Communication Connections
Communication Topologies
There are several possible layouts or topologies for peer-to-peer communications. They are summarized here. The PiC or any device that contains an ARCNET controller chip and cable transceiver and is connected to a network is referred to as a node. The PiC has no internal termination and, therefore, whenever a PiC appears at the end of a segment it must be terminated with a 100 Ω resistor. A device that facilitates interconnecting multiple nodes by matching line impedance is called a hub. The active hubs used here have internal termination. Bus Topology
In bus topology, the nodes can be connected without the use of a hub. Cabling distances and node numbers are less than when a hub is used. Whenever a bus topology is used, each end of the bus must be terminated with a resistive terminator. NODE
NODE
NODE
NODE
NODE
Terminator
Terminator
Star Topology
The star topology requires the use of a hub. This topology makes troubleshooting easiser since only one node is connected to one port on the hub.
NODE
Terminator
Terminator
HUB
NODE
Terminator
NODE
NODE
Terminator
N.1 -3
Page 456
Peer-to-Peer Communication Connections
Distributed Star Topology
Whenever hubs are cascaded together, the topology is called a distributed star. Each hub can have various nodes connected to it.
NODE
NODE
Terminator
HUB
Terminator
HUB
NODE
NODE
Terminator
Terminator
Distributed Star/Bus Topology
A star topology can be combined with a bus topology.
NODE
Terminator
NODE
NODE
NODE
Terminator
HUB
NODE
Terminator
N.1 -4
Page 457
Peer-to-Peer Communication Connections
Connecting PiCs up to 400 feet - Bus Topology
Connections for peer-to-peer expansion using two different types of PiCs are illustrated in Figure N1-1. Twisted pair wire is used. 100 Ω resistors must be installed at each end of the wire segment. Figure N1-1. Connections between PiC9XXs - Bus Topology
PiC9XX 2
CPU
PiC9XX 1
CPU
DIAG
DIAG
CONFIG
CONFIG
IN OUT
IN OUT
DATA
DATA TX ACT
TX ACT
ARCNET
ARCNET IN
OUT
RS232
Peer-to-peer twisted pair interface
IN OUT
RS232
PiC900 ™
PiC900 ™ Peer-to-peer communications
100 ohm resistor needed at end of wire segment
In
100 ohm resistor needed at end of wire segment
Out
In
Out
N.1 -5
Page 458
Peer-to-Peer Communication Connections
Connections for peer-to-peer expansion using two PiC9XXs and a PiC90 are illustrated in Figure N1-2. Twisted pair wire is used. 100 Ω resistors must be installed at each end of the wire segment. Figure N1-2. Connections between PiC90/9XXs - Bus Topology
PiC90 CSM/CPU
DIAG PWR SCAN BATT
PiC9XX
PiC9XX
CPU
CPU DIAG
DIAG
CONFIG
CONFIG
INOUT
DATA TX ACT
ARCNET INOUT
RS232
Run Stop PiC90™ GIDDINGS & LEWIS ® Programmable industrial Controller
ON
Peer-to-peer twisted pair interface
PiC900 ™
INOUT
DATA TX ACT
ARCNET INOUT
RS232
PiC900 ™
OFF
L / LINE1 N / LINE2 E / GRND
PiCPro P-P
100 ohm resistor needed at end of wire segment
N.1 -6
User Port
100 ohm resistor needed at end of wire segment
Page 459
Peer-to-Peer Communication Connections
Figure N1-3 illustrates how multiple PiCs can be connected using twisted pair wire. The total twisted pair wire segment is under 400 feet (122 m). Notice that the ends of the wire segment must be terminated with a 100 Ω resistor. Figure N1-3. Connecting PiCs within 400 feet (122 m) - Bus Topology Wire Segment End to end distance up to 400'
PiC900/90
PiC900/90
PiC900/90 100 ohm
100 ohm
PiC900/90
PiC900/90
PiC900/90
Twisted pair wire
N.1 -7
Page 460
Peer-to-Peer Communication Connections
Expanding with Active Hubs
An active hub may be added to the system if greater than 400 feet distances need to be covered and/or if more than eight PiCs need to be included in the network. An active hub also allows you to communicate using a variety of cabling types. The MOD HUB from Contemporary Control Systems, Inc. (CCSI) is an electronic device used to expand networks. Its main function is to match line impedance. It regenerates the network signal for distances from 6 to 400 feet (100 m) using twisted pair cable, from 6 to 2,000 feet (610 m) using RG 62/U coax cable in a bus topology (0 to 2000 in a star topology), or 0 to 9,000 feet (2740 m) using glass fiber optics cable. With the use of a MOD HUB, these cabling types can be intermixed depending upon the requirements of your network. The MOD HUB uses plug-in expansion modules each containing four ports. The ports may be all one type of connection (twisted pair, coax, or fiber optics) or a mix of two types of connections (twisted pair/coax, twisted pair/fiber optics, coax/fiber optics). You decide on the type of cabling or mix of cabling you need and choose the appropriate expansion modules. The MOD HUB is available in two sizes: a 16 port enclosure holding up to four modules or a 48 port enclosure holding up to 12 modules. The MOD HUB requires AC power and is available in 120V or 240V versions. Diagnostic LEDs help with troubleshooting. Each expansion module has LEDs indicating activity for each port. There are four other LEDs on the timing module of the hub. Refer to the MOD HUB documentation from CCSI for more information. Figure N1-4. MOD HUB 16 with Four Expansion Modules
BNC Connector (Coax)
Port Activity LEDs RJ-11 Connector (Twisted Pair)
Reconfiguration LED MOD HUB +PWR
RECON
-PWR TIMING
±Power On LEDs Power On Switch Fuse Box Power Cord Connector
ST Connectors (Glass Fiber Optic) Timing LED
There is also a network interface module (NIM) available from CCSI if you need to interface your network to a PC. The PCX series of NIMs supports coax, twisted pair, or fiber optics connectors on it. See Figure N1-9. Connectors Coax
Coax cable is connected to the MOD HUB using BNC tee connectors.
N.1 -8
Page 461
Peer-to-Peer Communication Connections
Figure N1-5. BNC Connector for Coax Cable BNC Tee Connector
BNC Tee Connector with 93 ohm terminator
Twisted Pair
The twisted pair wire from the PiCs must be connected to an RJ11 modular plug. The pinout for the RJ11 modular plug for any of the recommended CCSI products is shown in Figure N1-6. Be sure that you match polarity when making the connection from the connector on the PiC to the RJ11 modular plug. Figure N1-6. RJ11 Modular Plug (6 position - 4 contact) for Twisted Pair Wire
To CCSI product
6 5 4 3 2 1
4+ To positive peer-to-peer connection pin on PiC
3To negative peer-to-peer connection pin on PiC
Typically 24 AWG solid wire
Refer to the specification table at the end of for alternate wire sizes. Fiber Optics
Fiber optic cables are duplex, multimode in either 50/125, 62.5/125, or 100/140 micron cable. Use the bayonet style ST connectors.
N.1 -9
Page 462
Peer-to-Peer Communication Connections
Figure N1-7. ST Connector for Fiber Optic Cable
Slot Ceramic end of fiber optic cable Notch to slide into slot above
Connector on module Notch to lock latch onto Latch
ST style connector on fiber optic cable
AA842-1191
CAUTION Never create a loop with the network cabling. For example, do not connect the PiCs (or hubs) in such a manner that the cabling attached to the last device is also connected to the first device. Figures N1-8 and N1-9 illustrate some of the connection configurations for peerto-peer communication using active hubs. In Figure N1-8, two active hubs are connected using coax cable. The twisted pair wire is used to connect a bus of PiCs to the hubs. Note that the end of the bus is terminated with a 100 Ω resistor.
N.1 -10
Page 463
Peer-to-Peer Communication Connections
Figure N1-7. MOD HUBs using Coax and Twisted Pair - Distributed Star/Bus Topology
Wire Segment End to end distance up to 400' PiC900/90
PiC900/90
PiC900/90
PiC900/90
PiC900/90
100 ohm
Up to 2000' coax cable
RECON +PWR
MOD HUB
RECON +PWR
-PWR
-PWR
TIMING
TIMING
PiC900/90
100 ohm
PiC900/90
PiC900/90
MOD HUB
PiC900/90
PiC900/90
PiC900/90
Wire Segment End to end distance up to 400'
Key Coax cable
Twisted pair wire
Figure N1-9 shows some other network possibilities. The maximum cable distance between any two PiC900s located at opposite ends of the network is 20,000 feet/4 miles (6400 m). More modules could be added to each MOD HUB as your system requires.
N.1 -11
Page 464
Peer-to-Peer Communication Connections
Figure N1-8. Cascading Hubs to further Extend the Network - Distributed Star/Bus Topology
93 ohm BNC terminator
PC
PiC900/90
PiC900/90
PCX
100 ohm
Coax Connecting Hub from 6' to 2000'
PiC900/90
PiC900/90
MOD HUB +PWR
RECON
-PWR TIMING
Coax Connecting Hub from 6' to 2000'
Fiber Optic Connecting Hub from 0' to 3000, 6000, or 9000'
PC
MOD HUB +PWR
RECON
RECON
+PWR
-PWR
-PWR
TIMING
TIMING
MOD HUB
PiC900/90
PiC900/90
100 ohm
100 ohm
PiC900/90
PCX
PiC900/90
PiC900/90
PiC900/90
Key Duplex Fiber Coax cable Twisted pair Optic Glass wire cable
Some of the items listed below are available from: Contemporary Control Systems, Inc. (CCSI) 2512 Wisconsin Avenue Downers Grove, IL 60515 Phone: 630 963-7070 It is recommended that they be used for peer-to-peer communications. NOTE: Part numbers may be changed by manufacturers.
N.1 -12
Page 465
Peer-to-Peer Communication Connections
CCSI also has network configuration guides available and other information you may find helpful. Recommended connectivity products
Description
Active MOD HUB
MOD HUB-16 (16 port, 120V) MOD HUB-16E (16 port, 240V) MOD HUB-16F (16 port, 120 V, flange mount) MOD HUB 16 EF (16 port, 240 V, flange mount) MOD HUB-48 (48 port, 120 V) MOD HUB-48E (48 port, 240 V) NOTE: There is also a HUB rack mounting kit available.
EXP modules
The following expansion plug-in modules are available, each with four ports: EXP-TPS (Twisted Pair) EXP-CXS (Coax) EXP-TPS/CXS (Twisted Pair/Coax) EXP-FOG-ST (Glass Fiber Optics with ST connector) EXP-TPS/FOG-ST (Twisted Pair/Glass Fiber Optics with ST connector) EXP-CXS/FOG-ST (Coax/Glass Fiber Optics with ST connector)
PCA (16 bit) module
An ARCNET Network Interface Module for the IBM compatible PC PCA-CXS (Coax) PCA-66-TPB (Twisted Pair) PCX-20-TPB (Twisted Pair) PCA-FOG-ST (Glass Fiber Optics with ST connector) TPB-Terminal Resistor (RJ-11 100 Ω terminator)
ARC DETECT™
Handheld network analyzer recommended for maintaining and troubleshooting your network.
BNC Tee connector
BNC/T
93 Ω BNC terminator BNC/TER RG62/U coax cable
Belden
#86262
Glass fiber optics 50/125 62.5/125 100/140
Belden Belden Belden
227822 225872 226822
N.1 -13
Page 466
Peer-to-Peer Communication Connections
Twisted pair wire
24 or 26 AWG solid or 26 AWG stranded One recommended type is Belden 1227A - 24 AWG solid copper unshielded twisted pair. This comes with two pairs. Use only one pair. For EMC compliance, it is necessary to use shielded twisted pair wire. One recommended type is Belden 9729-24 AWG (7 x 32) stranded conductors. This also comes with two pairs. Use only one pair and terminate the shield wire only if there is a pin provided for this at the ARCNET node. IMPORTANT
Use of other wire sizes may result in an impedance mismatch that could disable communications with some or all nodes on a network when doing peer-to-peer communications.
N.1 -14