I have a CPM 4030, the control is a boat anchor @@..!
Installing the G540 in its place is not very difficult.
Open the back you will be surprised to see DB9 connectors all ready on the stepper drive cables.
The pin outs are not the same as the G540 but that is easy to rectify.
A 48 volt power supply will also be required.