The text of a manual · part 3 of 25
Attended Workstations (Catalog Nos. 2708-DH5B2L & -DH5B4L) (Series B) User Manual, pages 21 to 29
Pages 21 to 29 of 186
The original document is the PDF (513 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 2708
Page 21
Chapter 2 Installing a Network
Step By Step Installation (cont’d)
5. Inspect the locations where the cable has been run, using a different person than the installer. Make sure that the cable: a. Is not run parallel to AC cables (BUILDING POWER) for more than a few feet at any time. This will avoid induction of AC onto your low voltage data network. Whenever the network cable must cross AC power lines, they should cross perpendicular to each other. b. Is not allowed to rest on top of fluorescent lamps in the ceiling. The ballasts from these lamps are worse than AC power lines. c. Is never spliced in a manner that allows the cable to make a 3-way junction. Network cables must be a bus. Only the Master workstation and the last workstation can have a single network cable going to them; all others will have two cables. d. Is not located next to or run over large motors, building transformers, or very large current areas, such as radiology labs. e. Is not located where it is easily broken or shifted around. Note: Make sure that the workstations are not next to building transformers, or large electric motors. Induced voltage spikes can affect the operation of the network. 6. Inspect visually every connector. It is recommended that a person, other than the one who connected the wires, inspects the following: a. Correct COLORS of wire have been connected. b. Be sure that ALL of the strands of the conductor are properly inserted into the connector. It is very easy to nick the wire when stripping it. This results in the strands breaking. c. Flex the wire at the connector a few times (this is not the time to prove your strength, THEY CAN BE BROKEN) to see if the wire has been badly nicked. It will break if this has occurred. 7. Inspect the pins for proper color in the proper hole. 8. Check continuity of the network cable by: a. Temporarily short pins 4 and 5 of the MASTER workstation’s network connector together. You can do this with a clip lead, or use a female 9 pin solder type connector with pins 4 and 5 soldered together. (You can get solder type connectors at local electrical retailers.) b. Set the voltmeter to the 100 OHM scale (or the nearest available value).
2–8
Page 22
Chapter 2 Installing a Network
Step By Step Installation (cont’d)
c. At the next workstation location, place the meter on pins 4 and 5. You should have almost no resistance. A good rule of thumb is 1 ohm for every 25 feet of network cable. If there is 400 feet of cable to the Master, then there should be no more than 16 ohms of resistance. d. Try each workstation in turn, checking to see that the resistance does not change drastically. If the resistance is high, you may have a poorly crimped pin, or a partial break in the cable itself. If the resistance is infinite (completely open), then there is a break, or a broken conductor. e. By going from one station to the next, you can isolate what segment of the cable has a problem. f. When the entire cable has been checked, remove the jumper from the Master’s connector. 9. Install the hoods on the connectors. Attach the connectors to the workstations.
The Terminator Switch After the network is installed, it is usually necessary to cancel out signal reflections inherent in any cable layout. To do this, flip on the terminator switch underneath the MASTER and SUBMASTER WORKSTATIONS ONLY. The terminator switch is on the bottom of the workstation. The ON position is toward the top of the workstation. Figure 2.10 Terminator Switch
Note: The terminator switch should be OFF on all workstations except the MASTER and SUBMASTER. If other terminator switches are on, indeterminate network conditions will occur. Communication Cables The cables used to communicate from the Host computer to the Master or from a Concentrator to a Sub-Master workstation use either RS-232 or RS-422 signal standards. The connector pin-out diagrams for all of the possible workstation configurations are shown in Appendix D. 2–9
Page 23
Chapter 2 Installing a Network
Testing the Network for Data Transmission
1. At the LAST workstation in the network, place the workstations into the menu setup mode (see Appendix B). a. Press the left arrow key (<) until the Diagnostic menu statement appears in the display. b. Press the ENTER key and then depress the left arrow key (<) until RS-485 – BLK-Rx is shown on the display. c. Press the ENTER key and the following should appear: Rx = 00000 000
ERRS = 00
If the counters are not zero, press EXIT, then press ENTER, and they should be set to zero. d. Repeat steps a, b, and c for all workstations, except the Master workstation. 2. At the Master workstation enter the Diagnostic menu and press the left arrow key (<) until RS-485 – BLK-Tx is shown on the display. a. Press ENTER and the display should show the following, momentarily: Tx = 00000 000
ERRS = 00
After the counters appear, the Tx counter will begin incrementing to represent the number of blocks being transmitted over the network to all workstations. b. An observation of the display of the workstations placed in receive will show the Rx counter changing accordingly as the transmitted network blocks are received. c. After a reasonable testing interval, press the EXIT key on the Master workstation, thus suspending the network block test. d. Examine each workstation to see that the Rx block count is the same. It should be the same at all workstations (It is possible to be off by one or two counts.) Also, inspect to see that ERRS count is zero or less than three. Either a missing block count or high error count indicates a bad network connection or a faulty workstation. Exchanging the workstation will determine which is the case. e. For additional confidence, perform step 1 at the Master workstation location and step 2 at the last location. Step 1 may be repeated at all other workstations. The changing of block transmission locations verifies communications in the opposite direction. f. Press EXIT three times on each workstation. 3. Always use retaining screws for all DB-9 connectors. Connect the RS-232 (or RS-422) cable to the host computer. 2–10
Page 24
Chapter 2 Installing a Network
Communication to the Host Computer
Connect the WORKSTATION COM1 Port to the Host computer using a cable wired according to the pin-out diagrams shown in Appendix D. To communicate to the Host computer, it is necessary to be able to make your computer send and receive ASCII characters in an asynchronous communication manner. If a personal computer is used, programs such as PROCOMMR, and KERMIT are ideal for this purpose. Most ASYNCHRONOUS TERMINAL EMULATION PROGRAMS will work. The communication set-up parameters must be the same for both the computer and the workstation terminal. Please see Appendix B, Menu Trigger Keys, for the procedure to enter the workstation menu mode. If the program is resident in the workstation, press the menu trigger keys (Enter and Right Arrow simultaneously), disconnect power, then reconnect power while holding down the Enter and Right Arrow keys simultanenously to enter the workstation menu mode. 1. In the menu mode 1 - Network Menu will appear. Press ENTER; “Terminal Number” will appear. Press 1, then ENTER; “Terminal Type” will appear. Press < – until the terminal type changes to “Master”, then press ENTER, then press EXIT. 2. Press the < –, until “2-Comm Port Menu” appears. Press ENTER; “Comm Port Mode” will appear. Press < – until the mode changes to “XON/XOFF”.① Press ENTER; and “Comm Baud Rate” will appear. 3. Press < – until the baud rate is the SAME AS THE BAUD RATE SELECTED ON THE HOST COMPUTER. 9600 and 1200 are the most common baud rates.② In some cases NO character will show up if the baud rate is improperly set. Press ENTER; “Comm Data Bits” will appear. 4. Press < – until the Data Bits are the same as the Host computer. This is normally 7. Press ENTER “Comm Parity” will appear.
① For testing the cable connections, use XON/XOFF. If you are using a data collection program such as Network Manager Software (Catalog No. 2708-NNM), you may have to change this to “POLLED” before using such programs. ② If the baud rate is incorrectly set, when your computer sends characters to the workstation, unpredictable characters will show up on the display when you are in “COMM RECEIVE TEST” mode. In some cases NO character will show up if the baud rate is improperly set.
2–11
Page 25
Chapter 2 Installing a Network
5. Press < – until the parity is the SAME AS THE PARITY SETTING ON THE HOST COMPUTER. A selection of “EVEN” is commonly used.③ Press ENTER; “Comm Stop Bits” will appear. 6. Press < – until “One” appears.④ Press ENTER; “Comm CRLF” will appear. 7. Press < – until “ENABLED” appears.⑤ Press ENTER; “Comm Echo” will appear. 8. Press < – until “ENABLED” appears.⑥ Press EXIT; “1-Network Menu” will appear. 9. Press OUT; “Diagnostics” will appear. Press ENTER; Press < – until “Comm Rx Test” appears. Press ENTER; 10. The following should appear on the two line display:
DTR: ON
CD: ON
Pressing the number 1 and 2 will turn DTR ON and OFF.⑦ 11. Start the communication program on the Host computer. If the program is an asynchronous terminal emulator program, then characters that are typed on the computer are sent directly over the communication line. These characters should appear on the top line of the workstation display.⑧ 12. Press EXIT; “Comm Rx Test” will appear. Press OUT; “Comm Tx Test” will appear. Press ENTER; The top line will be blank and the second line will show:
DTR: ON
CD: ON
The Host computer should be receiving a continuous transmission of ③ If the parity is set incorrectly, the workstation will still RECEIVE characters properly. Your Host computer may not receive correctly, if at all. ④ If the baud rate is incorrectly set, when your computer sends characters to the workstation, unpredictable characters will show up on the display when you are in “COMM RECEIVE TEST” mode. In some cases NO character will show up if the baud rate is improperly set. ⑤ If you find that your computer is receiving double spaced lines from the workstation, then set CRLF to DISABLED. Also disable when using Network Manager Software (Catalog No. 2708-NNM) or similar software. ⑥ If you find that when you are using your workstation program, you see two characters for each one you type (such as DDIISSPPLLAAYY//HHEELLOO//) then set Com Echo to DISABLED. Note that when using a data collection program (such as Network Manager Software (Catalog No. 2708-NNM) you will also DISABLE this option. ⑦ Your computer may be unwilling to transmit characters unless these RS-232 lines are in the proper state. If you are having trouble communicating, check your cable diagram against the specifications for your computer’s RS-232 port. Additionially, the workstation requires CD to be high (or on) for communications. ⑧ Random characters on your computer or the workstation display indicate the baud rate is wrong. If about half of the characters are wrong or missing, the parity is set incorrectly. If nothing at all happens, the cable is wrong or something is broken.
2–12
Page 26
Chapter 2 Installing a Network
“The quick brown fox jumped over the lazy dog”⑨ type of messages. Communications can receive at rates that are faster than any terminal emulation program due to the use of POLLED mode as the COMM PORT MODE. 13. Press EXIT, three times 14. The AUX port (labeled COM2 on the back of the workstation) can be set up and checked out in the same manner as the primary COM1 port. The AUX port, however, is strictly a data transfer port operating with XON/XOFF flow control. It has transmit, receive, and signal ground lines. There are no modem control lines on this port. The installation of the workstation in a simple network is now complete.
Complex Network
Description of Large or Complex Network Installing a large or complex network of workstations involves connecting together several smaller networks. The network which connects all of the smaller or sub-networks together is called the “backbone” network. Each sub-network is referred to as a “tributary” network. Up to 31 tributary networks may be attached to the backbone to form a very large network. Each tributary, in turn, may contain up to 32 workstations. A maximum of 1024 workstations may be connected in this fashion. Once the layout of such a network has been determined, cabling proceeds in the same manner as cabling for a single or backbone network. Both tributary and backbone networks are wired as previously described. The workstation which is attached to the Host is configured as the “Master”. Each workstation on the backbone network that connects to a tributary network is configured as “Concentrator”. The workstation on the tributary which attaches to the Concentrator is configured as the “Sub-Master”.
⑨ After a few seconds or minutes of receiving these messages, your computer starts displaying wrong characters or only parts of messages, then your computer (or the communications program) is unable to accept records at the rate they are being sent by the workstation. Try a lower baud rate on your Host and the workstation until you can receive successfully as quickly as the data is sent. Note that some programs such as Network Manager Software (Catalog No. 2708-NNM) can receive at rates that are faster than any terminal emulation program due to the use of POLLED mode as the COMM PORT MODE.
2–13
Page 27
Chapter 2 Installing a Network
Figure 2.11 Large Network Configuration
Host
Key: W S C M
W | W W | | W W | | S S | | M - W - C - W - C - W - C - W - W - C - C - W | | | S S S | | | W W W | | | W W W | | W W | W Workstation Submaster Concentrator Master Indicates RS-232 or RS-422 connection Indicates RS-485 backbone Indicates a tributary
All of the workstations, including Masters, Concentrators and Submasters, are standard workstations which have been configured for their individual roles in the network. A configuration parameter is changed to allow any workstation to adopt a new role in the network. Each workstation is capable of operating in both a data collection and a data communications mode. A workstation which is being used as a Master, Concentrator, or Submaster can perform data collection functions even while serving in the communication network.
Alternate Communication Links When installing large networks, you may consider redundant communication links in order to protect against Host or Master workstation failures. This involves establishing certain workstations as “Alternate Sub-Masters”. Configuring a large network with Alternate Masters will allow the alternate workstation to take over communication operations if the designated Master becomes inoperable or is removed from the network. An Alternate Host provides full redundancy for collection in the event of a Host failure. 2–14
Page 28
Chapter 2 Installing a Network
Figure 2.12 Large Network Configuration with Alternate Masters
Host 1 Host 2
W | W W | | W AS | | S S | | M - A - C - C - C - W - C - C - W - C - C - C | | | S S S | | | AS W AS | | | W W W | W
Key: W Workstation S Submaster M Master C Concentrator A Alternate Master AS Alternate Submaster Indicates RS-232 or RS-422 connection Indicates RS-485 backbone Indicates a tributary
An Alternate Submaster will allow the communication operations to continue through a secondary Concentrator if the primary Concentrator becomes inoperable or is removed from the network.
Networks Over Telecommunications Lines It is possible to configure a workstation network which spans multiple buildings, outposts, or sub-stations located at remote sites. Switched or leased telephone lines can be used with asynchronous modems to provide communication links for such a network. Asynchronous short-haul modems may be used to extend the normal RS-232 communication distance from 100 feet to as much as several miles. To use modems for communications between a Concentrator and Submaster the workstations MUST have an RS-232 communication port (Workstation Catalog No. 2708-DH5B2L). A modem cable must be correctly connected to TXD, RXD, RTS, CTS, DSR, DTR, and GROUND signals (see Appendix D). The COMM BAUD RATE parameter must be changed to the same baud rate as the modem. 2–15
Page 29
Chapter 2 Installing a Network
As soon as the modems establish communication between themselves, the remote system will be ready for use. Extension of a network across telephone lines consists of placing a modem on one side of the line to connect with the Concentrator, and placing another modem on the other side to connect with the Submaster. Figure 2.13 Extending Network Across Common Carrier Backbone Network W | M | W | W | C | W | W Key: W S C M
Tributary Network
W | W | W | S | W
HOST modem modem Telco
Workstation Submaster Concentrator Master
Indicates RS-232 connect Indicates telephone line Indicates RS-485 backbone
Figure 2.14 Use of the Gateway Option Backbone Network
Tributary Network
W | W | G | W | W
W | S | W
Key: W S C M G 2–16 modem modem Telco
Workstation Submaster Concentrator Master Gateway
Indicates RS-232 connect Indicates telephone line Indicates RS-485 backbone