"What's a Wrap Plug at all ?"
In brief it is a plug with some connections, where lines from serial or parallel ports are shortened to each other.
"What's the use of a Wrap Plug ?"
It is used to test if the external communication from a port works as well, i.e. that port drivers and the connector itself is in working order.
"Can you give an example ?"
I sure can. Here's the most common:
Assumed you have a PS/2 and have some trouble with i.e. the serial port. You start your machine with the reference disk or from the reference partition. At the reference' Main Menu you press [CTRL]+[A] to start the advanced diagnostics and select "Run system checkout" from the follow-up menu.
You get a device list to confirm and can then select "Run the tests one time" or "Run the tests continously", "Log or display the errors" and "Display the device list".
Use "Run the tests one time". Then select the (first) serial port, sometimes named as "Async 1".
After some time a window similar to this below appears:
+-------------------------------------------+
| Question Page 1 of 1 |
| |
| Do you want to use a wrap plug to test |
| system-board async port 1? |
| |
| |
| |
| |
| |
| Press Y or N |
+-------------------------------------------+
If you answer with "N" only the internal part of the serial port is tested (the UART and the Interrupt requests) but not the external transceivers. If they are damaged -by what reason- the diagnostic will end with no errors, but the port may however be defective and unusable.
If you answer with "Y" you get the next window:
+-------------------------------------------+
| Question Page 1 of 1 |
| |
| Is an IBM communications cable attached |
| to system-board async port 1? |
| |
| |
| |
| |
| |
| Press Y or N |
+-------------------------------------------+
If there is none attached (in most cases) answer with "N".
Now the next window shows up:
+-------------------------------------------+
| Instructions Page 1 of 1 |
| |
| Connect the wrap plug to |
| system-board async port 1. |
| |
| |
| |
| |
| |
| Enter |
+-------------------------------------------+
Assumed you don't have a wrap plug attached: the system will send data to the serial port and wait for the incoming data ... but there is none coming in, because the wrap plug is missing.
A red error message in a window similar to that below shows up:
+-------------------------------------------+
| Error Page 1 of 1 |
| |
| 10:35:00 Slot = 0 |
| System Board Async Port 1 |
| Error code = 00111200 |
| A system-board async-port 1 error |
| occured. Replace the system board |
| (type #E1FE) |
| |
| F3=Exit |
+-------------------------------------------+
"Okay - I can see that. Where can I get a Wrap Plug ?"
You can buy one from IBM. There is a 3-way wrap plug available, which has one 25-pin wrap plug for the parallel port, one 25-pin and one 9-pin for the serial port. It is IBM P/N 72X8546 and looks like that:
+----------------------+
++ ++
25-pin || || 25-pin
Serial --- || 72X8546 || --- Parallel
Plug || || Plug
++ ++
+-----------+ +----+
| |
9-pin ++---++
Serial Plug ----------- +---+
It is a nice little thing - with the possible disadvantage that it won't fit on every machine and sometimes i.e. video-, network- or keyboard-cables come in the way.
"Are there alternatives to this IBM part ?"
There are surely alternatives. I just wanted to be fair and mention that IBM part, because it is referenced in the handbooks very often.
If you are familiar with a soldering iron and can solder some wires to a plug without hurting and tattooing yourself ... consider to build your own set of wrap plugs.
The next section gives the details.
|