Upgraded from RS-CNC to RS-CNC32 with some problems

Répondre
cncNovize
Messages : 14
Enregistré le : 04 nov. 2018 11:15
Localisation : Germany

Upgraded from RS-CNC to RS-CNC32 with some problems

Message par cncNovize »

Hi together,

first of all I want to thank you again Romain - the 32bit version seems to be even more interesting than the old version.

I upgraded my RS-CNC to the 32bit version using the easy Firmware.
So far so good.

But I have some movement problems I can't fix on my own.

1. X and Y axes are moving but really slow. When I move 10mm it moves maybe 1mm or so.
2. Z axes doesn't move at all. No up and no down. I hear that the TB6600 does something but there is no movement I can see.

My TB6600 are set ON-OFF-OFF-OFF-OFF-ON as they were all the time (also when using the old RS-CNC version).
It worked with the old RS-CNC version and in the upgrading manual there is a hint that you have to take 1/4 ... would be my configuration on 2.8A motors.

A third problem but maybe not so important:
3. Sometimes when I power on the CNC it doesn't recognize the WLAN module... but most time it does until now.

What can I do?
Thanks to any helpers.


Greetings from Germany.

cncNovize
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par mstrens »

Are you sure you connected the TB600 in the correct way for the STM32 shield.
The positive input pins on the TB6600 have to be connectecd to the 5 Volt VCC and the negative input pins to the dir/step/enable pins of the shield.

If this is correct, can you check the set up of GRBL parameters (you can get them sending the command "$$" to GRBL).
More info about configuration of GRBL is available on github.
https://github.com/gnea/grbl/wiki/Grbl- ... figuration
cncNovize
Messages : 14
Enregistré le : 04 nov. 2018 11:15
Localisation : Germany

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par cncNovize »

Yes I am sure that I wired the TB6600 correctly.
Well yesterday I made a day pause and today I tried again.
Problem 1 was solved over night :?: :!:

Problem 2 was a problem with my µC.
Since my soldering tin went out and I have to use a new one for my solderings and the µC was the first piece I soldered with it - worse.
I got another and this worked better (not so good as my old one but OK).
So Problem 2 is solved as well.

I wonder whats wrong with problem 3.
Why sometimes it wont find my WLAN module?

One question in addition:
How can I turn on the spindle by touch? Didn't find anything and wanted to test it before milling.
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par mstrens »

cncNovize a écrit : 19 sept. 2019 10:01 I wonder whats wrong with problem 3.
Why sometimes it wont find my WLAN module?
I do not know. Perhaps is the wifi signal quite weak?
cncNovize a écrit : 19 sept. 2019 10:01 One question in addition:
How can I turn on the spindle by touch? Didn't find anything and wanted to test it before milling.
You can create your own commands; one command to switch on, one command to switch off (if you are not using PWM).
In one command, just set "M3" to start, and in another one "M5" to stop.
cncNovize
Messages : 14
Enregistré le : 04 nov. 2018 11:15
Localisation : Germany

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par cncNovize »

mstrens a écrit : 19 sept. 2019 12:32
cncNovize a écrit : 19 sept. 2019 10:01 I wonder whats wrong with problem 3.
Why sometimes it wont find my WLAN module?
I do not know. Perhaps is the wifi signal quite weak?
Don't think so. The Repeater is 5m away.
But it is not really a problem... power off and power on and in 90% the WLAN is OK.
cncNovize a écrit : 19 sept. 2019 10:01 One question in addition:
How can I turn on the spindle by touch? Didn't find anything and wanted to test it before milling.
You can create your own commands; one command to switch on, one command to switch off (if you are not using PWM).
In one command, just set "M3" to start, and in another one "M5" to stop.
Ah OK... I looked at the TFT Firmware but I dont find the part where to add a button for these commands.
How can I modify my FW like that?
mstrens
Messages : 2611
Enregistré le : 27 févr. 2018 12:58

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par mstrens »

In order to add Cmd buttons, you do not have to modify the firmware.
It already allows you to add 11 buttons (previously 7).
It is explained in the Readme section of this page
https://github.com/mstrens/grbl_controller_esp32

Here an extract of this page:

Cmd screen
It allows you to execute some set of predefined Gcode commands. It is a kind of macros that you can define yourself (e.g. for probing, changing coordinates system, ...)

you can define up to 7 commands (the name and the Gcode commands)
to define/update a Cmd button, you have to fill in a file on your pc with one set of Gcode commands and save it under a name like Cmd5_name.xxx where
Cmd and _ are fixed
5 is replaced by the digit of the Cmd (must be between 1 and 7)
name is replaced by the name given to the button (must be less than 16 char and begin with a letter a...z or A...Z)
xxx is the file extension and is discarded
this file has to be copied/uploaded on the SD card
you have to select this file with the Print from SD Card option. The file (due to the structure of the name) will not be printed but the Cmd button will be created and the Gcode commands will be saved in the ESP32.
So, later on, you can use the Cmd buttons even if the SD card is not present. Notes:
A button being added will be displayed only after the next reset of ESP32.
"Printing" a file having the same Cmd digit as an existing Cmd button will replace as well the name as the Gcode of the button
to delete a Cmd button, "Print" a file having a name equal to "delete" So, e.g. "Cmd2_delete.xxx" will delete the second button.
cncNovize
Messages : 14
Enregistré le : 04 nov. 2018 11:15
Localisation : Germany

Re: Upgraded from RS-CNC to RS-CNC32 with some problems

Message par cncNovize »

Thank you for this quick and very good help.
It just worked the first time I tried.

And I am glad that I can tell you that my RS CNC32 is working good.

Now I will have a look how to make a Z-Probe (have one installed and want to use it for sure ;-) ).
I didn't find something in the TFT for this as well.
Maybe I can do a macro for this too.

Somewhere I read that Estlcam can do this as well.



Greetings

cncNovize
Répondre