Forum Replies Created
-
AuthorPosts
-
mristauMember
CoolTerm, FW is 440.18
mristauMemberHave upgraded firmware but still unable to run a series of jobs without re-setting board, re-homing and re-G92ing. If I run a Vectric cut2d file twice, on second run z axis moves up until trips limit switch.
G90
G17
G20
G64
G0Z0.5010
G0X0.0000Y0.0000
M3 S18000
G0X5.1247Y3.1676Z0.5000
G1Z-0.0625F10.0
G1X5.1399Y3.1467F20.0
X5.1512Y3.1394
————-
Etc.
————-
G2X4.9541Y1.6791I0.2011J0.1703
G2X4.9218Y1.7697I0.4751J0.2203
G1X4.9123Y1.8096
X4.8714Y1.9615
G3X4.7647Y2.2173I-1.5145J-0.4813
G3X4.4715Y2.5860I-1.1083J-0.5804
G0Z0.5000
G0Z0.5010
G0X0.0000Y0.0000
M30mristauMemberThanks again.
(After running the job one, enter a G1 X0Y0Z0, does machine move back to your zero point?)
It returns to G28… Not the zero point set via G92.
mristauMemberSet all of the suggested PWM values, verified that fuse is good, rewired and verified cable from TinyG PWM pin and gnd to PWM. Repositioned PWM board jumper for internal control and rotated on-board POT up down and in between.
No go. Never bright LED on PWM. TinyG LED indicator for PWM signal bright with M3 command. I think PWM is defunct. Is there not a PWM compatible with TinyG that does not require the voltage mod?mristauMemberOops, I c now. The internal pot is soldered on board…
mristauMemberThanks! I’ll work with the notes in your link today.
Yes, my motor test was a direct connect to 48v. My PWM board does not have a variable speed control or a socket to plug into. Helpful to know if the board LED should light when only 48v is connected.
mristauMemberJust received from vendor the PDF for this Amazon spindle:
LD52GF-400W Engraving Milling 400W CNC Spindle Motor Kits PWM Speed Controller with Mount Bracket for Engraving Milling
PDF posted here:
https://www.dropbox.com/s/5o21eexh11wklu8/400w%20spindle%20motor%20controller%20131119.pdf?dl=0Motor works. Can’t get the PWM to work.
mristauMemberAlso now getting prep_null with G0 commands:
posx:510.703,posy:510.703
posx:523.766,posy:523.766
posx:536.830,posy:536.830
posx:549.589,posy:549.589,vel:2262.74
prep_null encountered <<<<<<<<<<<<
posx:550.000,posy:550.000,vel:0.00,stat:3(The error persists after a board reset + a $defa=1)
- This reply was modified 9 years, 9 months ago by mristau.
mristauMemberSo I’ll answer my own question in case it’s helpfull to some other CNC nube.
With the settings below I have (for my machine) both G28.2 and G38.2 commands working as they should. 🙂“G28.2z0” homes to my upper/max switch.
Making no software setting changes, “g38.2 z-100 f1000” moves down to my alligator clip and touch plate (a Normally Open switch/sensor) that is connected to the TinyG Zmin and ground terminals.settings for my machine:
(motor 4/Z, direct drive 1.8 degree, nema23, 2.8amp, 269 oz.in.)
$4ma=2 (map to axis, 0=X,1=Y,2=Z)
$4tr=2.540 (mm travel per revolution, 2.540)
(1/2 dia., 10 tpi ACME right-hand lead screw)
$4mi=4 (microsteps, 1,2,4,8)
$4po=1 (polarity, 0=normal,1=reverse)
$4pm=3 (power management)(Z axis)
$ztm=95 (travel maximum)
$ztn=.000 (travel minimum)
$zvm=500.000 (velocity maximum, mm/min)
$zfr=500.000 (feedrate maximum, mm/min)
$zsv=200 (search velocity, mm/min)
$zlv=100 (latch velocity, mm/min)
$zlb=20 (latch backoff, mm)
$zzb=5 (zero backoff, mm)mristauMemberFor this process to work, switch settings are changed to NO. Makes sense as does connecting a sensor/switch to Zmin terminal of TinyG.
However, are other settings for z axis changed as well?
…like:
$ztn=-95.000 (travel minimum)
$ztm=0.000 (travel maximum)
$zsn=0 (z switch min, 0=off,1=homing,2=limit,3=limit+homing)
$zsx=1 (z switch max, 0=off,1=homing,2=limit,3=limit+homing)(I’m just using CoolTerm to send commands and text files to TinyG.)
mristauMemberThanks again. Even clearer now.
mristauMemberThanks. Got it:
Direct drive Z axis Stepper motor setup (with motor 4 as Z axis)
1.8 degree per step motor = 200 full steps per 360 degrees
set to 1/4 microsteps ($4mi=4) 800 microsteps per 360 degrees
if using a 10 teeth per inch ACME lead screw, 8000 microsteps = 1 inch of travel
$4tr=? (travel per rev in mm)
convert to mm:
1 millimeter is .0393701 of an inch
or
1 inch = 25.4 millimeters
314.960 micro steps = 1mm of travel800 microsteps / 314.960 microsteps = 2.540 mm of travel per revolution
$4tr=2.540mristauMemberAfter some troubleshooting I found that the motor was defective.
Motor replaced and Z axis is working.mristauMemberAs suggested above, I’ve reset to default values and revised with my custom settings. Result: No more homing error. (Still with firmware 435.10)
mristauMemberThanks for the help.
The command that caused the error was: G28.2 X0 Y0
Tried to use TGfx to update firmware to 438.02 but still shows 435.10?
I’m using Coolterm Windows version.
-
AuthorPosts