Re: [Emc-users] 7i43 setup woes

2010-12-21 Thread Peter C. Wallace
>
> I've run into a snag getting my 7i43-P talking to my EMC machine.. This is a
> new setup, so I assume I've got some stupid configuration issue. Any 
> assistance
> would be appreciated..
>
>
> I've got a AT5NM10-I set up with LiveCD install with an on board parallel port
> attached to a 7i43-P. It's the 200K model. Rev C.  the parport modules are
> blacklisted in an attempt to isolate my problem.
>
> The 7i43 is powered by an external power supply (+5V) in P1.
> P2 is connected to a IDC ribbon cable <-> DB25F <->DB25M to M adaptor <-> PC.
> The whole assembly is about 4 inches long.
> As far as I can tell, the ribbon cable assembly rings out true.
>
> P3/P4 have nothing connected yet. I've got a couple 7i40s to connect once I 
> get
> over this hump.
>
> Powering everything up, (in EPP mode) all three lights come on. I load 
> hostmot2
> and then attempt a firmware load. The INIT light goes out and I get an 
> "invalid
> module" parameters error. dmesg indicates that the driver thinks I've got a 
> 400K
> board (I think this is actually the driver reading FFs instead of a 0 or 1). I
> haven't determined if the data displayed by debug_epp is actually what's the 
> bus
> or not.
>
> I hooked up an O-Scope in an attempt to determine what was going across  the
> port, but need to spend some time looking at the source code to make  heads or
> tails of it. I thought someone here might have a shorter path.
>
> If I set the board to load from EEPROM, the lights flash on and then INIT and
> DONE go out. I'm not sure what's on the EEPROM and haven't done enough 
> research
> to determine what to transmit to test the board in this state.

Nothing useful for EMC (Default EEPROM contents are EPPIOPR8.BIT)


>
> Also, I attempted to use the DOS utilities (under WinXP) from mesa for the 
> 7i43.
> Those didn't work either,

Thats expected, DOS utilities need DOS

but the cable assembly was common between my two
> setups & the Parallel port was on a laptop docking station. I got the same
> results as if I gave it a bad port address (all 0xFFs); so I take those 
> results
> with a grain of salt. Hopefully this weekend I'll have access to a DOS box 
> with
> more standard hardware for another test. (and some more parts to make another
> cable).
>
> Here's some initial debug info:
>
> uname -a:
> Linux CNC 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 
> GNU/Linux
>
> Jumper configuration:
> W1 UP
> W2 UP
> W3 UP
> W4 DOWN
> W5 DOWN
> W7 UP
>
>
> bash> halrun
> halcmd: loadrt hostmot2
>
> halcmd: loadrt hm2_7i43 config="firmware=hm2/7i43-2/SV8.BIT" debug_epp=1
> insmod: error inserting
> '/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_7i43.ko': -1 Invalid 
> parameters
> :6: exit value: 1
> :6: insmod failed, returned -1
> See the output of 'dmesg' for more information.
>
> dmesg output:
> [  300.294207] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
> [  300.296964] hm2_7i43: wrote control 0x04
> [  300.296973] hm2_7i43: read status 0xD6
> [  300.296983] hm2_7i43: selected address 0x7F7F
> [  300.296990] hm2_7i43: wrote data 0x5A
> [  300.296998] hm2_7i43: selected address 0x7F7F
> [  300.297004] hm2_7i43: wrote data 0x5A
> [  300.297011] hm2_7i43: selected address 0x01
> [  300.297017] hm2_7i43: wrote data 0x00
> [  300.297026] hm2_7i43: wrote data 0x01
> [  300.299047] hm2_7i43: read data 0xFE
> [  300.299054] hm2_7i43: selected address 0x00
> [  300.299060] hm2_7i43: read data 0xFF
> [  300.299099]  hm2_7i43.0: firmware: requesting hm2/7i43-2/SV8.BIT
> [  300.312780] hm2/hm2_7i43.0: board has FPGA '3s400tq144', but the firmware 
> in
> hm2/7i43-2/SV8.BIT is for FPGA '3s200tq144'
> [  300.312797] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide
> ON) not found!

My guess is this means one of the following:

1. The motherboard does not have the LPT port set to EPP mode (BIOS setup)
2. The 7I43 is really a 400K model
3. The 7I43 is a 200K model but has the wrong CPLD image (so it reports 400K)
4. Theres some communication/wiring problem



Peter Wallace
Mesa Electronics


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 7i43 setup woes

2010-12-21 Thread Andrew Staats

 I've run into a snag getting my 7i43-P talking to my EMC machine.. This is a 
new setup, so I assume I've got some stupid configuration issue. Any assistance 
would be appreciated.. 


