The text of a manual · part 6 of 13
Synel SY-780A/760 Terminals and Sub-models: Host Computer Interfacing
Pages 38 to 45 of 106, from Synel SY-780A/760 Terminals and Sub-models
The original document is the PDF (1.1 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 Synel SY-785 and Synel SY-780A
Page 38
-
Host Computer Interfacing There are a number of different standard communication channels. The data collection terminal can be connected to the host computer using either an RS-232 or an RS-485 connection with an asynchronous serial port. RS-232 is used for a single device with a point to point connection, for distances up to 50 meters (160 ft). RS-232 is the communication standard used by nearly all PCs and modems. The cabling distance is limited to 50 meters (160 ft) and only one terminal may be connected to the same COM port. The RS-485 standard extends the potential cabling distance to 1,000 meters (3,280 feet). Using 9600 baud enables multi-COM port connections. It uses only two communication wires. The SY-65 communication adapter converts RS-232 to RS-485.
Most computers use DTE type connectors on their RS-232 ports. The terminal is equipped with an RJ45 (telephone jack) connector. Therefore, you will need a connection box intermediating the terminal and the host.
36
Page 39
DIRECT (RS-232)/MULTEDROP (RS-485) CONNECTION
COM2 cOM1
” Workstation RS-232 DB9 Ve
Communication Box
SY-65
Al B1 Bi B2 a L__4
RS 422 485
Converter, »
37
Page 40
-
1
Installing communication cables
Follow these guidelines when installing the communications cables: 1.
2.
The cable should not be installed near an EMI sources, such as: • Motors, generators, alternators, and transformers • Air conditioners, elevators • Radio/television transmitters, signal generators and internal communication networks Cables should not be within 30 cm. (1 foot) range from less than 5 KVA power lines.
3.
Cables should not be within 60 cm. (2 feet) range from 5-10 KVA power lines.
4.
Cables should not be within 1.5 meters (5 feet) range of power lines of exceeding 10 KVA.
5.
Cables should not run parallel to power lines for more than 15 meters (49 feet).
6.
It is best to use a single continuous cable for the communication line. If this is not possible, the cable should have only one connection, indoors, as follows:
7.
• Using two connectors with appropriate shielding and cover. • Using a connection box. For aerial installation, use N.Y.Y shielded cables.
38
Page 41
-
2
Connecting your PC to the SY-65
The SY-65 must be set to one of the RS-485 modes, i.e. 4,5,6 and 7. For more information, refer to the manual for the SY-65 communication adapter. The diagrams below describe the pin outs for the cable used to connect your PC to the SY-65 communication adapter. If your PC contains a 9-pin connector refer to the first diagram, if it contains a 25-pin connector, refer to the second diagram.
39
Page 42
-
3
Connecting the SY-65 to a connection box
A 24 gauge, shielded two wire twisted pair cable should be used to connect the SY-65 to a connection box.
• Open the connection box. • • • •
3.1
Connect the -TRX wire to the connection marked OR. Connect the +TRX wire to the connection marked BK. Connect the shield wire to the connection marked RD. Close the connection box.
If communication problems occur
1. 2.
Lower the baud rate. Use cables with a heavier gauge conducting wire.
3.
Connect 100 ohm resistors between the MRxD and PRxD, and also between MTxD and PTxD that are at the ends of the wire of the following two connectors:
4.
a. The connector on the computer. b. The connector on the last terminal of the multi-drop line. EMI protection is integrated into the terminal, but it is best to use an external protector for lightning problems. 40
Page 43
-
4
Making a multi-drop connection Most computers use DTE type connectors on their RS-232 ports. The terminal is equipped with an RJ45 (telephone jack) connector. Therefore, you will need a connection box intermediating the terminal and the host.
All terminals and their connection boxes are connected in exactly the same way, regardless of their terminal IDs. The multi-drop line may be created in one of two ways: creating a chain of connection boxes, using a junction box. Method 1
Method 2
The SY-65 is connected to a juncThe SY-65 is connected to a connection box which in turn con- tion box. A separate cable is connects to another connection box, nected from each connection box to the junction box. thereby forming a chain.
41
Page 44
-
4.1
Cable from the terminal to the connection box
This is a standard 6 wire telephone cable with an RJ45 connector cable which is supplied with the terminal. The pin locations are illustrated below to allow you to prepare such a cable. The length of the cable should not exceed 30 meters (98feet). Male RJ45
Male RJ45 1
1
2
(-Tx, Rx)
(-Tx, Rx)
2
3
(+Tx, Rx)
(+Tx, Rx)
3
4
(Gnd)
(Gnd)
4
5
(TxD)
(TxD)
5
6
(RxD
(RxD
6
7
7
8
8
The RJ45 connector on the terminal’s side must be a short (12.35mm) RJ45 connector to enable the terminal connector case that hides the connectors to close.
42
Page 45
-
5 terminal to RS-232 port direct connection
• Open the connection box. • •
Connect the TXD wire to the connection marked GR. Connect the RXD wire to the connection marked YL. Connect the ground wire to the connection marked RD. P1 RJ45
RxD
GND
TxD
43