Kirk Wallace wrote: > Hello, > > I have a PC with a fresh Ubuntu 10.04 install, plus LinuxCNC 2.5.1 > installed via the install script. I have a Pico UPC servo controller > attached to the motherboard parallel port. After setting the port to > EPP, the Pico diagnostics run without errors. I loaded the PPMC sample > configuration to LinuxCNC and try to run it, but I get: > http://wallacecompany.com/machine_shop/HNC/pico/pico_error_log-1 > > My guess this part: > "... > Debug file information: > Can not find -sec MOT -var MOT -num 1 > Can not find -sec IO -var IO -num 1 > Can not find -sec LINUXCNC -var NML_FILE -num 1 > Can not find -sec EMC -var NML_FILE -num 1 > ppmc_io.hal:52: Pin 'ppmc.0.din.estop.in' does not exist > 1774 > ..." > > is due to the ppmc driver not loading due to the real error? > > I don't know if this bit indicates anything: > "... > [ 914.670336] RTAI[math]: loaded. > [ 914.778637] PPMC: Check Parallel Port connection. > [ 914.778678] PPMC: Check Parallel Port connection. > [ 914.778714] PPMC: Check Parallel Port connection. > [ 914.778750] PPMC: Check Parallel Port connection. > [ 914.778786] PPMC: Check Parallel Port connection. > [ 914.778822] PPMC: Check Parallel Port connection. > [ 914.778858] PPMC: Check Parallel Port connection. > [ 914.778893] PPMC: Check Parallel Port connection. > [ 914.778929] PPMC: Check Parallel Port connection. > [ 915.336588] PPMC: shutting down > ..." > > Ah, yes. I just made a change because another user had a similar problem. The change was committed to master, only, at this point. (I have a signal simulator that creates this same effect, it is just a bunch of capacitors on the data lines.) What the problem most likely is is that cable capacitance leaves the high 4 data lines at the "1" state, as the driver checks for module ID values at addr 0xXF, where X is all possible states. The older boards don't have termination resistors, and so stay at that value, and the driver did not detect these as un-occupied addresses. So, there are a couple ways to fix this. You can try building a 2.6.0~pre version from master, or you can add termination resistors to the board.
The older boards generally did not have P8, the expansion header stuffed. Insert a 390 Ohm resistor in holes 1-17 and 2 and 8 (the rows alternate between even and odd pins) and connect the ends of all these resistors to either 3.3 V or 5 V. Your older board probably doesn't have a 3.3 V supply, so 5V from P2 should be fine. Jon ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
