Giter VIP home page Giter VIP logo

cn5x's People

Contributors

fra589 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cn5x's Issues

Problem connection serial port

2018-11-17 17:53:34 : Info : grblCom: Starting grblComSerial thread.
2018-11-17 17:53:34 : Info : grblComSerial running "grblComSerial" from thread #0x18d8.
2018-11-17 17:53:34 : Info : grblComSerial: comPort COM13 open, RC = True
2018-11-17 17:53:39 : Error : grblComSerial: Grbl initialization: Timeout !
2018-11-17 17:53:39 : Error : grblComSerial: unable to open serial port!
2018-11-17 17:53:39 : Info : grblComSerial : End

Hard limits and A axis display bugs?

I am using cn5X++ V 0.3k and have enabled hard limits via $21=1 and when I press a limit switch I can see the round limit light at the bottom of the display window light up so i know 5X++ is reading the limit switches yet no alarm shows and the axis keeps moving. Is there something else that needs to be setup for this to work? So i am using the A axis and it is working but the display is not showing degree's and looks more like a linear measurement, again is there a setting that needs to be setup for this to display right? So last item is when jogging when I get to zero on the display position on X or Y (not A that works OK) the movement stops and won't go any farther but i can go in the opposite direction OK, settings?
Thanks oh and if there is a better place to ask these questions please let me know.

Missing a G92 button..

Hi, I found this grbl controller very useful, easy to read and stable. (I have problem both with UGS and bCNC, under PopOs!)
One thing that I'm missing is a Button to send a "G92 X0 Y0 Z0" like a "Set Zero", maybe with the possibility to fill 3 textfields if you want to set a position different from Zero..
Is this something you can add?
Thank you.

p.s. I'm running a double X gantry, with your grbl-mega-x5 firmware.

$10 Setting

Hi Gauthier!

First let me say a big thank you for your awesome soft! It runs smooth on Linux, however I was not able to have it performing well on Windows.

I have a question on the $10 setting, i have read the wiki an i can not figure out the $10=2 value with the buffer?

What should one use, i presume =1? I have strange black boxes appearing in the DRO field recently while hovering over with the mouse cursor.

BTW is there a setting =0 for this value?

Thanks a lot,

Lex.

All button disabled except for the Emergency Stop button

I have built APP_VERSION_STRING = "0.3.f" both on Windows 10 and Windows 7. Build was succesfull but the buttons are all grayed. I can only press Emergency Button. I can connect to grbl-Mega on a ramps 1.4 but the connection is problematic. I can confirm that it is not an issue with the arduino board or CH340 because I can complete a job using CNCJS. I will post screenshot once I'm back home.

image

Above is a screenshot in my win10 build but it is not connected to grbl-Mega. I change the version as it wont compile with a alpha character in the version.

CN5X locks up

I have installed CN5X on Linux Mint and I have uploaded Mega-5X to my Mega.

The Mega seems to be working properly - I can send it commands with the Minicom terminal program.

When I try CN5X it allows me to use the X and Y jog buttons but if I press any other button on the panel (for example the Z jog) everything stops working but with no error message. I can no longer use the X or Y jog and I have to disconnect and reconnect to get the X and Y working again.

What might I be doing wrong?

...R

Some Issues some suggestions

I'm start using your cn5X program in my mpcnc, I know is in alpha version, but after read some post on the forum I realise that is only my endstops that not work.
My CNC is based on a mpcnc of vicius, and we use the marlin firmware to run the CNC that is, 3D printer to, in the first stage of my CNC using the mega and the marlin mpcnc modified firmware, all my endstops work the x+,x-,y+,y-,z+,z-, the machine still the same, and have the same wires, but because i don't like the repetier host, or printrun to run the milling jobs (is more like to 3d printing), i'm start using a arduino uno with the 0.9j version of the GRBL, and i don't know why my endstops stop working, i have work arround with the $20 $21 and $22 and nothig so i have give up, now with this version of the GRBL to the mega with 5/6 axis that i'm plan to implement i'm start trying again but still the same if i put the mega with the marlin the endstops works, the mega with the GRBL the endstops don't work. so if you can help me i appreciate.

The suggestion is, in your cn5X program you have to bottoms for the coolant, well i can't see the difference between the food and the mist, for me if you need the coolant and i work with a big GMM CNC for stone we use flood because we need a lots of water to cool down the tool and the stone. For us maybe is more useful have only the coolant flood for stone or metal, and a vacuum (M10 and M11 g-code command) for wood, or even better in the options menus have a way to personalize that. Other thing that happened to me have respect to the laser mode in the configuration, I have laser mode on, because when i work with the spindle use the M3 and M5 command to activate a relay that turn on and off my spindle and the M4 and M5 to operate the laser, but in your programe if the laser mode is on the relay stay on and off when the z axis goes up and down, so still good ideia put a bottom to activate the laser mode outside the configuration. Other suggestion is use the 128x64 LCD graphics to display the Machine Position, and Work Position, and even the ETA, and ETE of the job, and a graphical visualizer of the job on the app

Support for non-GRBL too?

This looks like an interesting new 5-axis software control project. 😄

Is the focus on just supporting 5-axis GRBL, or should it (eventually) support other 5-axis controllers too?

eg g2core, LinuxCNC, MachineKit, etc?

homing direction invert mask crash

Upon attempting to save a new homing direction invert mask, cn5X crashed with the error:

Traceback (most recent call last):
File "/Users/will/cn5X/grblConfig.py", line 567, in on_Apply
self.sig_config_changed.emit("$23=".format(self.__di.emHomeDirInvert.value()))
TypeError: 'int' object is not callable
Abort trap: 6

Testing cn5X on Windows 10

Hello,

Afther installation python 3.8 and PyQt5 i can start the interface but there is a communication problem.
I have setup a mega 2560 bord with grbl 5Mega firmware , when i start the interface cn5X i have a time out error.

So nothing function.

I have done the same test on a ubuntu linux machine and the mega 2560 bord work normal and gice communication info.

Have you any tips ?

cnc5X on Debian

Help to run the program on Linux (Debian-9).
Thank you very much!

Windows conection problem

Hello i just installed cn5x on windows and when i connect to the mega2560 i get this message Imatge1 . I found a issue on grbl-master5x github that had the same problem on another version and he find a solution sending Ctrl + X trough arduino ide and then it works but in my case this isnt working, i also tried to edit the line 254 of the grblComSerial.py but it also didn't work. here you have another imatges of version, debug ,etc. Tell me what to do. Im in windows 10 32 bit
3
4
captura 1
Captura 2

Install on RaspberryPi

I command in ssh,

apt-get install python3 python3-pyqt5 python3-pyqt5.qtserialport
adduser pi dialout
git clone https://github.com/fra589/cn5X.git
cd cn5x/
make

and then getting some errors like this

pi@raspberrypi:~/cn5X $ make make[1]: Entering directory '/home/pi/cn5X/i18n' lrelease cn5X.pro make[1]: lrelease: command not found Makefile:35: recipe for target 'cn5X.en.qm' failed make[1]: *** [cn5X.en.qm] Error 127 make[1]: Leaving directory '/home/pi/cn5X/i18n' Makefile:40: recipe for target 'lang' failed make: *** [lang] Error 2
or how can i install and run this app

have a nice day

Windows Installer - Updated Release

Hi Gauthier,
Somehow i managed to find a windows installer for cn5X and installed it on windows 7 64 bit OS.
At first it wouldn't connect with my Arduino Mega/controller, I read through the issues and read that there was a bug - CrLf had not been included when the code first connected with the mega and a fix was issued v0.3.i. I can only find the source code for v0.3.h (python based GUI ?). Is it possible to obtain a windows installer with the fix.
I have a workaround i'm currently using which is to hold down the boards reset switch whilst pressing connect on the GUI this is putting the reset and connection in sync when the reset is released and is successful every time. I currently use Grbl Panel which is unfortunately no longer supported and only 3 axis GUI and Candle cnc which is not as feature rich as Grbl panel also only 3 axis GUI. I like your application as it has a look of realism about is, its nice to use a GUI which looks and feels like using an industrial machine operating panel. Looking forward to your reply.
Jason

Jogging

Hi @fra589,

Is there a way to adjust the jogging speed in cn5x?
qwe
screenshot from Laserweb

Thanks,
Joshua

Furst connection error

both firmware and software are at the latest version the error message occurs only during the first connection. starting first the serial monitor of arduino ide then its software instead the whole connects and works without any error.

cn5x++ not work

Hi, @fra589
My win10 opened it, and it can connect to mega2560,shows:
Grbl 1.1f ['$' for help]
[MSG:'$H'|'$X' to unlock]
[VER:1.1f.20170802:]
[N_AXIS=5]
[OPT:VNM,35,255]
ok$$

2018-06-25 17:19:39 : Info : grblCom: Starting grblComSerial thread.
2018-06-25 17:19:39 : Info : grblComSerial running "grblComSerial" from thread #0xc64.
2018-06-25 17:19:39 : Info : grblComSerial: comPort COM3 open, RC = True
2018-06-25 17:19:40 : Info : cn5X ++: Grbl initialized.
2018-06-25 17:23:37 : Info : on_btnPausePooling(True)

And debug shows:
<<< <Alarm|MPos:0.000,0.000,0.000,0.000,0.000|Bf:35,255|FS:0,0|WCO:5.000,5.000,0.000,0.000,0.000>

?
<<< <Alarm|MPos:0.000,0.000,0.000,0.000,0.000|Bf:35,255|FS:0,0|Ov:100,100,100>
I can't send $x because the frame and send button is grey

What is wrong?

Setup.py Syntax error

Hi

when i try to run the setup.py script it errors out with a syntax error on this line and it is on the latest version from the github.

Syntax errors detected :

Line 62:
options = dict(build_exe = buildOptions),
^
SyntaxError: invalid syntax

PS i am a complete novice with coding atm

regards jesse

Help to run the program

Sorry for my ignorance, how do I test your software?
1- I will download PYQT5, I will try to place it where it belongs (a little silly man from this side)
2-Which command should I execute? In others I find it easy: batch file .....
I hope help, hugs, Mario

Arduino Pinout

Hello, thanks for sharing this project.

Is there an Arduino Pinout available? Like Probe Pin or Temp Sensor for Spindle Temperature for Fans on the water cooling radiator. Are you planning to make some features? Like: Glass Scale with an PID Controller with setpoint from Arduino actual value from Glass Scale and Rotary encoder. If you are planning to do something like this please contact me im an electronic guy. And how can I install the GCode Sender Software on Windows?
Best regards from Germany/ Darmstadt
Tobi

Enter on grbl configuration, close cn5x (Raspberry PI)

Hi, I recently (yesterday) installed cn5x on raspbian and was jogging with all axis and changing some things on configuration and every worked perfectly, but today i reinstalled raspbian and again installed cn5x but now everytime i connect the mega i have some messages of error:

2020-12-13 23:19:02 : Info : grblCom: Starting grblComSerial thread on ttyUSB0.
2020-12-13 23:19:02 : Info : grblComSerial running "grblComSerial" from thread #0x6a567460.
2020-12-13 23:19:03 : Info : grblComSerial: comPort ttyUSB0 open, RC = True
2020-12-13 23:19:04 : Info : cn5X ++: Grbl initialized.
2020-12-13 23:19:04 : Error : grblComSerial: decode error: <class 'UnicodeDecodeError'>
2020-12-13 23:19:04 : Error : grblComSerial: decode error: <class 'UnicodeDecodeError'>
2020-12-13 23:19:04 : Error : grblComSerial: decode error: <class 'UnicodeDecodeError'>
2020-12-13 23:19:04 : Error : grblComSerial: decode error: <class 'UnicodeDecodeError'>

and then it connect. But if i exit from alarm state, cn5x only shows 3 axis (but it has 5 axis, because yesterday i could use the 5 axis and also if i send $$ to console then it shows grbl configuration settings for 5 axis) also if press mergency button to change the grbl configuration directly from cn5x i get out from cn5x and the terminal shows those messages

pi@raspberrypi:~ $ python3 /home/pi/cn5x/cn5X.py
qt5ct: using qt5ct plugin
cn5X++ running from: /home/pi/cn5x

