Re: [CAD_CAM_EDM_DRO] Re: EMC popularity, and Parallel port pin configuration
Posted by
Alan Marconett
on 2005-03-11 16:23:52 UTC
HI Dan,
I think you're looking for the indexes that allow the ports to be overlaid.
ESTOP_SENSE_INDEX = 4
LUBE_SENSE_INDEX = 6
ESTOP_SENSE_POLARITY = 1
LUBE_SENSE_POLARITY = 1
; digital out bits
SPINDLE_FORWARD_INDEX = 9
SPINDLE_REVERSE_INDEX = 10
MIST_COOLANT_INDEX = 11
FLOOD_COOLANT_INDEX = 11
SPINDLE_DECREASE_INDEX = 15
SPINDLE_INCREASE_INDEX = 15
ESTOP_WRITE_INDEX = 8
SPINDLE_BRAKE_INDEX = 15
LUBE_WRITE_INDEX = 15
; analog out bits
SPINDLE_ON_INDEX = 15
Alan KM6VV
kzf817 wrote:
I think you're looking for the indexes that allow the ports to be overlaid.
ESTOP_SENSE_INDEX = 4
LUBE_SENSE_INDEX = 6
ESTOP_SENSE_POLARITY = 1
LUBE_SENSE_POLARITY = 1
; digital out bits
SPINDLE_FORWARD_INDEX = 9
SPINDLE_REVERSE_INDEX = 10
MIST_COOLANT_INDEX = 11
FLOOD_COOLANT_INDEX = 11
SPINDLE_DECREASE_INDEX = 15
SPINDLE_INCREASE_INDEX = 15
ESTOP_WRITE_INDEX = 8
SPINDLE_BRAKE_INDEX = 15
LUBE_WRITE_INDEX = 15
; analog out bits
SPINDLE_ON_INDEX = 15
Alan KM6VV
kzf817 wrote:
>
> I did see in the documentation where the second parallel port usually
> used in Bridgeportio can be mapped for pin location and polarity.
> What I actually have in mind is running all of the following on a
> single parallel port, the one typically addressed at 0378:
> X,Y,Z step and direction.
> A axis step and direction in the future for a rotary table.
> X,Y,Z + and - Limit switches.
> X,Y,Z Home switches.
> AND: my E-stop input.
>
> Can primary port pin mapping be changed so these can all co-exist on
> the same parallel port? Thanks,
>
> Dan.
>
>
>
> --- In CAD_CAM_EDM_DRO@yahoogroups.com, Jon Elson <elson@p...> wrote:
>
>>kzf817 wrote:
>>
>>
>>>Good evening. I would like to know if any of you know if any
>
> updates
>
>>>have been done to EMC to allow changing of the mapping of pins to
>
> the
>
>>>first parallel port, in the INI.
>>>
>>
>>You don't need any updates. Any BDI version of EMC should allow
>
> this.
>
>>You need to change a few numbers in the .ini file.
>>
>>First, you need to set all addresses of the parallel port to
>
> whatever
>
>>the one you
>>are using is located at (generally, 0x378). There should be at
>
> least two
>
>>references to the parallel port, one for motion in the [EMCMOT]
>
> section,
>
>>and one for
>>I/O, in the [EMCIO] section. They should both be like :
>>IO_BASE_ADDRESS = 0x378
>>unless your port is at a different location.
>>
>>Then, in the [EMCIO] section, there are lines that define the estop
>>input and output
>>pins with :
>>
>>ESTOP_SENSE_INDEX = 1
>>ESTOP_SENSE_POLARITY = 1
>>ESTOP_WRITE_INDEX = 10
>>ESTOP_WRITE_POLARITY = 0
>>
>>This should put the estop sensing on one of the status pins, and
>
> the
>
>>E-stop output
>>on one of the control pins. There is a chart in the documentation
>
> that
>
>>shows the
>>mapping of these bits - pins.
>>
>>The polarity selection allows you to invert the polarity of these
>
> bits,
>
>>if needed.
>>
>>You will need to have bridgeporttask in the [TASK] section, and
>>bridgeportio in
>>the [EMCIO] section for the aux i/o to communicate with real
>
> hardware.
>
>>Jon
>
>
>
>
>
>
> Addresses:
> FAQ: http://www.ktmarketing.com/faq.html
> FILES: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/files/
> Post Messages: CAD_CAM_EDM_DRO@yahoogroups.com
>
> Subscribe: CAD_CAM_EDM_DRO-subscribe@yahoogroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@yahoogroups.com
> List owner: CAD_CAM_EDM_DRO-owner@yahoogroups.com, wanliker@..., timg@...
> Moderator: pentam@... indigo_red@... davemucha@... [Moderators]
> URL to this group: http://groups.yahoo.com/group/CAD_CAM_EDM_DRO
>
> OFF Topic POSTS: General Machining
> If you wish to post on unlimited OT subjects goto: aol://5863:126/rec.crafts.metalworking or go thru Google.com to reach it if you have trouble.
> http://www.metalworking.com/news_servers.html
>
> http://groups.yahoo.com/group/jobshophomeshop I consider this to be a sister site to the CCED group, as many of the same members are there, for OT subjects, that are not allowed on the CCED list.
>
> NOTICE: ALL POSTINGS TO THIS GROUP BECOME PUBLIC DOMAIN BY POSTING THEM. DON'T POST IF YOU CAN NOT ACCEPT THIS.....NO EXCEPTIONS........
> bill
> List Mom
> List Owner
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
Discussion Thread
kzf817
2005-03-10 21:35:15 UTC
EMC popularity, and Parallel port pin configuration
rszemeti
2005-03-11 00:09:21 UTC
Re: EMC popularity, and Parallel port pin configuration
Paul
2005-03-11 04:57:35 UTC
Re: [CAD_CAM_EDM_DRO] EMC popularity, and Parallel port pin configuration
David A. Frantz
2005-03-11 07:04:01 UTC
Re: [CAD_CAM_EDM_DRO] EMC popularity, and Parallel port pin configuration
erie
2005-03-11 07:24:23 UTC
Re: [CAD_CAM_EDM_DRO] EMC popularity, and Parallel port pin configuration
Jon Elson
2005-03-11 08:20:26 UTC
Re: [CAD_CAM_EDM_DRO] EMC popularity, and Parallel port pin configuration
kzf817
2005-03-11 11:27:32 UTC
Re: EMC popularity, and Parallel port pin configuration
Alan Marconett
2005-03-11 16:23:52 UTC
Re: [CAD_CAM_EDM_DRO] Re: EMC popularity, and Parallel port pin configuration