Hello Guest it is January 21, 2022, 08:45:30 PM

Author Topic: Mach4 and PoKeys57e  (Read 457 times)

0 Members and 1 Guest are viewing this topic.

Mach4 and PoKeys57e
« on: November 21, 2020, 04:45:56 AM »
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
Re: Mach4 and PoKeys57e
« Reply #1 on: November 29, 2020, 01:45:47 PM »

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!