I've got a AT5NM10-I set up with LiveCD install with an on board parallel port 
attached to a 7i43-P. It's the 200K model. Rev C.  the parport modules are 
blacklisted in an attempt to isolate my problem.

The 7i43 is powered by an external power supply (+5V) in P1. 
P2 is connected to a IDC ribbon cable <-> DB25F <->DB25M to M adaptor <-> PC. 
The whole assembly is about 4 inches long.
As far as I can tell, the ribbon cable assembly rings out true.

P3/P4 have nothing connected yet. I've got a couple 7i40s to connect once I get 
over this hump.

Powering everything up, (in EPP mode) all three lights come on. I load hostmot2 
and then attempt a firmware load. The INIT light goes out and I get an "invalid 
module" parameters error. dmesg indicates that the driver thinks I've got a 
400K 
board (I think this is actually the driver reading FFs instead of a 0 or 1). I 
haven't determined if the data displayed by debug_epp is actually what's the 
bus 
or not.

I hooked up an O-Scope in an attempt to determine what was going across  the 
port, but need to spend some time looking at the source code to make  heads or 
tails of it. I thought someone here might have a shorter path.

If I set the board to load from EEPROM, the lights flash on and then INIT and 
DONE go out. I'm not sure what's on the EEPROM and haven't done enough research 
to determine what to transmit to test the board in this state.

Also, I attempted to use the DOS utilities (under WinXP) from mesa for the 
7i43. 
Those didn't work either, but the cable assembly was common between my two 
setups & the Parallel port was on a laptop docking station. I got the same 
results as if I gave it a bad port address (all 0xFFs); so I take those results 
with a grain of salt. Hopefully this weekend I'll have access to a DOS box with 
more standard hardware for another test. (and some more parts to make another 
cable).

Here's some initial debug info:

uname -a:
Linux CNC 2.6.32-122-rtai #rtai SMP Tue Jul 27 12:44:07 CDT 2010 i686 GNU/Linux

Jumper configuration:
W1 UP
W2 UP
W3 UP
W4 DOWN
W5 DOWN
W7 UP


bash> halrun
halcmd: loadrt hostmot2

halcmd: loadrt hm2_7i43 config="firmware=hm2/7i43-2/SV8.BIT" debug_epp=1
insmod: error inserting 
'/usr/realtime-2.6.32-122-rtai/modules/emc2/hm2_7i43.ko': -1 Invalid parameters
:6: exit value: 1
:6: insmod failed, returned -1
See the output of 'dmesg' for more information.

dmesg output:
[  300.294207] hm2_7i43: loading HostMot2 Mesa 7i43 driver version 0.3
[  300.296964] hm2_7i43: wrote control 0x04
[  300.296973] hm2_7i43: read status 0xD6
[  300.296983] hm2_7i43: selected address 0x7F7F
[  300.296990] hm2_7i43: wrote data 0x5A
[  300.296998] hm2_7i43: selected address 0x7F7F
[  300.297004] hm2_7i43: wrote data 0x5A
[  300.297011] hm2_7i43: selected address 0x01
[  300.297017] hm2_7i43: wrote data 0x00
[  300.297026] hm2_7i43: wrote data 0x01
[  300.299047] hm2_7i43: read data 0xFE
[  300.299054] hm2_7i43: selected address 0x00
[  300.299060] hm2_7i43: read data 0xFF
[  300.299099]  hm2_7i43.0: firmware: requesting hm2/7i43-2/SV8.BIT
[  300.312780] hm2/hm2_7i43.0: board has FPGA '3s400tq144', but the firmware in 
hm2/7i43-2/SV8.BIT is for FPGA '3s200tq144'
[  300.312797] hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide 
ON) not found!
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avago HCTL-2032

2010-12-21 Thread Peter Blodow
Hello Kirk,
last week, I made a little circuit board using the HCTL 2032 and an 
ATMega 32 for a DRO unit (4 axis). It has not been tested yet. I am not 
using the index track of the encoders. But, as far as I understand the 
technical data sheet, the index pulse is not available as an output. It 
can only be used to reset the X and Y axis counters after one turn of 
the encoder. This makes it useful as an angle indicator.

If you want to use the index pulse externally, it would be easy to 
attach a CMOS or TTL chip to bypass the HCTL 2032 and obtain the angle 
information without resetting the XY counters.

Best regards
Peter Blodow

