Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: Ralf22 on November 21, 2020, 04:45:56 AM

Title: Mach4 and PoKeys57e
Post by: Ralf22 on November 21, 2020, 04:45:56 AM
Hi,
I use PoKeys57e with Mach4 to retrofit my old lathe and so far it seems to work very fine. My only problem is the connected 4 channel pulse engine (without I/O). I made a PCB to adapt the PoKeys at the existing lathe electronics and here are the DIR/STEP signals are swapped by my mistake. In PoKeys Konfiguration Software at pulse engine status/control sheet there is a checkbox to swap DIR/STEP pins. That works fine but in Mach4 PoKeys plugin configuration I can't find a possibility to swap the DIR/STEP pins.
At PoKeys protocol specification I found the attached sheet. My idea is to set bit 6 of byte 11 of the pulse engine setup but I have no idea how to do this in Mach4.
Has anybody a idea?

Thanks, Ralf
Title: Re: Mach4 and PoKeys57e
Post by: Ralf22 on November 29, 2020, 01:45:47 PM
Hi,

I asked PoLabs Support by creating a ticket and have got a solving very quick.
I had to change one parameter in the machine.ini of Mach4: The value of parameter
PESwapDirStep had to be changed from 0 to 1. That's all.
Thank you PoLabs Support!