GRBL-Plotter
GRBL-Plotter copied to clipboard
DIY Pen Plotter with Automatic Tool Changer | CNC Drawing Machine
May I ask how to set the tool table above the Y-axis? After setting, the pen position in the tool table is negative, and all the tool tables in the pictures are in the negative direction of the Y-axis
Tool table positions must be set in machine coordinates - homig of the plotter is needed (or manual "homig" via hard reset on lower left position):
The above image is set by me, and the following image is set by me referring to another producer
Just change the 277 to 0
https://github.com/svenhb/GRBL-Plotter/assets/94118847/46c40b4b-b3ee-48c3-ac87-54c015b7c436
Hello, this is a demonstration set to 0
You are right, there is a bug and the offset is not shown, but processed during streaming. Will fix it soon.
You may try this version: https://github.com/svenhb/GRBL-Plotter/blob/master/GRBL-Plotter_Setup_1_7_0_2_i.exe
https://github.com/svenhb/GRBL-Plotter/assets/94118847/1228b2b6-13a1-491b-bb9c-f4277c031af0
Hello, there is another issue now, which is that it can return to its normal position when returning to zero. When starting to work, the Z motor will rotate in the opposite direction, and then it can surprise the next step normally
I don't exactly understand this issue. I assume the problem is the servo-position, when PWM is off.
Compare behavior of PWM on/off here:
Compare behavior of PWM low/high here:
Now I could watch your video on a PC - it's not a servo... I thing you need to "Zero Z" your Z axis before starting streaming.
Hello, I have reset all X, Y, and Z here to zero, but when starting work, they still rotate in the opposite direction. I think it may be due to incorrect settings elsewhere, and it should not be rotated without selecting a pen
It is normal that the Z axis move to a save position on start.
Example code after importing a simple line:
Line 14 G00 Z2.00 move Z upwards to save position Line 17 move to start position Line 18 G01 Z-1 move Z down, to start drawing Line 19 draw the line Line 20 G00 Z2.00 mive Z upwards
Did I make the right changes here
I don't know your hardware, I didn't saw a servo for a gripper... Do your gripper opens with M3 S100?
Did you check my site? https://grbl-plotter.de/index.php?id=auto-pen-change&setlang=en
Hello, I have looked at your website and it is slightly different from the position where I lifted and clamped the pen
Looks like the Z-stepper should turn for a half turn maximum to move from lowest Z to highest Z. Did you setup $102 correctly?
Should I set $102 correctly to $40? https://www.youtube.com/watch?v=ZxeStwRespc&list=RDCMUCJHZY4Tl6ovsnBrNocdDbAg&start_radio=1&rv=ZxeStwRespc&t=65 https://www.youtube.com/watch?v=The following link is mine_4S9PE
Last video is not visible. I don't know your driver settings for micro-steps. Usually a stepper-motor needs 200 steps for a full turn, If I interpret your design correctly, you have a half turn for about 20mm Z-change. With full-step-mode you may set $102 = 5 (100 steps/half-turn divided by 20 mm) If you have half-step mode: $102 = 10
If your Z axis is spring loaded to keep it up, you may have a problem with step loss at the Z motor.
https://www.youtube.com/watch?v=ZJZuB_4S9PE Hello, setting $102=10 and $102=5 will prompt an error, while setting $102=40 will not cause an error
I have set these three places in the firmware
Do you think it's correct
I don't understand how your z-axis works, in your video time 0.04, the stepper is moving, but the z-wagon is not moving.... Also I don't see an end-switch for z. So you can't use homing for z. You need to set: #define HOMING_CYCLE 0 ((1<<X_AXIS) | (1<<Y_AXIS)) if you have end-switches there
https://www.youtube.com/watch?v=NDZsdDLbDDo Normally, it should start working after resetting to zero, and then X Y starts moving to the pen selection position and Z starts lifting. The problem now is that when the start button is clicked, the Z stepper motor has already started working, and then the Z limit is set off
https://www.youtube.com/watch?v=ZxeStwRespc&list=RDCMUCJHZY4Tl6ovsnBrNocdDbAg&start_radio=1&rv=ZxeStwRespc&t=65 The author's point is that the Z-lift motor does not work when starting work after resetting to zero
The main problem is, that pen selection positions are machine coordinate, which needs homing.
Also the linked video shows a working z-homing - you need to change your mechanics...
Thank you for your great help. When you pointed out the location, I also raised the Z limit position to zero. Now, just as I was preparing to start the work, the Z stepper motor continued to raise and then raised again, triggering a limit fault
https://www.youtube.com/watch?v=QQNdMw_KsNo After all X Y Z are reset, the execution starts at 0:53, and the Z stepper motor continues to rise
After Z-homing, Z stays at top position which you may want to have at +2mm in work coordinates.
After Z homing move 2mm down and press "Zero Z".
Also important the choosen travel way for import - small enough for your hardware?:
Hello, where is the white area set and where can I reach the coordinates
https://www.youtube.com/watch?v=qdFgPm4bOkc This is my complete operation steps, but there are still problems and I don't have a clue now
Looks good so far.
- set your travel ranges via $130, 131, 132. https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#130-131-132--xyz-max-travel-mm
This will influence your homing machine coordinates:
After this you go to setup and take over the ranges:
Here you need a value, close to your homing Y-value = ca. 350: