Module dev_petr

Module dev_petr 

Source
Expand description

Photoelectric Paper tape reader, unit 52

The paper tape reader has 7 channels.

Tape movement can occur in either of two directions, in the bin direction and in the reel direction. Tape reads occur in the “reel” direction. The modes of operation of the motor in the “bin” direction both stop and reverse direction when the END MARK is detected. In other words, this is analogous to rewinding to the beginning-of-file in preparation for reading the file.

The reader can read both strip tape and reel tape, and does so at different speeds (because of the different levels of rubustness of the two types of tape), but we operate as if all tapes are read at the same speed.

We do not currently simulate acceleration/deceleration of the tape. On start, reading begins immediately at full speed, and on stop, the tape movement stops immediately. This will likely change in the future.

Lincoln Lab Group Report 51-8 “The Lincoln Writer” states (page 13) that the “END MARK” punched by the LW is the 6-bit code octal 72 without a 7th hole punched on the tape.

Structs§

Petr 🔒
Throughput 🔒

Enums§

Activity 🔒
Is the tape motor running?
Direction 🔒

Functions§

compute_throughput 🔒
next_line_time 🔒