Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 09:12:04 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Is anyone else using E1P1 / E1P0 to switch output #1 ?
Pages: 1 2 3 4 »   Go Down
Print
Author Topic: Is anyone else using E1P1 / E1P0 to switch output #1 ?  (Read 2179 times)
0 Members and 1 Guest are viewing this topic.
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« on: June 28, 2010, 01:58:07 AM »

I am having an issue with switching output #1 with the commands E1P1 and E1P0.

For most of a program it works just fine then suddenly gets confused (particularly with short moves) then returns to working just fine again.
Despite much experimentation I have not been able to get to the bottom of this or find the cure.

If anyone has experienced this problem and discovered the reason or found a cure I would be most grateful to learn the answer.

I have attached a simple GCode which exhibits this problem.

Thanks,

Tweakie.

* laser scale3 wire.nc (38.46 KB - downloaded 73 times.)
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Hood
Active Member

Online Online

Posts: 17,346


Carnoustie, Scotland


View Profile
« Reply #1 on: June 28, 2010, 03:32:17 AM »

Just curious the reason you are using this? If its for no delay operation of turning on/off your laser I wonder if M10/M11 would work better?
Hood
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #2 on: June 28, 2010, 05:27:28 AM »

Hi Hood,

Thanks for your response - Yes it is for no delay, or switching at the point of the axis movement, for a laser.

Funny enough the M10 /M11 combo also suffer similar, although slightly different, behavior. There is definitely something strange here as I have tried different computers with the same result.

I have attached a modified (m10/m11) version of the earlier GCode just in case anyone wants to see the difference.

Tweakie

* laser scale3a wire.nc (38.59 KB - downloaded 74 times.)
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
stirling
Global Moderator
*
Offline Offline

Posts: 1,189

UK


View Profile WWW
« Reply #3 on: June 28, 2010, 06:41:33 AM »

Hi Tweakie - don't know if this is any use to you but a while back I spent a bit of time looking at reducing the delay after switching outputs. http://www.machsupport.com/forum/index.php/topic,13206.msg86699.html#msg86699 (post #11)

Cheers

Ian
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #4 on: June 28, 2010, 07:44:46 AM »

Hi Ian,

Thank you for the link, which I had not seen before. I have just given this a try (got quite excited) and although it may speed the Output # ? switching time there is still a delay before the next line of code is executed when using M3 or M1001.
With cutting acrylic this delay is unimportant to me it is just with engraving where the depth varies at the start and end of the kerf.
It is so annoying that the E1P1/E1P0 works so well... 'when it works'.  Sad  Cry

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
stirling
Global Moderator
*
Offline Offline

Posts: 1,189

UK


View Profile WWW
« Reply #5 on: June 28, 2010, 08:09:06 AM »

although it may speed the Output # ? switching time there is still a delay before the next line of code is executed when using M3 or M1001.

Hi Tweakie - The timings I've given in the thread (via scope) were between the edge of the ouput going active and the edge of the first step pulse on the next line that commanded movement. i.e. NOT the time it took the output to go active. Worked every time for me and like I say I got it down to ~ 0.05 seconds, but looks like one of those one's that don't work for everyone for whatever reason.

Cheers

Ian
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #6 on: June 28, 2010, 08:21:15 AM »

Hi Ian,

Thanks for the info, I must look into this a bit more then. I didn't actually measure anything, just looked at the results in a piece of scrap perspex.
Just out of curiosity and assuming you have a better memory than me, what acceleration figure were you using for your X -Y axis ?.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
stirling
Global Moderator
*
Offline Offline

Posts: 1,189

UK


View Profile WWW
« Reply #7 on: June 28, 2010, 09:16:02 AM »

5000mm/sec^2 (velocity 15000mm/min)
Logged
stirling
Global Moderator
*
Offline Offline

Posts: 1,189

UK


View Profile WWW
« Reply #8 on: June 28, 2010, 09:28:04 AM »

fingers too fast for brain - why does that make any difference?

Ian
Logged
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,258


Super Kitty.


View Profile WWW
« Reply #9 on: June 28, 2010, 11:36:17 AM »

Hi Ian,

Quote
fingers too fast for brain - why does that make any difference?

The faster an axis takes off from a standing start and the quicker it stops the less drawn out the unwanted increase in depth of cut at the start and finish of the kerf becomes. (on wood this is shown as a dot at each end of a line - quick acceleration, small dot - slow acceleration, bigger dot).

Quote
5000mm/sec^2 (velocity 15000mm/min)

You must have super low mass in your axis to achieve that Velocity and acceleration. My poor little steppers might just about manage a squeak.  Grin

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Pages: 1 2 3 4 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!