you are not believing this | | ELectronics are a real pain, I spend today wit the next step of the project, hooking up the motor to the lineair slide that came with it.
Everything kept on working fine, and I started with calculating the pulses to revolution ratio.
It seemed all was well, however after writing a small program to test everything i noticed a accumulating error.
So I decided to put a gauge to the slide to check it out and jogged 1 mm at a time.
In the direction of Z- everything was perfect, in Z+ there was only a movement of 0.97 mm. Strange.
First I suspected Mach 2 (still demo version) to foul me.
Then I downloaded OMRON WMON software for monitoring what was going on.
The drive was receiving the same amount of pulses from the electronics in Z+ compared with Z- .
I went to see the gauge again and now it worked perfect ???
Took the serial connection out and the problem was back ??
To make a long story short, I needed to ground the drive to my computer (you can see a small yellow wire on the photo).
Strange is that the pulses were only lost in one direction ??
By the way, those tubes in the garage are no sprinklers but air pressure distribution, I still have to paint it. |