Yes, the Mach3 USB controller can work with the Gecko G540 drives.
Here are the connections you will need from the Mach3 USB controller to the G540:
XP terminal to Pin 2 of the DB25 LPT connector
XD terminal to Pin 3 of the DB25 LPT connector
YP terminal to Pin 4 of the DB25 LPT connector
YD terminal to Pin 5 of the DB25 LPT connector
ZP terminal to Pin 6 of the DB25 LPT connector
ZD terminal to Pin 7 of the DB25 LPT connector
Any pins from 18 through 25 can be connected to the GND terminals next to the XP terminal.
Pins 10 through 13 can be connected to IN1, IN2, IN3, and IN4.
Click the link to add information to this solution:
[575] Can this card work with a gecko g540?