Kirk Wallace schrieb:
> On Mon, 2010-12-20 at 13:34 -0800, Kirk Wallace wrote:
>   
>> On Mon, 2010-12-20 at 15:11 -0600, Jeff Epler wrote:
>> 
>>> My first impression is that there is no "an index occurred" output, so I
>>> don't see how you would make it work with emc's index-enable model for
>>> threading and home-to-index.
>>>
>>> Jeff
>>>   
>> A brief look doesn't indicate (to me) what it uses the index for (reset
>> the internal counter?). My first guess is that I would leave it
>> unconnected and route the index to EMC2 on another path. The index
>> question seems to be the only deal breaker.
>> 
>
> It appears that is what the index does, it resets the X and Y counters.
> I am realizing that this isn't as simple as I assumed going into it. I
> assumed that "somehow" I would convert the counter data into pulses then
> feed that to EMC2. My next guess is that I should figure out how the
> EMC2 position counters work and see if I can amputate them at a
> strategic point and insert my hardware counter, moua ha ha ha. But I'll
> need to have an index enable pin to control the HWcounters index? I need
> to do some reading.
>   


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] can this RT be used as a 5th axis?

2010-12-21 Thread andy pugh
On 21 December 2010 20:30, Igor Chudov  wrote:

> Has anyone attempted to mount a servo on a RT like this?

I have converted a smaller and (I suspect) much lower quality one.
In my case the bearing arrangement for the worm was rather less well
engineered than I liked to use for a motorised axis (especially the
thrust arrangement, which depended too much on carefully tightened
grub screws)
I ended up making a new inner housing for the worm, with an inboard
needle roller near the worm, then an outboard pair of angular contact
bearings. I then connected the servo with a rubber finger type
coupling to fully isolate the motor bearings. (If your worm is
properly straight this might prove to be less of an issue….)
In your case I would probably investigate using a toothed belt drive
to bring the servo alongside the table rather than sticking out a
large distance as that would probably be limiting in the case of a 5th
axis.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 settings for PBX-RF

2010-12-21 Thread Kirk Wallace
On Tue, 2010-12-21 at 14:12 -0600, kqt4a...@comcast.net wrote:
> I have just purchased a V90 with the PBX-RF breakout board
> I got the stepconf configuration from 
> http://www.britishideas.com/wp-content/uploads/2009/03/fireballcncv90.zip and 
> modified it for my board
> The user manual http://www.probotix.com/manuals/PBX-RF_manual.pdf list pins 
> 14 - x enable, 16 - y enable, and 17 - z enable
> Stepconf's parallel port setup page has no option for [xyz]enable
> I set them to unused and the V90 "seems" to operate ok
> I would appreciate any suggestion for this setup
> 
> Richard

If your stepper drivers have enable inputs, then you would hook them up
to the breakout board outputs. You would also need to connect the enable
signals to the breakout board in your .hal file. There should be some
lines similar to this:
"...
# connect enable signals for step generators
net Xen axis.0.amp-enable-out => stepgen.0.enable parport.0.pin-01-out
net Yen axis.1.amp-enable-out => stepgen.1.enable parport.0.pin-06-out
net Zen axis.2.amp-enable-out => stepgen.2.enable parport.0.pin-16-out

# connect signals to step pulse generator outputs

net XphaseA stepgen.0.phase-A => parport.0.pin-02-out
...
"
Your lines with parport.N.pin-XX-out will need to match the pins on your
breakout board. The enables go ON when the machine on button is pressed
to ON. This can help keep your axes from moving until it is safe, but in
order to do this properly you need to have a charge-pump watchdog to
keep the enables off while the PC is booting. Or, as you found out, you
could do without the enables and leave the drivers active all of the
time. You'll need to figure out what your needs are.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] can this RT be used as a 5th axis?

2010-12-21 Thread Igor Chudov
I hope that this is as small as I am guessing it is, just won it in a
liquidation auction

I have a 12" Troyke servo driven rotary table that I am working on making
into a 4th axis.

This, I am hoping, could be the 5th axis.

http://igor.chudov.com/tmp/small-rotary-table.jpg

Has anyone attempted to mount a servo on a RT like this?
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Tom Easterday
It should also be noted that if you need to make a cable with a D-Sub style 
connector, on one or both ends with ribbon cable, you can get this style 
connector:  http://bgp.nu/~tom/pub/ribbon/IMG_2545.jpg

-Tom
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] EMC2 settings for PBX-RF

2010-12-21 Thread kqt4at5v
I have just purchased a V90 with the PBX-RF breakout board
I got the stepconf configuration from 
http://www.britishideas.com/wp-content/uploads/2009/03/fireballcncv90.zip and 
modified it for my board
The user manual http://www.probotix.com/manuals/PBX-RF_manual.pdf list pins 14 
- x enable, 16 - y enable, and 17 - z enable
Stepconf's parallel port setup page has no option for [xyz]enable
I set them to unused and the V90 "seems" to operate ok
I would appreciate any suggestion for this setup

