Repairing the card reader for a 1960s mainframe: cams, relays and a clutch
righto.com
righto.com
The mystery was that one day to another it stared eating needles, and in some cases spat out the broken pieces at high velocity in all directions.
The good news is that you can spin a sewing machine very slowly by hand to see what's going on and while doing so I saw that - obviously - the needle was going down into the spool chamber at precisely the wrong moment, with the spool chamber still being closed. It's a very intricate mechanism that passes the needle thread under the spool using some black magic to pretend the mechanism comes apart while it does the move. Timing is super precise.
Like in the card reader example the origin of the problem was a part that had slipped on shaft. Apparently a bunch of thread had gotten stuck solid enough that it had wedged one of the cams hard enough that the shaft inside it had continued to move.
Even after finding the cause it still took forever to figure out the right setting (no markings on the shaft, no service manual for that particular machine indicating the right angle) but eventually I got it working and it still works today.
I love those old fashioned pieces of machinery, if a modern day appliance would break there is a good chance you would not be able to do anything about it, but this old stuff just takes some patience and basic observation skills and you can keep it going.
You'll see the same in farming equipment, there are usually one or two sacrificial bolts in there that will be happy to snap if the tool gets wedged, rather than that the tool snaps.
Thermal expansion of the plastics being different than the machine is a small issue, which could be solved by measuring, calibrating, and adjusting all at a given temperature.
Your point about limited motivation is spot-on, of course.
I've been on a project for a couple of months where I sort of re-play the whole industrial revolution and the electronics age one device at the time. The local goodwill store has a good customer in me.
Because of the prices being low, it's not really worth it to repair consumer goods anymore. And if it's worth it in some cases (iPhone), it can only be done by a specialist due to the extreme miniaturization.
I think it's more accurate to say that first world labor costs are such that it's not usually worth it to pay someone to fix your devices these days, but it's becoming easier to DIY.
I also fixed an old laptop based on mail order parts and a youtube video. It really gave me a sense of accomplishment because I turned to programming computers very young partly out of ineptness with mechanical devices.
This is also when you discover that even though Frigidare may sell dozens or hundreds of different fridge models at wildly different price points over the years, most of them use basically the same innards.
There have always been DIYers, but I cannot do much of anything with just a service manual or parts list.
Not that that matters as much any more, people tend to buy clothing rather than make clothing, this particular machine was a wedding gift from my grandfather (a tailor) to my mother and it was meant to last a lifetime, so that the family would have clothes to wear. Making clothing was so common nobody thought anything special of the skill involved, everybody could do it!
But if you tried to seriously keep a family of four clothed today based on fabric bought and a modern day sewing machine you'd be buying new sewing machines ever few years.
One of the best hackers I ever worked with (a guy called Paul Poelenije, unfortunately deceased) had figured out how to load the microcode store and to pull this trick, I'm pretty sure that both IBM and Sperry would have been horrified at it in equal measures. For an encore, he wrote a completely new filesystem in assembler, and used it in production for the bank we both worked for. How he got away with that I'll never know but somehow he managed to get the blessing for his pet projects from the manager of the systems programming division to who I'm going to be eternally indebted because he had a big say in me coming to work for the IT department instead of the mailroom.
Those Sperry's were massive machines, the two mainframes (primary and backup, or production and test depending on what we were up to) + peripherals took up all of one floor of a very large office building and there were always at least several people on duty to keep them running. This was mid 1980's and punch cards were still being used with some regularity.
I named my dog Sperry simply because nobody in my company had ever heard of it, and I didn't want the name to die.
He replied: "Oh, I made them."
Me: "What...."
So he showed me his full sized basement, which was a fully equipped machine shop. He'd built working steam locomotives that were several feet long, and other mechanical models, all working, all from scratch.
I was amazed. I asked him what the Mercedes was worth, and he replied, and I remarked that it couldn't be worth all his labor he put into machine work. He agreed, and said it was his hobby and evidently made him happy.
These days, of course, you can just make a drawing of what you need and send it to one of those online machine shops.
On a side note, that's the sort of thing you generally don't know about a neighbor -- that they have a complete machine shop in their basement. I wonder occasionally what miraculous things people I don't know well do in their leisure time.
Not to say that it might not be cheaper to make your own in some cases if you already have the means and skill to do it.
Jay Leno's Garage employs machinists to make unavailable parts.
Most car companies start to shut off making parts for cars older than 10 years.
(I haven't used them myself and have no recommendations.)
I guess its part of human nature to assume that our predecessors were dumb peasants (how did they build those pyramids?) but IBM had some incredibly sophisticated and elegant electromechanical, pneumatic and hydraulic systems in those days.
The worst beast I used to work on was the 3890 check sorter https://en.wikipedia.org/wiki/IBM_3890. This monster filled a (large) room, and when it was down, stress points went through the roof as bank's check sorting and money clearance ground to a halt. There's nothing like having a furious CEO leaning over your shoulder shouting at you while you're elbow deep in a dusty noisy furiously spinning machine to raise your blood pressure.
Regarding the IBM 1401 (to borrow from "Ferris Bueller's Day Off") It is so choice. If you have the means, I highly recommend seeing it in person.
I've had the pleasure of seeing several presentations and even punching cards to be run as part of a demo program. The machine is impressive to see in person and the volunteers who run the tours are a lot of fun to talk to!
I was roped in to one of the Babbage Engine demos a few years back...I turned up about 10 mins early and started to talk to the presenters, who were really nice guys. When I volunteered that I'd also seen the other replica Engine in the Science Museum in London, the chaps were proud to point out that 'theirs' could be operated and was not behind glass. I was then asked if they could refer to me at a suitable point to mention those facts and give my impressions on the presentation, which I was happy to do!
More information here: https://web.archive.org/web/20120307215225/http://www.ausers...
>In 1964, a computer - the IBM 1401 Data Processing System - arrived in Iceland, one of the very first computers to be imported into the country. The 1401 has been called the "Model T" of the computer industry - the first affordable, mass produced digital business computer. The chief maintenance engineer for this machine was Jóhann Gunnarsson, my father. A keen musician, he learned of an obscure method of making music on this computer - a purpose for which this business machine was not at all designed. The method was simple. The computer's memory emitted strong electromagnetic waves and by programming the memory in a certain way and by placing a radio receiver next to it, melodies could be coaxed out - captured by the receiver as a delicate, melancholy sine-wave tone.
Early card readers were unreasonably complicated. Then came Documation.[1] They solved the problem of card feeding. There's a air jet system which spaces out the cards, and a vacuum picker which pulls the bottom card off the stack and feeds it into feed rollers. The card path is straight and simple, card picking is not highly sensitive to card thickness, and the machine is far simpler than the 1402. Documation soon owned the card reader business.
Yesterday's "Why Paper Jams Persist" in the New Yorker is also relevant, a look at why its difficult to move paper through a printer reliably. Punch cards, being made of paper, have the same problems but worse - they are weakened by the holes, and mistreated by the public. (Older readers may recall "Do not fold, spindle or mutilate" printed on punch card utility bills and such.)
https://www.newyorker.com/magazine/2018/02/12/why-paper-jams...
reliably read 13 cards a second
... and with considerable tolerance for bent or frayed cards.As late as the late 80s, Lockheed used IBM cards for time cards (for everyone, hourly or salaried). Lots of handling, lots of abuse, yet over 99% read ok on first try. That's over 14,000 in one job (program) every week for years on end.
edit: I realize this isn't 13pps, but it's not bad.
The code and debug cycle was to mark your cards with a Sharpie, run them in the card reader, and then look at the printed output for bugs. If you were unlucky enough to have bugs AND drop your cards on the floor (I remember it happening to a couple of people in my class), you had to waste a bunch of time re-sorting your cards before you made the trip back to the card reader. Good times.
Card sorters were an interesting technology, going back to the 1920s, way before computers. They sorted cards on one column at a time using radix sort, and were electro-mechanical. I wrote about them here: http://www.righto.com/2016/05/inside-card-sorters-1920s-data...
I suppose heaven help you if you wanted to insert a statement between cards 37 and 38 :-)
That sort of forethought came from hard won experience ;)
RENUM takes a program that has had insertions done to it and renumbers the lines so they are multiples of 10 again. For added complexity and to avoid overwriting your carefully laid out library calls with high line number subroutines for easy memorization you could limit the range within which the RENUM would operate.
Typical use: RENUM 0,1000,10 -> renumber all the lines from 0 to 1000 with a step of 10.
mark your cards with a Sharpie
We used Mark Sense cards marked with a #2 pencil for the PDP 11 in high school.Some of the repairs are for the tape drives, some are for the CPU itself, it's all really interesting to see.
Impressive to even see its still for sale https://www.google.com/shopping/product/13500800368299416699
Unfortunately I live nowhere near a museum with a functioning mainframe, but I would love to see one in action someday.
I've a punch card from that machine (somewhere!) - picked up the last time I visited the museum.
I used to fly over from the UK a few times a year to visit corporate HQ in San Jose, and I used to enjoy taking the VTA light rail to Mountain View at the weekend and walking to the museum.
Sadly, I have now changed jobs so the chances of coming over again are very low - unless you need to hire a 'specialist' to hold your multimeter!?
http://bitsavers.org/pdf/ibm/1402/1402_Reader-Punch_Wiring_D...