Hello Guest it is April 18, 2024, 09:53:26 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stirling

1741
General Mach Discussion / second parallel port
« on: December 04, 2009, 06:26:55 AM »
I need to add a second PP (for a THC300). Searched and found simpson36's recomendation. But anyone know of a tried and tested mach compatible single or better still dual port card sourcable in the UK?

Thanks

Ian

1742
Not sure what the situation is with servos but I'm pretty sure I'm right in saying that if you're microstepping steppers this will NOT yield the EXACT results you might expect. Microstepping drives have no memory accross power cycles of which microstep they were on in their sequence and will allways start their cycle "assuming" that the motors are starting at a full step position. This means that the first few microsteps after power on can be unreliable in terms of motor position.

1743
General Mach Discussion / Re: creating small circles
« on: November 23, 2009, 03:12:21 PM »
try replacing doSpinCW() with activateSignal(OUTPUT1) in M3 and doSpinStop() with deactivateSignal(OUTPUT1) in M5. This got both down to around 0.1 secs for me. Then if you like make M1000.m1s and M1001.m1s (or whatever free numbers you like better) with activateSignal(OUTPUT3) and deactivateSignal(OUTPUT3). Obviously you'll need to change your pin to Output3 in ports n pins and call M1000 and M1001 instead of M3 and M5. This got the delays down to around 0.05 secs on my system. Though why different M numbers and output 3 should be faster than M3/M5 and output 1 (especially on the same pin!!!) I don't know.

Hope this helps

Ian

1744
General Mach Discussion / Re: Probing questions, Help!
« on: November 15, 2009, 12:48:26 PM »
After successful probing, PARAMETERS 2000 to 2005 (X,Y,Z,A,B,C) will be set to the coordinates of the
location of the controlled point at the time the probe tripped

Cheers

Ian

1745
Mach Screens / Re: colour control
« on: November 09, 2009, 05:15:33 AM »
Thanks Klaus

Ian

1746
Mach Screens / Re: colour control
« on: November 07, 2009, 06:37:43 AM »
thanks Brett exactly what i was looking for
thanks also ger

1747
Mach Screens / colour control
« on: November 05, 2009, 05:12:53 AM »
looking at the downloadable screens they exhibit a variety of background colours for such things as code window, labels etc. I see no way of controling this in either machscreen or scree4. The screens I create seem to have an almost random background colour for these items. Sometimes it's black with white text, sometimes it's a baige with black text - any tips gratefully received. Also with benny's digital DRO text he has cyan, yet when I use the font setter in my screens, regardless of which colour I select, like henry ford I get only black!

TIA

Ian

1748
VB and the development of wizards / Re: No Menu Button?
« on: October 26, 2009, 05:59:21 PM »
ok - a bit of confusion on my part as to whether you were wanting tuts for vb6 or cypress - my apologies.
best I can suggest are these links - just bear in mind that cypress enable is not exactly a text book example of well implemented vb. It will fail where it shouldn't from time to time - but just battle away and code round it best you can.
http://www.cypressinc.com/enduser.pdf
http://www.w3schools.com - particularly XML DOM
Hope this helps

1749
VB and the development of wizards / Re: No Menu Button?
« on: October 26, 2009, 10:35:45 AM »
If we are using Mach3's Cypress VB  for accessing XML, is it possible?
yes - though it may get less than reliable depending on how deep you want to get.
I have not heard of a tutorial of read/write XML using VB6. T_T
so if you google "xml in vb6" it comes back with nothing? - I don't think so - see attached pic

1750
VB and the development of wizards / Re: No Menu Button?
« on: October 26, 2009, 05:52:56 AM »
Is there a way of read/write XML files using VB?
An XML file is just a text file so you could do what some folks do and just hack it. Alternatively you could do it right and use the XML Document Object Model (DOM). Depends on which VB you're using so search tinterweb for xml document object model in vb.