Richard

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread dave
On Tue, 2010-12-21 at 14:08 -0500, Dave wrote:
> And if you are ribbon cable impaired, (for me it depends on the day) 
> then I bet that Mesa could fab up a cable for you very quickly if you 
> request it when you order your 7I43.
> 
> Dave
> 
> On 12/21/2010 9:47 AM, Viesturs Lācis wrote:
> > Hello, folks!
> >
> > I have a question to those EMC2 users, who are using combination of
> > D510MO board and 7I43 card:
> > What cable are You using to connect both of them?
> > As far as I understand from 7I43 manual, the EPP connector is the same
> > as the pin-out on the D510 board.
> > So best option would be using a cable with these connectors on both ends:
> > http://www.cablestogo.com/product.asp?cat_id=137&sku=02170
> >
> > Has anyone obtained such a cable? Or did You make it?
> >
> > Viesturs
> >
Mesa lists a 3 foot 26 pin to parallel for $15. extra feet come at
$.25/ft. ;-)

"EPP TO PARALLEL CABLE"

Dave



> > --
> > Lotusphere 2011
> > Register now for Lotusphere 2011 and learn how
> > to connect the dots, take your collaborative environment
> > to the next level, and enter the era of Social Business.
> > http://p.sf.net/sfu/lotusphere-d2d
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
> 
> 
> --
> Forrester recently released a report on the Return on Investment (ROI) of
> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
> within 7 months.  Over 3 million businesses have gone Google with Google Apps:
> an online email calendar, and document program that's accessible from your 
> browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Dave
And if you are ribbon cable impaired, (for me it depends on the day) 
then I bet that Mesa could fab up a cable for you very quickly if you 
request it when you order your 7I43.

Dave

On 12/21/2010 9:47 AM, Viesturs Lācis wrote:
> Hello, folks!
>
> I have a question to those EMC2 users, who are using combination of
> D510MO board and 7I43 card:
> What cable are You using to connect both of them?
> As far as I understand from 7I43 manual, the EPP connector is the same
> as the pin-out on the D510 board.
> So best option would be using a cable with these connectors on both ends:
> http://www.cablestogo.com/product.asp?cat_id=137&sku=02170
>
> Has anyone obtained such a cable? Or did You make it?
>
> Viesturs
>
> --
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avago HCTL-2032

2010-12-21 Thread Kirk Wallace
On Tue, 2010-12-21 at 09:58 -0600, Jeff Epler wrote:
> emc can use the encoder index-enable feature in two ways: at the
> beginning of spindle-synchronized motion, and at a specific step of
> homing.
> 
> Specific machines might use index-enable in other ways as well.  For
> instance, I know of rotary toolchangers with quadrature output and
> index.  A ladder program would probably use the index feature once at
> the first toolchange to establish the absolute position of the
> toolchanger, and from then on use the position of the toolchanger's
> encoder to know what pocket is currently prepared.
> 
> Jeff

What was a little confusing is that the HCTL chip appears to have the
index reset the counters on every revolution. It made me think that was
a normal thing to do, then have EMC2 keep tally of the index count and
the between index count to derive the overall position. I think you are
saying that resetting the counters with an index is a means to modify
the position for certain circumstances, but the contents of the counter
* scale is the machine position. I'm thinking of setting up a dummy
counter in hal and see what happens when I mess with it.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Neil Baylis
On Tue, Dec 21, 2010 at 8:18 AM, Tom Easterday  wrote:

> For those that haven't done it.  It is quite easy

... snip

>
> 9) Some shells come with a strain relief piece.  You bend the cable around
> under it and it clicks in to provide the strain relief
> http://bgp.nu/~tom/pub/ribbon/IMG_2541.jpg
>
>
Note, that if your  connector has this type of strain relief, it's usually
better to have the cable enter from the 'wrong' direction in step 5.

Neil
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Viesturs Lācis
Superb tutorial, pictures are self-explanatory! Thanks again!

The conclusion is that old 40 wire IDE cables will get some diet and
start a new life with new connectors.

Thanks for help and information!

Viesturs

