winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.9k stars 766 forks source link

jSerialComm drops connection after connectng to GBRL #2296

Closed PopcornAWH closed 1 year ago

PopcornAWH commented 1 year ago

Version

2.0.18

Hardware / Firmware

GRBL 1.1

What happened

When I connect my Genmitsu 4040-Pro, initialization starts, and right after that the USB connection breaks. Reconnecting isn't possible, no ports found anymore.

How to reproduce

Hookup a 4040-Pro, and connect.

Probably that specific machine will not be available. When needed, I can give remote access to investigate.

Operating System

Windows 10-22H2 64b

Anything else

Happens every time. Came from 2.0.14, there it connects and works, but gives "ALARM HOLD SOFT RESET CYCLE START"

breiler commented 1 year ago

I made this adjustment to be able to connect to Genmitsu controllers a while back: https://github.com/winder/Universal-G-Code-Sender/pull/2255

It is available in 2.0.19 or later

breiler commented 1 year ago

The version is available here: https://github.com/winder/Universal-G-Code-Sender/releases/tag/v2.0.19

PopcornAWH commented 1 year ago

Oh, hadn't found that, thanks!

19 is the only version I hadn't tried... now wonder why ;-)


Paul

On 2023-08-22 16:34, Joacim Breiler wrote:

I made this adjustment to be able to connect to Genmitsu controllers a while back:

2255 [1]

It is available in 2.0.19 or later

-- Reply to this email directly, view it on GitHub [2], or unsubscribe [3]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/winder/Universal-G-Code-Sender/pull/2255 [2] https://github.com/winder/Universal-G-Code-Sender/issues/2296#issuecomment-1688310807 [3] https://github.com/notifications/unsubscribe-auth/AK42IIEHE43WGIUMU6XIMILXWS7QFANCNFSM6AAAAAA32AAIKE

breiler commented 1 year ago

Sorry about that, this version is completely freshly baked and I haven't published it yet.

PopcornAWH commented 1 year ago

Got a chance to try 2.0.19. Unfortunately, it does the same thing... I'll attach the logmessages and comsole output.

Let me know if you need anything else.

messages.log

Console_Output.txt

breiler commented 1 year ago

This is likely the problem, a new variant of writing the version string which UGS can't understand:

>>> $I
[VER:ARM32 V2.6.20230529:]
[OPT:VZL,35,254]

Is this their new control board? image

PopcornAWH commented 1 year ago

Yep That's the board

breiler commented 1 year ago

Sorry, the issue was auto closed when I merged my fix.

Please try the latest nightly build from here: https://github.com/winder/Universal-G-Code-Sender#downloads

PopcornAWH commented 1 year ago

Your fix works... image

Anything to do about the 'ALARM: HOLD SOFT RESET CYCLE START'?

breiler commented 1 year ago

Can you right click and turn verbose logging in the console and copy'n'paste the one of the status strings that is reported by the controller?

PopcornAWH commented 1 year ago

Like this?

<Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS|WCO:0.000,0.000,0.000,0.000> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS|Ov:100,100,100> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS|WCO:0.000,0.000,0.000,0.000> <Idle|WPos:0.000,0.000,0.000,0.000|Bf:35,254|FS:0,0|Pn:RHS|Ov:100,100,100>

breiler commented 1 year ago

Yes, thanks!

The controller reports that the pins for these features are triggered Pn:RHS: R: Reset H: Hold S: Cycle start

UGS displays them as alarms which maybe is not entirely correct... But the problem is that this comes from the controller, I can post a question to the Sainsmart support.

(For reference https://github.com/gnea/grbl/wiki/Grbl-v1.1-Interface#real-time-status-reports)

PopcornAWH commented 1 year ago

Thanks... as said, machine functions regardless... So not very urgent.

breiler commented 1 year ago

I did not get a response from Sainsmart. I did however remove the alarm label, it will now only show the activated pins.

As this is something that is configured in the firmware or by connecting the pins in a certain way there is not much more we can do from UGS.

I am closing this issue.

PopcornAWH commented 1 year ago

Pity they didn't react...

Thanks for looking into it...

Can confirm alarm is removed now


Paul

On 2023-10-23 20:38, Joacim Breiler wrote:

I did not get a response from Sainsmart. I did however remove the alarm label, it will now only show the activated pins.

As this is something that is configured in the firmware or by connecting the pins in a certain way there is not much more we can do from UGS.

I am closing this issue.

-- Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you authored the thread.Message ID: @.***>

Links:

[1] https://github.com/winder/Universal-G-Code-Sender/issues/2296#issuecomment-1775791901 [2] https://github.com/notifications/unsubscribe-auth/AK42IIEJ6EH22SEXMWE335LYA22RFAVCNFSM6AAAAAA32AAIKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZVG44TCOJQGE