Forum Replies Created
-
AuthorPosts
-
cmcgrath5035Moderator
The more recent tgFXs report an out of range if your motion exceeds the set travel limits on X,Y and Z.
Also, with 429.xx, there are several new parameters that need config. The defaults may not be correct for your machine. Have you checked closely a $$ dump?Not being able to set $st=1 is clearly an issue. Are you trying that from cli or from settings button on tgFX?
And, what newer version of tgFX are you running(and on what OS?)
June 19, 2014 at 7:11 am in reply to: Configure both Normally Closed (NC) and Normally Open (NO) switches #6194cmcgrath5035ModeratorYours is the first question I have seen on this topic, I’d guess “no” with the current FW, since there is just a single NO/NC setting parameter ($st)in the config file.
cmcgrath5035ModeratorOK, now that you can connect, what version of FW is loaded on your new tinyG?
You may not need to immediately load new FW.How do you plan to load and run Gcode (Coolterm, tgFX, other)?
cmcgrath5035ModeratorWell, unfortunately, it is hard to tell what you are doing.
First, tinyG is a V8, loaded with build 412.XY ?
Also note that build 429.01 is now available and is a more up-to-date EDGE version.
You are running your gcode with tgFX? What version (build) ?From your description, it worked runs 1 and 2.
Do you reload material between runs, or just rest a zero point on one piece of material?Significant power dips could be an issue, as could excessive noise from spindle(or vacuum) on the power lines.
If you are pushing your gantry around by hand, to load new material or etc., the motors could be inducing noise back into tinyG.
When I run jobs, I set my zero point, with cli commands or jogging, then reset tinyG (reset button) before starting the Gcode run.
- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorInteresting. Are you sure that the frame of the power supply is actually connected to anything? I think normally it would be the third wire of the AC inlet, which your don’t have.
I have the shields connected to DC- at tinyG, but there is no guarantee that is the best solution.
Conducted (powerline) emissions can be real tough to diagnose, even in a three wire world., Power supplies, to meet FCC rules, should have reasonable outgoing (conducted back on the input mains) emissions, but those mitigation techniques may be compromised in your two wire environment.
Most all power supplies are now electronic AC to DC converters. Might be interesting to try an old linear (transformer) supply,if you have one or could borrow. Know anyone into Ham radio? Those folks frequently have power filters in their experimental bag of tricks.
- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorI ground all shields at the tinyG end – do NOT ground both ends of the shield; the shield becomes a long antenna (a.k.a. ground loop).
Do you have the microswich (home,max switches) disabled?
I run a v7 tinyG, shielded cables to steppers but no other exotic shielding.
What sort of spindle are you using?
The Gcode seems to run OK with spindle off, correct?cmcgrath5035ModeratorWell, if you are sure the drivers are there, and have tried a couple different USB cables, then I would sort of agree it sounds like a tinyG USB issue.
Even without the correct drivers, I would expect an “Unknown device” sort of message in Device Manager.
cmcgrath5035ModeratorThe power LED, Motor LEDS (brief slight motor humming in startup only) all shine. The TX/RX never do. Also the board will not power up via USB port.
When connecting to 24vDC the spindle light flashes approx 12 times. Then green motor lights shine for about 2 seconds and the motors hum. Then the power light stays on steady.
All the above looks correct. You can’t power tinyG from USB.
The 12 x flashes of the spindle are the bootloader. When done booting, TinyG starts with all 4 motors held in current position (the hum you hear) for a settable period of time(depends on Motor Power parameters)
If you purchased about 6 weeks ago, you likely received a V8 unit.
Please verify. Might possibly be a V7; silkscreen on the pwb.To debug your connection issues, we need to know what OS (Win, MacOS, Linux) you are using.
Did you read the section on the Wiki about needing FTDI drivers (FTDI is the supplier of the USB device used on TinyG)? Read thru this if not:
- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorDifficult to say where to go next.
EMI/interference is of course possible and shielding might help.Try running the job in air, spindle on several times.
Always stop in the same place?
Then probably not EMI.You could try to slow down the velocities.
The most recent FWs have transitioned to RTS/CTS flow control, which may not be available with your Ver 0.93 FWcmcgrath5035ModeratorCaptbill
I can’t help with your question, but am curious about your definition of “raw curve”.
Would it be correct (or close) to interpret “raw curve” to mean that the Gcode stream will be only G1 commands, generally short x,y moves(or perhaps x,y,z moves for 2.5D or 3D objects), and no G2 or G3 arcs (that need to be processed by tinyG?
Just curious, I have not see that term beforecmcgrath5035ModeratorSo do I need to do anything with these?
[ic] ignore_CR (on RX) 0 [0,1]
[il] ignore_LF (on RX) 0 [0,1]
[ec] enable_CR (on TX) 0 [0,1]
[ee] enable_echo 0 [0,1]I don’t really understand what these are doing exactly and how they will affect either the gcode I write or the commands I’ll send to the TinyG.
I don’t think so; I believe they are there to tweak legacy issues interfacing with terminal emulator programs.
Perhaps someone else will comment.Keep on chugging!
cmcgrath5035ModeratorOK, you moved while I was typing.
What do you mean by “on the same stepper”?
Are you connecting Y1 and Y2 to the same driver device on tinyG?I am not sure why you would want to do that, unless, for example, you needed the fourth driver to run an extruder on 3D printer (or similar)
Do you know the current ratings on your NEMA 23’s? They vairy.
A tinyG driver device is limited to 2.5A, I believe. If driving dual, 2.5/2 might not be enough.My comments from tgFX post still apply
cmcgrath5035ModeratorOn openSUSE (I run 13.1/KDE), plink is installed by the putty RPM.
That probably varies by distro.
Check your installed programs.To add to mvgyvr’s comments,
if you enter $ex and [CR] tinyG will report the current setting for $ex.To set to something else, enter $ex=(setting you want) [CR]
It is a good idea to keep a list of all the parameters around.
In Coolterm (or putty), $$ [CR] then copy and paste the console output to a text file. Try to make a current copy when you change things.cmcgrath5035ModeratorHmmm, I am not 100% familiar with V6 hardware, but some observations and ideas that might help.
Your CoolTerm issues might be caused by a flow control mis-match?
Check the flow control state in tinyG, parameter $ex.
Set same in CoolTerm. The most recent tinyG FW builds use RTS/CTS. I have no idea what your FW might specify.tgFX might not be of much use to you until you get your FW updated.
The most functional versions of tgFX require FW 412.1 or higher.
I believe you are correct – that tgFX uses the bootloader to do its upgrades so that will not work for you.
And, the tgFX-tinyG interface only works when tinyG is 412.1 or higher.I have had good luck updating FW using AVRDUDE on Linux.
I never bothered to get Coolterm working on Linux
In this thread I describe using putty and plink for gcode sending
See if any of this helps.
- This reply was modified 10 years, 7 months ago by cmcgrath5035.
cmcgrath5035ModeratorColin
I reread the thread somewhat quickly, did not find what motors you are driving. TinyG has 4 drivers to interface 4 motors, while gshield has just three drivers. The driver devices can source (switch, actually) up to 2.5A, good for NEMA 17 motors and OK for NEMA 23s.It is possible to drive two motors from one driver, to support a dual-Y Shapeoko configuration, but most folks seem to be using tinyG to individually drive four motors (X, Y, Y(reverse) and Z)
TinyG is covered extensively in the wiki here:
Including using the Atmel programmer
I have read thru this, but have no hands on experience. Best you compare what you might have access to versus the documentation.
The ShapeOko folks are in suburban Washington, DC. Depending on how long you are in NYC, you may be able to get you tinyG reprogrammed via mail.
-
AuthorPosts