semaphore timeout period has expired

General hangout discussion area for other non-printing stuff
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

semaphore timeout period has expired

Post by Stevolution »

Now randonly during prints, Mattercontrol throws up 'semaphore timeout period has expired' and disconnects from the printer.

Reinstalled all drivers. Reinstalled all USB drivers.

Still does it :cry:
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

Tried slowing the comms speed. Re-installed Rambo drivers.

Just randomly died again after 2 hours.

How do you print from the SD card? Do you set up your print in Mattercontrol and then save it to the card?
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: semaphore timeout period has expired

Post by Xenocrates »

You export the G-code to the SD card, then select the file from it once it's in the printer. So select the printer and object as usual, then hit export -> export as G code, or if you want to export a bunch of things, queue, export to folder or SD card. The go to the printer, click the knob, find the SD card menu (or select file I believe is another option), and then find the one you want.
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
geneb
ULTIMATE 3D JEDI
Posts: 5362
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: semaphore timeout period has expired

Post by geneb »

...or use Repeiter Host, AstroPrint, or OctoPrint. :)

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Qdeathstar
Printmaster!
Posts: 622
Joined: Wed Apr 13, 2016 7:42 pm

Re: semaphore timeout period has expired

Post by Qdeathstar »

Matter control sucks the big one... I recently switched back to simplify3D and an SD card and couldn't be happier...


I'm debating going duet wifi with panel due and ir or keeping the Rambo and adding octoprint and the v3 hotend...


The first option costs about $300 havnt price the second option but if it's close to half the cost it will be given signicant consideration...
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

Just printing straight off the SD card.
So far... its still going.

One day.

One day....

I will get a full correct print
User avatar
lightninjay
Printmaster!
Posts: 289
Joined: Sun Jul 13, 2014 12:49 am
Location: Tampa, Florida

Re: semaphore timeout period has expired

Post by lightninjay »

I must say Steve, I admire your persistence and tenacity. Even through all of the posts saying how much you want to get rid of your printer, you've stuck with it and are so close to having a functioning setup!
If at first you don't succeed, you're doing something wrong. Try again, and if it fails again, try once more. Through trial and error, one can be the first to accomplish something great.
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

NOBODY can say I have not stuck with this thing. Its taught me patience I never thought I had :roll:

Amazingly... its kinda behaving today. Maybe I have turned a corner?

Printing from the SD card is working far better.

I know I moan about it a lot... but I have put so much time into this thing that some return really would be nice.
Its never going to actually be any practical use for what I intended, but it appears I hate to be beaten.

I have however, moved my hammer away from the printer.... just in case I snap
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

What... its.... printed.... something.... correctly :o

I am sure it could be better, but finally.... something that actually goes together and works (servo operated release valve)
Its the best quality I have had out of it by far

Now just need to get off Tinkercad (oh so easy to use) and then I might actually start getting round prints, rather than stepped circles.
Attachments
20160909_165020.jpg
20160909_165000.jpg
20160909_164949.jpg
20160909_164940.jpg
Mac The Knife
ULTIMATE 3D JEDI
Posts: 1409
Joined: Sun May 11, 2014 6:18 pm

Re: semaphore timeout period has expired

Post by Mac The Knife »

Looking good!! Printing off a SD card eliminates a lot of potential problems.
I haven't played with Tinkercad,,,, but other cad programs have resolution settings you can change when you save your model as a stl file. It makes for a larger file, but smaller flats.
R-Max V2
Eris
Folger Tech FT-5 R2
Qdeathstar
Printmaster!
Posts: 622
Joined: Wed Apr 13, 2016 7:42 pm

Re: semaphore timeout period has expired

Post by Qdeathstar »

You know it is possible that the entirety of your problems could have been caused by one bad usb cable.
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: semaphore timeout period has expired

Post by Xenocrates »

Qdeathstar wrote:You know it is possible that the entirety of your problems could have been caused by one bad usb cable.
Having looked through a lot of his problems, I'm going to doubt that things like too short of bed screws can be caused by a USB cable :P I will admit that his approach with a port on the side and an internal cable, then an external disconnectable cable is more vulnerable to a bad cable, but he has had a hell of a lot of issues that weren't just weird software glitches.

As far as CAD stuff goes, I'm learning to like fusion 360, and find it only slightly harder to learn than Tinkercad (And a lot easier to do complicated stuff with, or dimension well) and it's free for hobby use and business's with less than 100K in revenue a year. Plus the built in CAM (I'm not liking that as much as I could, yet. It's very different in feel from the CAM i used before, and more basic than a 5 axis capable one, but I've only just started with it) may let you go from a single design to the printer for a quick fit+feel part, and then to your mill, with minimal changes and no screwing about with random software to convert or massage it.
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
Eric
Printmaster!
Posts: 726
Joined: Sat Aug 18, 2012 4:09 am
Location: Chula Vista, CA

Re: semaphore timeout period has expired

Post by Eric »

'semaphore timeout period has expired' is a windows error result that tends to result from a resource lock or overflow of some kind. Often associated with hardware resources such as USB and hard drives.

A marginal USB cable could be a possible cause if it was causing a large number of errors/retrys to the point that buffers fill up or transmission timeouts expire. Or the cause could be something else entirely.
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

