Re: hi - Parport question
Hi Nasir
The IO needed for Spindle, brake, and coolant is handled from the Printer
(parallel) port - For this, you will need the 25 pin D connector.
The ini file needs three sections set up, these are :-
; Task controller section
-----------------------------------------------------
[TASK]
; Platform for task controller
PLAT = nonrealtime
; Name of task controller program, e.g., bridgeporttask
TASK = bridgeporttask
; section for main IO controller parameters
-----------------------------------
[EMCIO]
; Platform for IO controller
PLAT = nonrealtime
; Name of IO controller program, e.g., bridgeportio
EMCIO = bridgeportio
And a little further down in this section :-
; address for parallel port used for auxiliary IO
PARPORT_IO_ADDRESS = 0x278
This parameter might need to be set to 0x378 depending on where your parallel
port is mapped. Note - Even if you have bridgeportio specified, it will not
work unless you also use bridgeporttask as shown above.
If you start up EMC, under the scripts menu of tkemc is IO_Show - Use this
and click on the toggle button to see the pin assignments. IO_Exercise is
another handy little script for seeing what the parallel port is doing.
Regards, Paul.
P.S. It looks like there is a fair bit of interest in using the STG card for
ALL the IO. Perhaps we need to write another IO controller...
On Sunday 28 Jul 2002 11:25 am, nasir2ahmed-at-yahoo.com wrote:
> So plz tell me how to coonect Pport should i use a 25 pin cable for Pport
> or can i manage it with 50 pin one and what will be the pin config for
> Pport usually (as i think not sure )pin 2-9 is for d0-d8 other 4 are for
> input from Cpu with 4 other for output and other for gnd, plz confirm
> it.You see this is the last thing which is remaining in my project else i
> have everything ready i even cut a job on CNC lathe machine with perfection
> and had encoder , driver everything going right to my favour now this tail
> is left to be pulled out so help me plzz.
- References:
- hi
- From: <nasir2ahmed-at-yahoo.com>
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact