CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] Parallel port pins

Posted by Tim Goldstein
on 2000-03-07 16:57:29 UTC
Go to http://206.19.206.56/parallel.htm for a diagram and pinout chart. That
will answer your questions on the Home and Axis switches. For the E-stop
switch you need to look at your .ini file at the bottom. Here is a snip from
the generic.ini:
external digital inputs, outputs are always 0 for 0V, 1 for 5/24V

; digital in bits

ESTOP_SENSE_INDEX = 1
LUBE_SENSE_INDEX = 2

; digital in polarity, 0 is inverted, 1 is normal
; controller compares with polarity, equal means on, not equal means off

ESTOP_SENSE_POLARITY = 0
LUBE_SENSE_POLARITY = 1

; digital out bits

SPINDLE_FORWARD_INDEX = 1
SPINDLE_REVERSE_INDEX = 0
MIST_COOLANT_INDEX = 6
FLOOD_COOLANT_INDEX = 7
SPINDLE_DECREASE_INDEX = 8
SPINDLE_INCREASE_INDEX = 9
ESTOP_WRITE_INDEX = 10
SPINDLE_BRAKE_INDEX = 11

Now, if I remember correctly here is how you make sense of this. Look at the
parallel port picture on my website:
The sense ports are referring to S3 = 0 and S4 = 1
The digital out bits are as follows 0-7 = D0 - D7 and 8-12 = C0 - C3

Hope this helps you make sense of it all.

Tim
[Denver, CO]



> From: "Darrell" <dgehlsen@...>
>
> Matt,
> this helped a lot. Now How do I find out what pin is ESTOP looking at and
a
> few other simple things like HOME and AXIS switches. Are they in serial or
> parallel as they are all on one pin?
> Is there a list of what pins EMC uses/looks at? Can you select which pin
> goes where?
> I am working with a BOSS 6 and need to be able to enable the spindle,
check
> for spindle on, watch for ESTOP and connect to home switches.
> If there is a list of pins for EMC it would sure help.
> Darrell

Discussion Thread

Matt Shaver 2000-03-04 21:43:46 UTC Re: [CAD_CAM_EDM_DRO] Parallel port pins Darrell 2000-03-07 16:27:42 UTC Re: [CAD_CAM_EDM_DRO] Parallel port pins Tim Goldstein 2000-03-07 16:57:29 UTC Re: [CAD_CAM_EDM_DRO] Parallel port pins Darrell 2000-03-07 20:21:03 UTC Re: [CAD_CAM_EDM_DRO] Parallel port pins