Tried new usb leads - wasn't that. It just randomly started doing it after probably nearly a year of being fine.
I am suspecting my Sony Vaio.
Most of my previous issues are not down to the lead
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

and spoke too soon.....

as the print randomly stops from the sd card after 3 hours :x
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: semaphore timeout period has expired

Post by Xenocrates »

What bit was it printing, and how did it stop?
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
User avatar
KAS
ULTIMATE 3D JEDI
Posts: 1157
Joined: Thu Dec 04, 2014 6:06 pm

Re: semaphore timeout period has expired

Post by KAS »

Stevolution wrote:and spoke too soon.....

as the print randomly stops from the sd card after 3 hours :x

do you have the usb cable attached while printing off the SD?
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

It was printing standalone - no USB lead attached. Printing the file off the sd card.

Was printing very well and then the print head just stopped with no warning. Just sat there. Hotend stayed at full temp, it just seemed to grind to a halt.

Is there a limit to the G-code size that can be read off an sd card? I checked the slicing before putting it on the card and it sliced fine.
Just seemed to lose the G-code commands.

(edit - just checked the G-code slicing in an online viewer and it seems fine and complete)

SO frustrating

Perhaps my missus altered to the code to stop just short of her boobs :shock:
Attachments
20160909_221009.jpg
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

Just had a Google (the time I have spent on Google over this thing....._).

Looks like the sd cards they supply with the printer are only class 4 and not up to spec - causing failures (WHY SUPPLY THEM THEN - bangs head on wall).
Apparently a class 10 sd card is a much better option.

Hopefully that is the issue.

Oh good, off to buy something else for the printer. Goody :roll:
Polygonhell
ULTIMATE 3D JEDI
Posts: 2430
Joined: Mon Mar 26, 2012 1:44 pm
Location: Redmond WA

Re: semaphore timeout period has expired

Post by Polygonhell »

Be very careful with SD cards, they don't all work on the arduino based readers like RAMBO.
They are required to support an SPI interface and not all cards do, and there is no way to tell from the cards themselves.
The interface to the cards on the Rambo is pathetically slow (it's 1 bit serial) so I would surprised if the card speed makes any difference.
Generally larger more modern cards will not work, I'e yet to find a single Kingston Branded card that works, some Sandisk cards do and some don't.
I think I'm using 4x Sandisk 4GB cards, I have some 8GB SandDisk cards that don't work.

FWIW I would doubt the issue is the card if you are also getting failures over USB, but it's worth a shot.
The fact your failing hours into a print in both cases would take me look at temperature in the electronics bay, run with the door ope and point a desk fan at the opening to see if it makes a difference.
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: semaphore timeout period has expired

Post by Xenocrates »

Mind posting the G code? I'm curious as to if it's parking the head for a minimum layer time issue, considering it's stopping at full temp and sitting. I've managed to get through a 15MB print on the Rambo, so I'm not thinking it's a size issue. then again, that is a very smooth model, so it may be very large code.
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
User avatar
Stevolution
Printmaster!
Posts: 195
Joined: Tue Jan 13, 2015 5:11 pm

Re: semaphore timeout period has expired

Post by Stevolution »

Mmm... OK.
I read that people were solving sd card stopping issues by getting better sd cards. I think I will get a 4gb class 10 card anyway - just to rule it out.

Temps... think we should be OK on that front. I have LOADS of extra cooling in the rambo bay. A 12cm side fan pulls the air out of the electronics bay and vents out the cabinet, an extra fan on the PSU and a 12cm fan under the printer pushing cool air up into the printer from outside.

I have added the G-code as a .txt file. Its pretty large and I have no idea what I am looking for.

Its a shame there is no way of calling up 'where' it stopped in the g-code, and then a 'resume' function to carry on from that point if you had an issue.
Could that not be achieved? That must be possible.

I have a full cold and patience it running low today.... so best I leave it alone
Attachments
Woman_Body_-_Polygon_reduction_5__repaired_.txt
(10.63 MiB) Downloaded 116 times
Qdeathstar
Printmaster!
Posts: 622
Joined: Wed Apr 13, 2016 7:42 pm

Re: semaphore timeout period has expired

Post by Qdeathstar »

simplify3d has a function to start from a certain z height... i tried it once and it sorta works.... but I had a lot of support that had fallen and so my print did not complete :(
Xenocrates
ULTIMATE 3D JEDI
Posts: 1561
Joined: Wed Sep 23, 2015 2:55 pm

Re: semaphore timeout period has expired

Post by Xenocrates »

About how tall is the part? ~79 MM?
Machines:
Rostock Max V2, Duet .8.5, PT100 enabled E3D V6 and volcano, Raymond style enclosure
Automation Technology 60W laser cutter/engraver
1m X-carve router

Sic Transit Gloria Mundi
01-10011-11111100001
Mac The Knife
ULTIMATE 3D JEDI
Posts: 1409
Joined: Sun May 11, 2014 6:18 pm

Re: semaphore timeout period has expired

Post by Mac The Knife »

Your code looks fine when I open it in Simplify 3d.
R-Max V2
Eris
Folger Tech FT-5 R2
Post Reply

Return to “The Lounge”