2010/12/21 Tom Easterday :
> For those that haven't done it.  It is quite easy
>
> 1)Get your cable which is often 50pins wide.  It often has a red stripe down 
> on side to help identify pin 1.  If you use a part of the cable that doesn't 
> have the red on it, you can always add it with a sharpie.
> http://bgp.nu/~tom/pub/ribbon/IMG_2527.jpg
>
> 2) Cut it to length.  Make your cut is as square as possible. (you can do 
> steps 3 and 4 below first then cut to length)
> 3)Slice it with a razor blade or scissors over the number of conductors you 
> need (26 for the parallel cable Viesturs want to make).
> 4)You can just slice it a little and it will tear down the row.
> http://bgp.nu/~tom/pub/ribbon/IMG_2529.jpg
>
> 5)Put the two pieces of the shell together loosely. Slide your cable in so 
> that pin1 lines up with your red stripe.  Pin 1 is indicated by a little 
> triangle on the shell.  Slide it forward so it is even with the front of the 
> shell.
> http://bgp.nu/~tom/pub/ribbon/IMG_2533.jpg
> http://bgp.nu/~tom/pub/ribbon/IMG_2531.jpg
> http://bgp.nu/~tom/pub/ribbon/IMG_2535.jpg
>
> 6) Slide it forward so it is even with the front of the shell.
> http://bgp.nu/~tom/pub/ribbon/IMG_2537.jpg
>
> 7) Put it in your vise (or other device to apply even pressure across the 
> shell
> http://bgp.nu/~tom/pub/ribbon/IMG_2539.jpg
>
> 8) Press down until it clicks together or the two pieces of the shell meet.
>
> 9) Some shells come with a strain relief piece.  You bend the cable around 
> under it and it clicks in to provide the strain relief
> http://bgp.nu/~tom/pub/ribbon/IMG_2541.jpg
>
> 10) Lather, rinse, repeat
>
> -Tom
>
>

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Tom Easterday
For those that haven't done it.  It is quite easy

1)Get your cable which is often 50pins wide.  It often has a red stripe down on 
side to help identify pin 1.  If you use a part of the cable that doesn't have 
the red on it, you can always add it with a sharpie.
http://bgp.nu/~tom/pub/ribbon/IMG_2527.jpg

2) Cut it to length.  Make your cut is as square as possible. (you can do steps 
3 and 4 below first then cut to length)
3)Slice it with a razor blade or scissors over the number of conductors you 
need (26 for the parallel cable Viesturs want to make).  
4)You can just slice it a little and it will tear down the row.
http://bgp.nu/~tom/pub/ribbon/IMG_2529.jpg

5)Put the two pieces of the shell together loosely. Slide your cable in so that 
pin1 lines up with your red stripe.  Pin 1 is indicated by a little triangle on 
the shell.  Slide it forward so it is even with the front of the shell.
http://bgp.nu/~tom/pub/ribbon/IMG_2533.jpg
http://bgp.nu/~tom/pub/ribbon/IMG_2531.jpg
http://bgp.nu/~tom/pub/ribbon/IMG_2535.jpg

6) Slide it forward so it is even with the front of the shell.
http://bgp.nu/~tom/pub/ribbon/IMG_2537.jpg

7) Put it in your vise (or other device to apply even pressure across the shell
http://bgp.nu/~tom/pub/ribbon/IMG_2539.jpg

8) Press down until it clicks together or the two pieces of the shell meet.

9) Some shells come with a strain relief piece.  You bend the cable around 
under it and it clicks in to provide the strain relief
http://bgp.nu/~tom/pub/ribbon/IMG_2541.jpg

10) Lather, rinse, repeat

-Tom


--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avago HCTL-2032

2010-12-21 Thread Jeff Epler
emc can use the encoder index-enable feature in two ways: at the
beginning of spindle-synchronized motion, and at a specific step of
homing.

Specific machines might use index-enable in other ways as well.  For
instance, I know of rotary toolchangers with quadrature output and
index.  A ladder program would probably use the index feature once at
the first toolchange to establish the absolute position of the
toolchanger, and from then on use the position of the toolchanger's
encoder to know what pocket is currently prepared.

Jeff

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Neil Baylis
>
>
> Make them.  The materials are relatively inexpensive and they are really
> easy to make.  You don't need a special tool, a vise or even careful
> application of pliers are enough.  That way you can make them exactly the
> length you need.
>
>
I use my drill press, without a drill in the chuck, to press down and crimp
the connectors. Works great. If the connector is long, I put a scrap of
metal on top for the press to bear down on and distribute the load.

When I bought this cheap-ass Chinese drill press, I assumed I would be using
it to drill holes. Turns out it's not so good at that.. especially if you
want the holes to be round. I'm glad I finally found something it's good at.

Neil
--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Andy Ibbotson
Yep pinouts are pin for pin.  I used 26 way IDC connectors and 26way cable 
to make my own interconnect - works fine.

--
From: "Viesturs Lacis" 
Sent: Tuesday, December 21, 2010 2:47 PM
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] D510MO + Mesa 7I43

