Hello Guest it is January 29, 2020, 03:15:56 AM

Author Topic: Using dspMC and PPort together?  (Read 10076 times)

0 Members and 1 Guest are viewing this topic.

Using dspMC and PPort together?
« on: January 28, 2009, 10:31:33 AM »
Is it possible to use the dspMC and Printer Port at the same time? As far as interfacing e-stops, indicator lights and MPG's it would be much easier for me to use the printer port inside my control head, rather than run 15ft cables to my electrical cabinet.  Is it possible to modify the dspMC plugin to run both?

If im wrong and you already can do that, what port number would the PPort be?
Re: Using dspMC and PPort together?
« Reply #1 on: January 30, 2009, 09:14:19 PM »
Printer Port i/o is not accessible with dspmc. 

J4 and J5 on dspmc provide upto 32 inputs and 16 outputs (digital).

regards,
Rufi
Re: Using dspMC and PPort together?
« Reply #2 on: February 02, 2009, 10:05:17 AM »
Is it possible to modify the plug in to access PPort?

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: Using dspMC and PPort together?
« Reply #3 on: February 02, 2009, 11:14:07 AM »
I don't think mach can use the parallel port when using an external motion control device.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Using dspMC and PPort together?
« Reply #4 on: February 02, 2009, 12:47:26 PM »
Why couldnt it?
Re: Using dspMC and PPort together?
« Reply #5 on: February 02, 2009, 01:47:37 PM »
ger21 is right.  Mach does not read/write the parallel port when external movement plugin is selected.  The plugin has to support it.  Currently the plugin open the link to dspmc over ethernet and does not touch the parallel port.  If we get some time, we can look into using parallel port for I/O as well.  So far there is not much demand of more I/O than what is on the dspmc board.

regards
Rufi



Re: Using dspMC and PPort together?
« Reply #6 on: February 02, 2009, 03:59:28 PM »
I the I/O on the dspMC is fine for most operations, as far as human interface devices, with a control head type CNC control, it would make wiring easier to have the PPort running the MPG, buttons on the control panel etc. Othewise we're running wires all the way back to the cabinet, which is fine for a 1 off, but we're currently looking at making a couple tables etc so if we did build more it would be advantageous to be able to hook up to the control right at the control head vs going all the way back to the cabinet for everything. Would probably be a good feature for the dsp to have.
Re: Using dspMC and PPort together?
« Reply #7 on: February 02, 2009, 05:27:21 PM »
ok.  when you do order more units, we will schedule time for it. 

I think we can scan the pport atmost 1khz from within the plugin.

Rufi


Re: Using dspMC and PPort together?
« Reply #8 on: February 03, 2009, 08:02:49 PM »
Hey Rufi,
I second halkintool, this is a great idea...

Sylvain
Re: Using dspMC and PPort together?
« Reply #9 on: February 03, 2009, 08:11:37 PM »
and also one 7711 Termination Board could be used on the PPort !
could it ?

Sylvain