I have configured my mill PC to run EMC2 with "ppmc" configuration.
I tried to do a good job, so that all configs are in my CVS source tree, there are shell aliases for everything, etc. The idea is that I want everything to be based on computer settings, so that one computer could possibly run several CNC devices and that I could run EMC2 on several computers. I do not want to hard code everything so that the only thing I run is my Bridgeport Interact from that PC.
Any of my Linux computers for which CNC_ROLE is set via host settings, loads these shell aliases and requires a default machine to be specified.
Just a little planning for the future, so to speak.
Anyway, I created a setup based on 'ppmc', and, lo and behold, it talks to Jon's PPMC board and displays positions. I also wired the speed command of the drive to PPMC's analog output for Y, so that PPMC could drive the Y axis. I verified that it is able to do so, using ppmcdiags program. Based on voltage that I specify, the servo motor spins just fine.
Right now, the only axis able to move and equipped with encoder is Y, and even on it, I have disconnected the timing belt. So it is just a servo motor spinning back and forth. Nothing could possibly crash into anything or pinch any fingers and other body parts. Very safe environment to work on software and on estops and things like that.
Because this is all Linux and X11 based, I can do fun things like ssh to the CNC computer, run EMC2 from ssh, etc. So, I can work on setting this up, without even being in the garage.
The first task of the day, is to disable all estop functionality that is in the default configs, so that I could get the servo motor to move.
I will, of course, re-enable estop when I have that stuff wired properly.i