> Hello, folks!
>
> I have a question to those EMC2 users, who are using combination of
> D510MO board and 7I43 card:
> What cable are You using to connect both of them?
> As far as I understand from 7I43 manual, the EPP connector is the same
> as the pin-out on the D510 board.
> So best option would be using a cable with these connectors on both ends:
> http://www.cablestogo.com/product.asp?cat_id=137&sku=02170
>
> Has anyone obtained such a cable? Or did You make it?
>
> Viesturs
>
> --
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users 


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Tom Easterday
On Dec 21, 2010, at 9:47 AM, Viesturs Lācis wrote:
> Hello, folks!
> 
> I have a question to those EMC2 users, who are using combination of
> D510MO board and 7I43 card:
> What cable are You using to connect both of them?
> As far as I understand from 7I43 manual, the EPP connector is the same
> as the pin-out on the D510 board.
> So best option would be using a cable with these connectors on both ends:
> http://www.cablestogo.com/product.asp?cat_id=137&sku=02170
> 
> Has anyone obtained such a cable? Or did You make it?

Make them.  The materials are relatively inexpensive and they are really easy 
to make.  You don't need a special tool, a vise or even careful application of 
pliers are enough.  That way you can make them exactly the length you need.

My $0.02.

-Tom


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Viesturs Lācis
2010/12/21 Eric H. Johnson :
> Viesturs,
>
> Preassembled, they are a bit hard to find. I got a batch of them from here:
> http://www.sealevel.com/store/ca118-26-pin-idc-ribbon-cable-to-db25-male-8-i
> n-length.html
>
> It is only 8" (~200mm) in length, but that was adequate for me.
>

Well, I already have this type of cables - 26 pin header to DB25 connector.
The question is, if there is a chance to obtain a cable, where both
ends feature that black 26 pin female header, because it fits pins on
D510 board and, if I understand correctly, also matches EPP connector
on 7I43.

Viesturs

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread andy pugh
On 21 December 2010 14:47, Viesturs Lācis  wrote:

> Has anyone obtained such a cable? Or did You make it?

I made half of one.
Double-ended would actually have been easier.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Eric H. Johnson
Viesturs,

Preassembled, they are a bit hard to find. I got a batch of them from here:
http://www.sealevel.com/store/ca118-26-pin-idc-ribbon-cable-to-db25-male-8-i
n-length.html

It is only 8" (~200mm) in length, but that was adequate for me.

Regards,
Eric


Hello, folks!

I have a question to those EMC2 users, who are using combination of
D510MO board and 7I43 card:
What cable are You using to connect both of them?
As far as I understand from 7I43 manual, the EPP connector is the same
as the pin-out on the D510 board.
So best option would be using a cable with these connectors on both ends:
http://www.cablestogo.com/product.asp?cat_id=137&sku=02170

Has anyone obtained such a cable? Or did You make it?



--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] D510MO + Mesa 7I43

2010-12-21 Thread Viesturs Lācis
Hello, folks!

I have a question to those EMC2 users, who are using combination of
D510MO board and 7I43 card:
What cable are You using to connect both of them?
As far as I understand from 7I43 manual, the EPP connector is the same
as the pin-out on the D510 board.
So best option would be using a cable with these connectors on both ends:
http://www.cablestogo.com/product.asp?cat_id=137&sku=02170

Has anyone obtained such a cable? Or did You make it?

Viesturs

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avago HCTL-2032

2010-12-21 Thread Kirk Wallace
On Tue, 2010-12-21 at 07:36 -0600, Jeff Epler wrote:
... snip
> Index handling has to be done in the same place as the counting, so if
> the counting is taking place in some chip, the index handling has to be
> in there too.
... snip

Thank you Jeff. I need to take time to study this. I have started to
look at the encoder.c file and the encoder diagram. I suspect if I can
figure out it works I'll be much further along. Unfortunately, I was
getting into encoders in order to make progress on something else, which
I also need to get up to speed on.

One thing that comes to mind, the index resets the encoder counters only
on homing linear axes and every 360 degrees on rotary axes or just for
threading?
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Avago HCTL-2032

2010-12-21 Thread Jeff Epler
On Mon, Dec 20, 2010 at 01:34:43PM -0800, Kirk Wallace wrote:
> On Mon, 2010-12-20 at 15:11 -0600, Jeff Epler wrote:
> > My first impression is that there is no "an index occurred" output, so I
> > don't see how you would make it work with emc's index-enable model for
> > threading and home-to-index.
> > 
> > Jeff
> 
> A brief look doesn't indicate (to me) what it uses the index for (reset
> the internal counter?). My first guess is that I would leave it
> unconnected and route the index to EMC2 on another path. The index
> question seems to be the only deal breaker.

Index handling has to be done in the same place as the counting, so if
the counting is taking place in some chip, the index handling has to be
in there too.

