Scanning the punched tape was rather straight forward: I just moved the tape over the scanner segment by segment, always advancing the tape by hand. The scanner Access is done using the sane command line Interface. The further processing of the captured Images is done using GNU Octave, an Interpreter language similar to Matlab.
The analysis first searched for transportation holes to identify the x-Position of a byte on the strip of tape, then the individual bits are read and interpreted. In the end, the octave script writes its output to a text file. It turned out that - rather unsurprisingly - the punched tape contains G-code for some CNC-equipment.
N1 G90
N2 M71
N3 T0000
N4 R02 2000
N5 R33 600 2000
N5 R33 600
N6 R32 297
N7 G0 G90 G53 X160. Z190.
N8 M42
N9 T0113
N10 L999
N11 G59 X92. Z309.
N12 M75
N13 L99
N14 M33
N15 S1000 M03
N16 G0 X0 Z3.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.