qt5ct: D-Bus global menu: no
qt5ct: custom style sheet is disabled
Before Here are outputs when launching cn5x
Traceback (most recent call last):
File "/home/pi/cn5x/grblConfig.py", line 325, in on_sig_config
self.__di.lblGrblDate.setText(decodeVer[2])
IndexError: list index out of range
Aborted

Error in linux install

Discussed in #34

Originally posted by FKLCo January 27, 2022
hallo sir
I install cn5X without problem, but when I try to run I receive the follwing error:

catalin@catalin-ThinkPad-X201:~$ '/home/catalin/Descărcări/cn5X-master/cn5X.py' 
qt5ct: using qt5ct plugin
cn5X++ v0.8.6 running from: /home/catalin/Descărcări/cn5X-master

                ####### #     #
  ####   #    # #        #   #     #       #
 #    #  ##   # #         # #      #       #
 #       # #  #  #####     #     #####   #####
 #       #  # #       #   # #      #       #
 #    #  #   ## #     #  #   #     #       #
  ####   #    #  #####  #     #

qt5ct: D-Bus global menu: no
Traceback (most recent call last):
  File "/home/catalin/Descărcări/cn5X-master/cn5X.py", line 2757, in <module>
    window = winMain()
  File "/home/catalin/Descărcări/cn5X-master/cn5X.py", line 170, in __init__
    self.setTranslator(langue)
  File "/home/catalin/Descărcări/cn5X-master/cn5X.py", line 2681, in setTranslator
    self.log(logSeverity.error.value, self.tr("Locale ({}) not usable, using default to english").format(locale.name()))
AttributeError: module 'locale' has no attribute 'name'

Linux Mint 20 Ulyana pe 64 de biți
Linux 5.4.0-96-generic x86_64
Default computer language - Romanian
Thanks for any advice.

Language Support

Hi @fra589,

This program looks really awesome! But I can't read French. Is it possible to switch to English interface?

Thanks,
Joshua

Does not work for me under Windows 10

Hi. I see recent updates to files in the github repository, so I presume you are still working on it. I'd like to share my experience. I am running under Windows 10 and Python 3.9. I was getting errors from python about a missing method to the serial module called "to_bytes", but I was able to overcome that. I was then able to run cn5X and connect to a Mega 2560 running the latest version of Grbl-Mega-5X. However, although connected, everything is greyed out and unusable. By everything, I mean jogging, probing, and even entering gcode commands manually. I am using a copy of grbl-mega-5x that I compiled with hard limits disabled and homing not required, so when connected to cn5x it starts up in an "idle" state--but everything is still greyed out. If you need more info please let me know. Thanks.

Ramps 1.6

Hi Gauthier
Can you confirm that mega 5x works with the ramps 1.6 board please

Pouvez-vous confirmer que mega 5x fonctionne avec la carte des rampes 1.6 s'il vous plaît

Regards Lesli

About language translation

Hello, recently, I have encountered problems in language translation.
I copied a cn5X.en.ts file, and renamed it, and translated the characters using Linguist, and finally published the QM file using Linguist,which was saved in the same directory as the TS file.
The corresponding language selection is already shown on the software menu, but when I click the button, the command window appears "Locale () not usable, using default to english"
If I want to make a local language,What should I do next?

Linear vs Rotary

Hey Gauthier, how are you? Happy new year!

This is really not a issue but rather a quick question. As you must know, I've been using Grbl Mega 5X to operate a 4 axis hotwire cutter, which has 4 linear axis.

Can I use cn5X++ to operate all axis as linear or are axis A, B and C configured to be rotary only (as the picture/logo on main page suggests)?

The printscreen of the program on the Wiki shows the jogging buttons for A and B axis also suggesting they are rotary... are they hardcoded to move in degrees/radians only or would they work for linear motion too?

Thanks!!!

Crashes when accessing grbl settings

Found by accident that the grbl settings button was finally not grayed out if estop is pressed. Pressed, paused, closed. Finally able to catch python output in a video and screenshot. Pic attached.

Is there a graphical process progress view that I'm missing? Or just xyz numbers changing as motors move?

Thank you,
Screenshot_20220216-011929_Photos

Darren.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.