the hal interface to encoders with index is (there may be a better
explanation somewhere in the docs):
when index-enable is high, and a rising edge of index is
encountered, (and the optional index mask is false), the count is
reset to 0 and index-enable is set to false

In terms of our smart hardware interfaces, there are a number of ways to
do it, but they all boil down to the requirement that you can tell
inside the PC that in a particular servo cycle.  This is:
 * an index occurred since the last servo cycle
 * EITHER the number of counts since index
 * OR the total number of counts since power-on AND the number of counts
   latched when the index was seen (from which you calculate
   counts-since-index by subtraction)

Without an "index happened" indicator, you can't even be sure from the
counts alone that index happened.  If you just went through index in the
positive-going direction and reset, then you go through it in the
negative direction, the second reset will happen just when the counts
would naturally have been 0 anyway!

Without an "index happened" indicator that is latched exactly the same
as the counts, you can't be sure whether the counts you read now were
affected by the "index happened" register that you read just a moment
later (because the index could have arrived between the reads).

It's important that index handling be exact to the encoder edge instead
of exact to the servo cycle so that it is actually effective at giving a
high resolution snapshot of position or angle.  For example if you are
only checking index at a 1ms (servo cycle) resolution, that makes
1600rpm threading vary its start angle by 9.6 degrees.  If you use
homing with index, your encoder is turning at 3600rpm, and your
leadscrew is 5mm/revolution it introduces .3mm of uncertainty in your
homing.

Jeff

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] gladevcp changes

2010-12-21 Thread Michael Haberler
For those folks which are playing with, or helping document gladevcp:

yesterday another set of changes relating to gladevcp was merged into master, 
and for the time being we consider it feature-complete (bug-complete ;-?). 
Creativity on our behalf will most likely turn towards new or improved HAL 
widgets; the programming interface is considered stable.

Important changes:
- a gladevcp panel may also run in Axis' place for PyVCP, not just a tab - see 
GLADEVCP option for the inifile
- all gladevcp-related HAL commands may now be collected in a single 
POSTGUI_HALFILE - it's not necessary anymore to pass one halcmd file per 
gladevcp tab/panel since one may assure now that POSTGUI_HALFILE is run only 
after all HAL components are ready
- the wiki documentation is now in sync with the code in master, as are the 
examples under configs/gladevcp
- the API suffered a slight change (actually a simplification) - see 
configs/gladevcp/README.changes.
- Pavel fixed key forwarding - most importantly, an Escape key will 
program-abort Axis even if focus is in a gladevcp widget
- gladevcp now sports a man page

please let us know if you find errors or unclear/missing documentation.

-Michael

ps: as of now, there is still a missing package dependency in master - if you 
are working off master, please do the following (I assume this will be resolved 
shortly):

sudo apt-get install python-configobj
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Varispeed transmission and VFD, meaning of S code?

2010-12-21 Thread andy pugh
On 21 December 2010 11:50, RogerN  wrote:

>  The worst thing is when threading EMC2 zero's the encoder making it
> look like a huge speed error.

The encoder.n.velocity pin is meant to be immune to index reset. Are
you using a diff function on position instead?

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Varispeed transmission and VFD, meaning of S code?

2010-12-21 Thread RogerN

I used the encoder for speed feedback on my lathe.  The program doesn't have 
any idea what speed the gearbox is but it figures it out and runs at the 
correct speed the best it can.  I use HAL components to digital filter it, 
it takes a couple seconds to get to the correct speed but it works pretty 
good.  The worst thing is when threading EMC2 zero's the encoder making it 
look like a huge speed error.  I used HAL components to limit the rate of 
change to things that are possible, going many revolutions in reverse in a 
millisecond or so isn't possible.  My feedback would work better if it would 
just skip the feedback when the encoder count gets zeroed.  Perhaps hal 
components could adjust your vari-drive and VFD?

Roger Neal


- Original Message - 
From: "Igor Chudov" 
To: "Enhanced Machine Controller (EMC)" 
Sent: Monday, December 20, 2010 9:00 PM
Subject: [Emc-users] Varispeed transmission and VFD, meaning of S code?


