I recalled that the PMDX BOB has a demo mode... It moves the X axis 1024 steps, then moves the Y axis 1024 steps, then moves the X axis back 1024 steps, then moves the Y axis 1024 steps back. Then is continues this cycle until the start button is depressed again. It occurred to me that if I started with the Dials on 0.000, then I could see if the Drives and Motors were repeating. The demo mode runs at 100 pulses per second, slowly but with no ramping/acceleration. After running this program for about 2 hours, it had not offset at all. Thus I believe the Geckos and their associated wiring are working correctly.
I wrote a dwell into the program. It now has a line that reads G4P1 before each G1 line. Running the machine from the computer, I discovered that There was no offsetting behavior until I set the acceleration to 0.5. The I got -.010 offset in 100 iterations. Any faster acceleration up to 10 was fine. I didn't try any faster acc. Rates. I swapped the outputs in Motor Outputs and swapped the wires at the BOB output. Results are the same.
I disconnected the BOB and hooked up my cheater cable, this time I terminated the leads to common with 4.7k resistors. The O'scope looks pretty much the same. Pin #3 is putting out 1V signals and pin #2 is putting out 3V signals. I changed the dwell to 3 seconds at each end of the run in the program so I would have plenty of time to see what is happening. Hmm. Weird stuff again. The trigger is set to the step signal, otherwise the scope just stares at you on the return direction. I'll post a couple of pictures. The timing between the direction and step pulses is varying during the move! It often starts out with one timing orientation and then just changes... Also, On the way back, where there is no Direction signal, I've noticed a twitch just before the end of the move. It seems to be a little early for it to be related to the deceleration, but it occurs only on the way back.
The upper trace is the step signal, lower trace is the direction signal. Note that the 1st and 3rd steps seem to be simultaneous with the direction pulses but the 2nd and 4th are leading or lagging. The step traces are not moving on the screen, the Direction pulses are moving earlier and later. Photos are on next post due to the forum software not cooperating...
Don