This appendix explains how to build:
a synchronous null modem cable, for both RS-232-C and RS-449 interfaces
an X.21-to-RS-449 converter
an X.25 adapter cable that allows you to run Solstice X.25 over a serial interface on a SPARCstation IPC or IPX
a cable that lets you use the X.25 port on the SCiiExpress-X card as if it were an HSI port
The CPU serial port on a SPARCstation IPC or IPX can be jumpered for RS-423. References here to RS-232-C apply to IPC/IPX RS-423 ports as well.
A synchronous null modem is a specially configured cable that simulates two back-to-back modems. When the distance between two hosts is not great, you might be able to use a null modem cable instead of more expensive synchronous modems or synchronous modem eliminators. The use of the null modem cable described here allows you to connect your Sun machine to another Sun or non-Sun machine, for synchronous communication over a short distance.
The maximum distance at which a null modem cable can work is determined by the specification for your serial port interface and depends greatly on the quality of the cable you use.
You must perform the following steps to use a null modem cable for machine-supplied clocking:
Build the null modem cable, according to the pin-outs provided here.
In the x25tool Link Editor, set the Interface parameter so that one side is DTE and the other side is DCE.
In the x25tool Link Editor, set the Tx Clock parameter to the bit rate you want.
You can use a null modem cable with any of the Sun RS-232-C or RS-449 serial port options, except the EXPX device, which cannot supply a clock.
Solstice X.25 supports the following clocking alternatives:
Transmit clock and receive clock are both external. This is the situation in which clocking is provided by a synchronous modem or modem eliminator.
Transmit clock is internal; receive clock is external. On the machine that is to supply clocking, set the Tx Clock parameter to the bit rate you want in the Link Editor in x25tool.
You can only use an IPC/IPX in situations where clocking is external, that is, where the remote (non-IPC/IPX side) supplies both the transmit and receive clocks.
The following subsections provide four null-modem-cable schematic diagrams. The first pair of diagrams are RS-232-C null modems; the second pair are RS-449 null modems. Within each pair, one diagram illustrates a null modem cable to connect two Sun machines in which both Sun machines supply the clocking. The other diagram illustrates a null modem cable to connect a Sun machine to another Sun or non-Sun machine, in which only one Sun machine supplies clocking for both sides.
To build a null modem cable, you can configure your own cable or use a standard cable with an adapter box. If you decide to use an adapter box, be sure to obtain an adapter that allows you to change pin configurations. Pre-configured adapters generally do not work with synchronous protocols because they do not handle clock signals correctly.
For an RS-232-C cable, use a good quality, shielded wire. For an RS-449 cable, it is best to use shielded, twisted-pair wire.
The following diagram illustrates a synchronous null modem that allows you to connect two Sun machines that each supply clocking, using the RS-232-C interface. Each Sun machine supplies clocking on pin 24. The null modem routes this clocking to pin 17 on the opposite side to provide receive clocking.
In x25tool Link Editor window, set the Tx Clock parameter to the bit rate you want (not External) on both machines.
The following diagram illustrates a synchronous null modem that allows you to connect a Sun machine to another Sun or non-Sun machine, using the RS-232-C interface. The Sun machine supplies both the transmit and receive clocks for the other machine. Note that this null modem is not symmetrical.
In x25tool Link Editor, set the Tx Clock parameter to the bit rate you want (not External) on the Sun machine that is to supply clocking.
The following diagram illustrates a synchronous null modem cable that allows you to connect two Sun machines that each supply clocking, using the RS-449 interface. Each Sun machine supplies clocking on pins 17 and 35. The null modem cable routes this clocking to pins 8 and 26 on the opposite side to provide receive clocking.
Because the RS-449 interface is balanced, there are two pins for each signal. For example, in the diagram below, Send Data (SD), pins 4 and 22, is connected to Receive Data (RD), pins 6 and 24. This means that pin 4 is connected to pin 6 and pin 22 is connected to pin 24.
In x25tool Link Editor window, set the Tx Clock parameter to the bit rate you want (not External) on both machines.
The following diagram illustrates a synchronous null modem cable that allows you to connect a Sun machine to another Sun or non-Sun machine, using the RS-449 interface. The Sun machine supplies both the transmit and receive clocks for the other machine. Note that this null modem cable is not symmetrical.
Because the RS-449 interface is balanced, there are two pins for each signal. For example, in the diagram below, Send Data (SD), pins 4 and 22, is connected to Receive Data (RD), pins 6 and 24. This means that pin 4 is connected to pin 6 and pin 22 is connected to pin 24.
In x25tool Link Editor, set the Tx Clock parameter to the bit rate you want (not External) on the Sun machine that is to supply clocking.
Tables A-1 and A-2 list the signals and names for RS-449 and X.21 circuits.
Table A-1 RS-449 Signals
Circuit |
Name |
Direction |
---|---|---|
SD |
Send Data |
To DCE |
RD |
Receive Data |
From DCE |
TT |
Terminal Timing |
To DCE |
ST |
Send Timing |
From DCE |
RT |
Receive Timing |
From DCE |
RS |
Request to Send |
To DCE |
CS |
Clear to Send |
From DCE |
RR |
Receiver Ready |
From DCE |
TR |
Terminal Ready |
To DCE |
DM |
Data Mode |
From DCE |
SG |
Signal Ground |
|
Table A-2 X.21 Signals
Circuit |
Name |
Direction |
---|---|---|
G |
Signal Ground |
|
T |
Transmit |
To DCE |
R |
Receive |
From DCE |
C |
Control |
To DCE |
I |
Indication |
From DCE |
S |
Signal Element Timing |
From DCE |
B |
Byte Timing |
From DCE |
The diagram below illustrates the pin connections required for an X.21-to-RS-449 converter.
The information in this section applies only to the x86 version of the product.
If you want to use the X.21 interface provided by the SCii Express-X card in the same way as an HSI interface, make up a cable as below:
You can build an adapter cable to run Solstice X.25 over the 8-pin serial port on a SPARCstation IPC or IPX.
Table A-3 lists the pin-outs in the X.25 Adapter Cable.
Table A-3 Pin-outs for IPC/IPX Adapter Cable
Signal Name |
Female DB-25 Pin Number |
DIN-8 Pin Number |
---|---|---|
TD |
2 |
3 |
RD |
3 |
5 |
RTS |
4 |
6 |
TC |
15 |
2 |
GND |
7 |
4 |
DCD |
8 |
7 |
RC |
17 |
8 |
DTR |
20 |
1 |
Pin-15-to-pin-2 is the only difference from the asynchronous DIN-8-to-DB-25 cable, which has DB-25 pin 5 pinned to DIN-8 pin 2.