Forum Replies Created
-
AuthorPosts
-
cmcgrath5035
ModeratorHow did you make the VM and FR parameters changes?
From within CP, that translates to using the Serial Port Console and entering parameters one at a time, using the configuretinyG widget GUI to make changes, or perhaps using the Archive/Restore widget.Bottom line, avoid using the configuretinyG widget, it has caused issues for some folks. I recommend Serial Port Console, sent one at a time.
It appears you have (or think you have) resolved your issue.
Can you describe briefly how you implement changes via Matlab?
Others have asked in the past similar question.cmcgrath5035
ModeratorThis comment applies to both your jogging posts –
There is no Native command for jogging in the tinyG FW.
All the interfaces I have experienced (a subset of what is out there) implement a two step process. First, you select a jogging granulatity, what distance you want a jog request to move, then Second an interface that selects which of the six movements to make jog, X+, X-, Y+,Y-, Z+, Z-.
Jogs are sent as G0 or G1 Gcode commands.
I have not see A,B,C rotational axis jog interfaces, but certainly the same strategy could be used.Since you have a joystick, you could also implement more complex jogs(G1 XxxYyy) by translating your proportional joystick direction into proportionally scaled XYZ movement parameters.
But in the end, it all boils down to scaling the input(joystick, keyboard key, jog button) by you selected granularity (precision) then sending G0 or G1 commands.
Hope that helps.
cmcgrath5035
ModeratorI am not ignoring you; I have asked one of the devs to comment here, as they may have some ideas.
cmcgrath5035
ModeratorCongrats
cmcgrath5035
ModeratorMy Czech not very good(non-existant, actually 🙂 ).
Aware of any references in English available?
Google Translate not much help.It would seem likely you will need I/O that tinyG does not have on-board.
Some folks are using RasPi 2 in conjunction with tinyG.What do you plan to use to support CAM and GUI?
There is some integration of control via RasPi in Chilipeppr.cmcgrath5035
ModeratorI have never seen anyone try LinuxCNC with tinyG.
LinuxCNC’s legacy was parallel port I/O and, if I recall correctly a couple years back, LinuxCNC performed much of the motion planning that tinyG does.
Perhaps the model there has changed.Did you ask over at LinuxCNC?
Many folks here use CoolTerm for basics and either Chilipeppr or home-brew for Gcode Management.
-
This reply was modified 10 years, 2 months ago by
cmcgrath5035.
cmcgrath5035
ModeratorReview the document URL above.
$p1p0f sets the off (0) state duty cycle of the PWM stream.
Valid range is 0 to 100% duty cycle, 0.0-1.0.
The pwm led you mention being lit is connected across the PWM pin to ground.
Look closely, there is an intensity difference between $p1pof=0.1 (the default value) and $p1p0f=1.0
PWM is a pulse stream, at frequency $p1frq (Hz) with Duty cycle determined by GCode S variable.There are two available output pins, if you don’t uses tinyG to control a spindle.
Coolant pin is always available, follows the Gcode (M7 or M8) and M9 commands
Spin is on/off, following M3 and M5 commands
All tinyG I/O is 3.3v logic
cmcgrath5035
ModeratorSet $p1pof=0.0
Discussed here:One or two bits, intended for other uses (coolant, spindle on/off).
How much you need?cmcgrath5035
ModeratorSounds feasible and very reasonable approach for someone able to glue it all together with the right code.
Good luck with your project.cmcgrath5035
ModeratorBob
JohnL IS Mr. Chilipeppr 🙂I would characterize the current situation as follows:
In Chilipeppr architecture, there is the CP Browser Ap and the SPJS appliance Ap. The SPJS is typically close (a USB cable’s distance) to tinyG, the Web Ap can be anywhere. As unique needs for I/O arise that are not easily handled by tinyG, the SPJS hardware steps in. The Pi2 (and probably similar) appliance is a great fit. The SPJS Ap is evolving to provide greater control flexibility via the Pi2 with appropriate command links from the CP Web ap.Is a great place to watch the applications develop and evolve.
cmcgrath5035
Moderatorjust for grins i drove an unconnected stepper thru a resistor and diode and it makes quite a generator.. upwards of 60v! no more backdriving
Other low cost ways to generate power:
Used Razor scooter motors and used (cannibalized) motors from treadmills.I use a scooter motor and low cost PWN controller as an uber-powerful DC controlled sewing machine motor
-
This reply was modified 10 years, 2 months ago by
cmcgrath5035.
cmcgrath5035
ModeratorYou are having way too much fun.
Since you are a Python sort of guy, read this:cmcgrath5035
ModeratorThe TinyG has 4 motor ports but is capable of doing 6 axis. To get the other two ports can I use another TinyG or gShield and connect them together (master/slave configuration)?
In theory you can have master/slave tinyG’s (not GShield here).
I have not seen anyone talk about it, which begs the question of how well it might work.You might want to peruse tinyG2,
With a Due you can fully decode 6 axis motion, but you would have to come up with custom motor drivers.
I am not at all sure how you would implement two Z xais setups mechanically, a ‘simple solution’ would be to have different config files, one that assigned motor 4 to Z1 and Motor 5 to Z2.
Challenges that remain are only one set of spindle control ports (PWM ports) and finding something to generate Gcode for it.cmcgrath5035
ModeratorThere are a LOT of numbers to keep track of.
When you are satisfied with a setup, make a copy of the $$ dump and keep around for future comparison. -
This reply was modified 10 years, 2 months ago by
-
AuthorPosts