Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.39k stars 550 forks source link

3018 cnc open port issue #371

Open Rabid-terd opened 4 years ago

Rabid-terd commented 4 years ago

Hi i am new to this stuff and need some help and have no where else to go, i set up my cnc and installed the drivers, gbrl laser, and candle programs that came with it. But when i try and use it and select the port its on it comes up open port and not idle. is there something i should look for that im missing?

many thanks

ondras12345 commented 4 years ago

Your CNC may be missing the Grbl firmware. Try connecting with a terminal program such as PuTTY. Refer to https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#getting-started for the serial port config and basic commands. If the machine does not respond, it's most likely a problem with the hardware or missing firmware. Post a foto of the PCB that is on the back of the machine. If it is the Woodpecker control board, it should have a few LEDs on it. The LEDs labeled 24V, 12V, and 5V should all be lit. The ones labeled RxD and TxD should blink during the serial communication.

Rabid-terd commented 4 years ago

I have no blinking lights and it says serial port error 1 no file or directory it wont take $ command. when unplugged from laptop I have T R P lights on and when I plug in only P light is on. I tried multiple versions of candle for this with same result? On Monday, April 27, 2020, 03:21:01 AM EDT, ondras12345 notifications@github.com wrote:

Your CNC may be missing the Grbl firmware. Try connecting with a terminal program such as PuTTY. Refer to https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#getting-started for the serial port config and basic commands. If the machine does not respond, it's most likely a problem with the hardware or missing firmware. Post a foto of the PCB that is on the back of the machine. If it is the Woodpecker control board, it should have a few LEDs on it. The LEDs labeled 24V, 12V, and 5V should all be lit. The ones labeled RxD and TxD should blink during the serial communication.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

Did you select the correct serial port in Candle settings?

Rabid-terd commented 4 years ago

yes it just says open port wont let me do anything On Monday, April 27, 2020, 08:14:25 AM EDT, ondras12345 notifications@github.com wrote:

Did you select the correct serial port in Candle settings?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

serial port error 1 no file or directory

This is printed if Candle can't open the specified serial port.

Rabid-terd commented 4 years ago

I can find the machine in device management options like the cpu is seeing the machine and also installed recent driver, do you think it is just candle and I should try a different grbl? On Monday, April 27, 2020, 08:18:12 AM EDT, ondras12345 notifications@github.com wrote:

serial port error 1 no file or directory

This is printed when Candle can't open the specified serial port.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

https://doc.qt.io/qt-5/qserialport.html#SerialPortError-enum Error 1 means "An error occurred while attempting to open an non-existing device.".

Try opening the serial port with PuTTY, Hyperterminal, or a similar program.

Rabid-terd commented 4 years ago

I have putty up but have no idea how to use it lol On Monday, April 27, 2020, 08:23:46 AM EDT, ondras12345 notifications@github.com wrote:

https://doc.qt.io/qt-5/qserialport.html#SerialPortError-enum Error 1 means "An error occurred while attempting to open an non-existing device.".

Try opening the serial port with PuTTY, Hyperterminal, or a similar program.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Rabid-terd commented 4 years ago

error unable to connect to com3 unable to open serial port? On Monday, April 27, 2020, 08:30:18 AM EDT, keith sager moparstar18@yahoo.com wrote:

I have putty up but have no idea how to use it lol On Monday, April 27, 2020, 08:23:46 AM EDT, ondras12345 notifications@github.com wrote:

https://doc.qt.io/qt-5/qserialport.html#SerialPortError-enum Error 1 means "An error occurred while attempting to open an non-existing device.".

Try opening the serial port with PuTTY, Hyperterminal, or a similar program.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

Try using another USB cable. If it doesn't help, restart the computer. The serial port may be held open by another process.

Rabid-terd commented 4 years ago

alright I opened it and its just a blank black screen? On Monday, April 27, 2020, 08:46:54 AM EDT, ondras12345 notifications@github.com wrote:

Try using another USB cable. If it doesn't help, restart the computer. The serial port may be held open by another process.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

So PuTTY didn't display any errors this time? Did you configure the serial port correctly (baud rate, disable flow control)? Grbl should print the version when you open the serial port.

Rabid-terd commented 4 years ago

it reads no errors on putty but candle just says disconnected now wont even go to port opened now On Monday, April 27, 2020, 08:57:19 AM EDT, ondras12345 notifications@github.com wrote:

So PuTTY didn't display any errors this time? Did you configure the serial port correctly (baud rate, disable flow control)? Grbl should print the version when you open the serial port.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ondras12345 commented 4 years ago

You have to terminate any other processes that are using the serial port (such as putty) before you try opening Candle. Does Candle still display the same error message? Are you absolutely sure you selected the correct COM port in the drop-down list in Candle settings?

Your issue is not related to Candle if the machine doesn't respond when you connect to it using PuTTY. When you connect and start typing random text (it won't appear on the screen), do any LEDs on the machine blink? Please post a photo of the PCB.

Rabid-terd commented 4 years ago
On Monday, April 27, 2020, 09:31:54 AM EDT, ondras12345 <notifications@github.com> wrote:  

You have to terminate any other processes that are using the serial port (such as putty) before you try opening Candle. Does Candle still display the same error message? Are you absolutely sure you selected the correct COM port in the drop-down list in Candle settings?

