231
Mach4 General Discussion / Re: hybrid servo motor, Pockeys57cnc and mach4
« on: February 15, 2019, 10:06:20 AM »
Awesome. Those are basic Step and Direction drives so wiring is simple.
In Mach 4 you will assign a PoKeys output pin to the step and direction pins for each axis. Write those down since your wiring will need to match. Lets say the X axis step is pin 1 and X axis direction is pin 2. You need to wire pin 1 to the PUL+ terminal on your X axis driver and pin 2 to the DIR+ terminal. The PUL- and DIR- should be tied to DC common (0V). This configuration uses your PoKeys57 outputs as SOURCING outputs (think of it as current flowing out of the pin to the drive).
If you are using the enable signal from Mach to energize your motors (lets assume you set that up as pin 3) then pin 3 would be wired to the ENA+ and ENA- would be tied to DC common.
The drive also features an alarm output would I would recommend you tie back into a PoKeys57 input. This would be done by putting 5V on
ALM+ and wiring ALM- to the input pin on your PoKeys57.
NOTE: Your drive inputs appear to be optoisolated which could protect the PoKeys57 in the event of an equipment malfunction. This is good!
IMPORTANT. Your DC power supply to the drives and the DC power supply powering the PoKeys57 MUST have their DC common (0V) lines tied together. You could damage your equipment if this is not the case.
NOTE: My wiring suggestion differs from the diagram in the manual slightly. Theirs shows SINKING outputs where it looks like the PoKeys57 has SOURCING outputs.
In Mach 4 you will assign a PoKeys output pin to the step and direction pins for each axis. Write those down since your wiring will need to match. Lets say the X axis step is pin 1 and X axis direction is pin 2. You need to wire pin 1 to the PUL+ terminal on your X axis driver and pin 2 to the DIR+ terminal. The PUL- and DIR- should be tied to DC common (0V). This configuration uses your PoKeys57 outputs as SOURCING outputs (think of it as current flowing out of the pin to the drive).
If you are using the enable signal from Mach to energize your motors (lets assume you set that up as pin 3) then pin 3 would be wired to the ENA+ and ENA- would be tied to DC common.
The drive also features an alarm output would I would recommend you tie back into a PoKeys57 input. This would be done by putting 5V on
ALM+ and wiring ALM- to the input pin on your PoKeys57.
NOTE: Your drive inputs appear to be optoisolated which could protect the PoKeys57 in the event of an equipment malfunction. This is good!
IMPORTANT. Your DC power supply to the drives and the DC power supply powering the PoKeys57 MUST have their DC common (0V) lines tied together. You could damage your equipment if this is not the case.
NOTE: My wiring suggestion differs from the diagram in the manual slightly. Theirs shows SINKING outputs where it looks like the PoKeys57 has SOURCING outputs.