1
PoKeys / Re: Homing on Y Axis, 2 Motors (Slave), Limit Switch
« on: May 16, 2023, 11:58:13 AM »
Cause
To solve this problem I had to understand, that the pins for Homing, Limit + and Limit - are dedicated.
It is mentioned in the manual, but Mach4 and Pokeys Plugin let you chose to map those anyways.
Thats why I believed that the manual was outdated and I didn't noticed my mistake.
If you start homing, the settings are reset. If Y- Limit is hit, the master stops turning, the slave keeps rotating.
Solution
My workaround was to sacrifice one non-dedicated pin for the Y-Limit.
In my case i am sure, to never connect a LCD, so I chose Pin 28 for this.
Step 1) I disconnected "Axis 2 Limit -" and reconnected it to "LCD Connector, Pin 28"
Step 2) In Pokeys configuration I enabled Pin 28 as Digital Input and send the configuration to the device.
Step 3.1) In Mach4, Pokeys Plugin: I set Pin 28 also as Digital Input, and selected Pin 28 as Limit - for the Master and Slave Motor (In my case: Motor 1 and Motor 3 is my Y-Axis Duo)
Step 3.2) In Mach4, Control: I set Motor 1 as Master, Motor 3 as Slave.
Hope this helps.
To solve this problem I had to understand, that the pins for Homing, Limit + and Limit - are dedicated.
It is mentioned in the manual, but Mach4 and Pokeys Plugin let you chose to map those anyways.
Thats why I believed that the manual was outdated and I didn't noticed my mistake.
If you start homing, the settings are reset. If Y- Limit is hit, the master stops turning, the slave keeps rotating.
Solution
My workaround was to sacrifice one non-dedicated pin for the Y-Limit.
In my case i am sure, to never connect a LCD, so I chose Pin 28 for this.
Step 1) I disconnected "Axis 2 Limit -" and reconnected it to "LCD Connector, Pin 28"
Step 2) In Pokeys configuration I enabled Pin 28 as Digital Input and send the configuration to the device.
Step 3.1) In Mach4, Pokeys Plugin: I set Pin 28 also as Digital Input, and selected Pin 28 as Limit - for the Master and Slave Motor (In my case: Motor 1 and Motor 3 is my Y-Axis Duo)
Step 3.2) In Mach4, Control: I set Motor 1 as Master, Motor 3 as Slave.
Hope this helps.