Your issue is not related to Candle if the machine doesn't respond when you connect to it using PuTTY. When you connect and start typing random text (it won't appear on the screen), do any LEDs on the machine blink? Please post a photo of the PCB.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Rabid-terd commented 4 years ago
On Monday, April 27, 2020, 09:39:16 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

On Monday, April 27, 2020, 09:31:54 AM EDT, ondras12345 <notifications@github.com> wrote:  

You have to terminate any other processes that are using the serial port (such as putty) before you try opening Candle. Does Candle still display the same error message? Are you absolutely sure you selected the correct COM port in the drop-down list in Candle settings?

Your issue is not related to Candle if the machine doesn't respond when you connect to it using PuTTY. When you connect and start typing random text (it won't appear on the screen), do any LEDs on the machine blink? Please post a photo of the PCB.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Rabid-terd commented 4 years ago

I have been getting this far, they sent me new firmware and to use this x loader but this is as far as it will go. don't know why this is such a pain in the ass

On Monday, April 27, 2020, 09:41:09 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

On Monday, April 27, 2020, 09:39:16 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

On Monday, April 27, 2020, 09:31:54 AM EDT, ondras12345 <notifications@github.com> wrote:  

You have to terminate any other processes that are using the serial port (such as putty) before you try opening Candle. Does Candle still display the same error message? Are you absolutely sure you selected the correct COM port in the drop-down list in Candle settings?

Your issue is not related to Candle if the machine doesn't respond when you connect to it using PuTTY. When you connect and start typing random text (it won't appear on the screen), do any LEDs on the machine blink? Please post a photo of the PCB.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Rabid-terd commented 4 years ago

have serial port error but says im connected now... am I close to something here lol

On Tuesday, April 28, 2020, 08:28:52 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

I have been getting this far, they sent me new firmware and to use this x loader but this is as far as it will go. don't know why this is such a pain in the ass

On Monday, April 27, 2020, 09:41:09 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

On Monday, April 27, 2020, 09:39:16 AM EDT, keith sager <moparstar18@yahoo.com> wrote:  

On Monday, April 27, 2020, 09:31:54 AM EDT, ondras12345 <notifications@github.com> wrote:  

You have to terminate any other processes that are using the serial port (such as putty) before you try opening Candle. Does Candle still display the same error message? Are you absolutely sure you selected the correct COM port in the drop-down list in Candle settings?

Your issue is not related to Candle if the machine doesn't respond when you connect to it using PuTTY. When you connect and start typing random text (it won't appear on the screen), do any LEDs on the machine blink? Please post a photo of the PCB.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

rcchristensenjr commented 4 years ago

It took me a couple of days but finally decided to disconnect manual controler. It ended up it was interfering with usb connection. After disconnecting data line worked and could install what i needed!!!!!!

Glasairman commented 3 years ago

What worked for me is that I started Candle as "Administrator" . The Port changed from Open to Idle and JOG worked at long last. I got the idea from a post on the AskUBUNTU forum where the solution was to start Candle as ROOT. And as Admiinistrator is the Windows equivalent of ROOT, I gave it a try..

Glasairman commented 3 years ago

Looks like Windows is introducing more and more of the security aspects of Linux device ownership at user level. Influence of RedHat maybe?

SullivanDesign commented 3 years ago

I seem to be in a similar situation as OP. New to all this and have the same open port when starting candle and connecting to the correct com port.

Trying to connect with candle running on windows 10; first checked device manager port says connected to device and is working properly restarted computer and rechecked device manager connected via PuTTY; it seems to be connecting at least somewhat? but it's just a blank screen can't type anything I've double and triple checked I'm connecting to right port on candle The only led's lighting up on board is USB and 24v 20210829_113313 Not sure what to try next. Anyone have ideas?

Edit: Bitrate defaulted to 9600 for the port while it was set to 115200 in candle. Once I increased it through device manager they started communicating properly... I think.

Edit2: It went from open port to idle, and console said it unlocked when I pressed the button, but then nothing responded. Restarted the program and it went back to "port open" rechecked baud rate was identical. Guess looking for the next problem.

Edit3: Seems to go through "port open" --> "alarm" --> "idle" only if the usb is connected but power to the cnc is turned off (only power to the board through USB). As soon as I turn the power on the idle goes back to "port open"

pasqubp commented 3 years ago

Sorry, I don't know English, so I used a translator, I had the same problem, the solution is to disconnect the screen than bring the cnc to use it manually

boogy886 commented 2 years ago

I seem to be in a similar situation as OP. New to all this and have the same open port when starting candle and connecting to the correct com port.

Trying to connect with candle running on windows 10; first checked device manager port says connected to device and is working properly restarted computer and rechecked device manager connected via PuTTY; it seems to be connecting at least somewhat? but it's just a blank screen can't type anything I've double and triple checked I'm connecting to right port on candle The only led's lighting up on board is USB and 24v 20210829_113313 Not sure what to try next. Anyone have ideas?

Edit: Bitrate defaulted to 9600 for the port while it was set to 115200 in candle. Once I increased it through device manager they started communicating properly... I think.

Edit2: It went from open port to idle, and console said it unlocked when I pressed the button, but then nothing responded. Restarted the program and it went back to "port open" rechecked baud rate was identical. Guess looking for the next problem.

Edit3: Seems to go through "port open" --> "alarm" --> "idle" only if the usb is connected but power to the cnc is turned off (only power to the board through USB). As soon as I turn the power on the idle goes back to "port open"

I am having the exact issue as Edit3...did you ever resolve this?