Because the focus pen worked on the bench, I was certain this had to be true:

There is a break somewhere along the blue wire carrying 24 V to the focus pen. The signal and 0 V wires are fine.
I updated the original post, because I’m going to use that picture a lot whenever the subject of laser machine wiring comes up.
Spam comments get trashed, so don’t bother. Comment moderation may cause a delay.