> My Bridgeport Interact 2 mill has two speed control elements:
>
> 1) A constant power belted vari-speed control, and
> 2) Variable frequency drive.
>
> The vari-speed control can potentially be operated from EMC also, as it is
> based on a pneumatic motor controlled by two valves. Right now the control
> is not hooked to EMC in any way, and I operate the valves with a 
> standalone
> switch.
>
> I would like to somehow control speed with the S parameter.
>
> My current idea is that S is strictly responsible for frequency and goes
> from 0 to 60. So the value of S is strictly the driving frequency and it 
> has
> nothing to do with the varispeed. For now, I will continue to operate the
> valves by manually using the switch control handle.
>
> If I ever want to control varispeed automatically, I could do it with a 
> M100
> shell script, if I hook up the valves to the PPMC control.
>
> The reason for wanting to use the varispeed, of course, is to be able to
> change spindle speed and keep power, while operating a wide range of tools
> within one program.
>
> Does this approach of setting S from 0 to 60 (hertz) look flawed or weird 
> to
> you?
>
> I do not want my mill to be weird, in the sense of an old CNC operator
> finding its operation counterintuitive.
>
> i
> --
> Lotusphere 2011
> Register now for Lotusphere 2011 and learn how
> to connect the dots, take your collaborative environment
> to the next level, and enter the era of Social Business.
> http://p.sf.net/sfu/lotusphere-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users 


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Varispeed transmission and VFD, meaning of S code?

2010-12-21 Thread andy pugh
On 21 December 2010 03:00, Igor Chudov  wrote:

> I do not want my mill to be weird, in the sense of an old CNC operator
> finding its operation counterintuitive.

In that case, I would be tempted to hide the complexity from the
operator (even if it is you) and make it all automatic.

I think I would be tempted to always have a target VFD frequency of
60Hz (which is where the motor will be happiest), and to set the
varispeed  on that basis. You could then add a closed-loop spindle
control on VFD frequency only. That means that the varispeed will go
to an open-loop position on the basis of the S command, then EMC2 and
a closed loop will fiddle the motor frequency for load adaptation, and
for speeds above and below the range supported by the Varispeed.

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Joint mode vs world mode. Is there a bug?

2010-12-21 Thread Viesturs Lācis
Hello again!

2010/12/20 Viesturs Lācis :
> 1) what is the reason for EMC to go to joint mode, when selecting MDI?
> is that intended behavior or a bug?

Please, could anyone comment on this matter?

> 2) how do I fix that EMC does not return to teleop mode, when going
> from MDI to manual mode, when I use and2.0 module? Should I add a line
> to reset and2.0.out pin?

I "solved" it with customized mux2 component and HAL file. The problem
now is that EMC freezes for a second or two, when I switch from Manual
control to MDI or vice versa. It happens on random ocassions in about
70-80% of clicks on one of the tabs. Any ideas, what might be the
cause?
Here are contents of mux2bit.comp and autoworld.hal files, if anyone
is interested:

component mux2bit "Forward input value, if sel is false, otherwise
output is false";
pin in bit sel;
pin out bit out "Follows the value of in if sel is FALSE, and out is
FALSE if sel is TRUE";
pin in bit in;
function _;
license "GPL";
;;
FUNCTION(_) {
if(sel) out = 0;
else out = in;
}



# This HAL file is for automatic switching to world mode,
# once all joints are homed and after switching from MDI to Manual control

loadrt and2
loadrt mux2bit

addf and2.0 servo-thread
addf mux2bit.0 servo-thread

net and2in0 and2.0.in0 <= axis.4.homed
net and2in1 and2.0.in1 <= axis.5.homed
net a2-to-mux2 and2.0.out => mux2bit.0.in
net mux2sel mux2bit.0.sel <= halui.mode.is-mdi

net mux2out mux2bit.0.out => halui.mode.teleop



Viesturs

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hurco mill vs. Saitek joypad

2010-12-21 Thread Mark Wendt
On 12/20/2010 04:12 PM, Igor Chudov wrote:
> I had a chance to play with a Hurco CNC mill for about 5 minutes.
>
> The mill is nice and interesting, but I will mention one thing only,
> regarding user interface.
>
> For jogging, it has a MPG for setting up jog speed, the plus and minus
> buttons for setting direction, and X, Y, Z buttons to pick the axis to jog.
>
> On my mill, I have a Saitek P880 joypad.
>
> Compared to the Hurco interface, the joypad plainly RULEZ when it comes to
> ease of use. I can jog all three axes simultaneously at different speeds and
> do not need to use any wheel to set the speed, I can just push the
> joyhandles, stornger or less strongly, and that changes the jog speed. This
> is far, far better. And the most amazing thing is that the cost of this
> joypad solution is only a small fraction of the cost of the Hurco's hand
> control.
>
> i
Igor,

Kinda depends on what you want - incremental jogs, jogs at different 
speeds or both.  I have the best of both worlds on my machine, both an 
MPG for the incrementals and a joypad for blasting from one end of the 
axis to the other.  It's nice to be able to jog (MPG) incrementally at 
.0001 when touching off.  And it's also kinda nice to move my gantry 
from one end to the other (joypad) with a 60" travel on my X axis.

Mark

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users