I hooked up my scope meter and saw that I had delay on rising edge after the
opto couplers, I changed some resistors and know it works perfect.
Then I discover that when I was using Mach2 my hardware missed every first
step in both directions, thats way it ended up right anyway.
Thats was tricky to find.
Thank you
Roger