Hello Guest it is March 29, 2024, 04:44:03 AM

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

1521
General Mach Discussion / Re: Macro deactivate thc up and thc down
« on: July 06, 2010, 05:01:39 AM »
sounds like you need to use anti-dive.

1522
Ian I think the problem does lies with VB or at least the VB/GCODE interface.
Terry - I agree that there are BIG problems with VB and it's interface to Mach - BUT - the E?P? code that Tweakie posted in his first post doesn't use VB AT ALL - so how can the issues he raises be anything to do with VB?

Ian

1523
General Mach Discussion / Re: Upgrade , is CV better?
« on: July 05, 2010, 04:04:28 AM »
just for interest - what is it you're hoping to be better/fixed?

Ian

1524
Tweakie - can you post a copy of your latest gcode using the dir pin method and a copy of the M10/11 version. Obviously it's good you have a solution that's working for you but it's still a kludge. I'm thinking this problem has to do with CV and I'd like to scope your latest solution just for fun to see if I can home in on exactly why it's better than M10/11.

Thanks

Ian

1525
Terry - can you expand? There is NO VB in Tweakie's E?P? code. The two main issues as I see it are 1) and 3) in my post above.

Ian

1526
OK took a look at this on the scope and here are some of my findings - not sure it's any real help though.

1) a G1 followed by a G0 blends - IMHO this is wrong
2) a G0 followed by a G1 doesn't - IMHO this is correct
3) sometimes E?P1 doesn't activate - unable to find out why. In your example the lines that don't activate are lines: 59, 63 and 67.
4) E?P0 deactivates at the END of a blend - but because of 1 this leads to perhaps unexpected and unsatisfactory results.
5) The time difference between an E?P1 activating and the first step pulse is ~ 0.05ms
6) The time difference between an E?P0 deactivating and the last step pulse is ~ 0.05ms (but because of 4 and 1 this can lead to unexpected results)
7) Not using E?P0 would mitigate 1) becaue blending does not cross other methods of activating outputs.
E?P? was apparantly designed by Art to allow on/off switching DURING a blended move. Your example doesn't appear to use this functionality and so because of 1) you suffer the downside without any apparant upside.

Ian

1527
General Mach Discussion / Re: why won't this macro work??
« on: June 30, 2010, 02:21:12 PM »
well you could stick it before the sleep but after would be better  ;D

1528
General Mach Discussion / Re: why won't this macro work??
« on: June 30, 2010, 11:59:05 AM »
might want to stick a "wend" after your sleep too. When your input goes inactive you'll likely get a syntax error. Also stick a () on the end of your isMoving (it's a function) not a sub.

Ian

1529
General Mach Discussion / Re: why won't this macro work??
« on: June 30, 2010, 11:26:42 AM »
you need an "end if" in there.

Ian

1530
Aw bless him. Looks like Art's just been telling him all about gazillion'th order planning...  ;D