Hi Michael
That's unfortunate. I've tried to use the patch that was pasted
into that post, but it does not work. Well frankly I don't know
much about patches, just tried with the Tortoise git patch menu.
I've asked in the forum:
https://www.liteplacer.com/phpBB/viewtopic.php?p=10149#p10149
I don't know if TinyG has a different way to read the ADC. There
seems to be no documentation.
https://github.com/synthetos/TinyG/wiki/Gcode-Support
@Tony?
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/3bc60f94-ae01-4090-8564-e750bfb46025n%40googlegroups.com.
Hi Michael and Johannes
I brought the ADC back! You should now be able to use the newest
OpenPnP features too ;-)
NOTE: I decided TinyG should really use to the quasi-standard
M105 command like all the other controllers and not the
proprietary json. I plan to add vacuum actuator G-code
configurations to be proposed by Issues & Solutions in the
future, so I prefer a common base.
For now, you need to reconfigure the ACTUATOR_READ_COMMAND and ACTUATOR_READ_REGEX as documented here:
https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/
Could you please test it (including the
G-code config)? Thanks!
Don't forget to backup first.
Or if you have the
newest OpenPnP testing version (recommended) check if the
new automatic backups really work:
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/faa8ed7b-9db5-462b-870a-8013e6038f9dn%40googlegroups.com.
Hi, Mark. The link https://makr.zone/TinyG.7z seems to be empty. And could you expand a little on how to reprogram the TinyG? As I understand it this step is necessary to use the newest Openpnp2 ?
Best, Jim
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/73334fc6-433d-f899-9fd2-c7ca01fe232f%40makr.zone.
> The link https://makr.zone/TinyG.7z seems to be empty.
Sorry about that, fixed.
> And could you
expand a little on how to reprogram the TinyG?
I have added more instructions in the post, under "Flashing the TinyG":
https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/
> As I understand it this step is necessary to use the newest Openpnp2 ?
Theoretically it should work with
the old firmware, but I just got an error report...
So yes, it is highly recommended
to upgrade the new firmware. You will miss out on many features,
otherwise.
One example:
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/05d101d6f352%24902f38d0%24b08daa70%24%40gmail.com.
Thanks, Mark. Two last questions: Is the new firmware backward compatible with older versions of OpenPnP? Also is there any to revert the firmware back to original (if there are problems)?
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/56903315-6dd7-d0b3-04e6-5a8fda0c1ea2%40makr.zone.
> Is the new
firmware backward compatible with older versions of OpenPnP?
Yes.
> Also is there any to revert the firmware back to original (if there are problems)?
Yes.
https://github.com/synthetos/TinyG/wiki/TinyG-TG-Updater-App
Or
even more options here:
https://github.com/synthetos/TinyG/wiki/TinyG-Updating-Firmware
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/05df01d6f35b%24ee9a2020%24cbce6060%24%40gmail.com.
> Any code/features currently in the testing version, that probably won't make it into "main"?
Certainly none planned ;-)
> Asking since I had get my HeapFeeder into testing to test it on my machine, and I guess that will be a bit of work (about 8 Month development to catch up).
If you used git to track it, I see no problem to merge the new
test branch back into your branch.
There were few feeder related changes. I remember only two:
Are you planning to make a PR?
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/b967e0d9-6015-4b91-968f-b6d5a759bdben%40googlegroups.com.
Thanks Clemens,
AQEX also listed how to install avrdude if it is missing:
https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/#comment-172
> It is propably a wise idea to reset TinyG to factory
defaults after a firmware change with $defa=1. Backup your
settings before!
I recommend against $defa=1! You risk losing settings you may not remember having made. At least be sure to have made a backup of the settings using $$ and you know how to restore them.
Factory defaults should only be needed if your version is very,
very old. TinyG has a stable persistence system to make sure the
EEPROM is upwards compatible.
My firmware does not change the EEPROM structure or contents at
all (up from original master firmware version 0.97, build 440.20).
This means you can also go back to the original firmware, without
any problems.
_Mark
> Asking since I had get my HeapFeeder into testing to test it on my machine, and I guess that will be a bit of work (about 8 Month development to catch up).If you used git to track it, I see no problem to merge the new test branch back into your branch.
There were few feeder related changes. I remember only two:
Are you planning to make a PR?
Re https://github.com/openpnp/openpnp/pull/998
You'll find the new DirectionalCompensation useful.
https://github.com/openpnp/openpnp/wiki/Backlash-Compensation
No more need to choose SpeedOverPrecision (only the old backlash comp
methods are suppressed by it).
The constant has moved:
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/671abc30-9cce-4a8a-b5e9-ea828886c563n%40googlegroups.com.
You could extend this, if you want, for Arch Linux: $ pacman -S avrdude
Best add a comment yourself, please. So it is properly credited ;-)
https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/_Mark
It would be good to put that information of a persistant EEPROM system into: https://makr.zone/tinyg-new-g-code-commands-for-openpnp-use/577/
Yes, good idea. Done.
Because: "CAUTION: although this has been created with great care, flashing your TinyG and then using the machine is entirely at your own risk."
Yes, the disclaimer... :-/
Frankly, I have no idea how dangerous it is. I just assumed that
if hobbyists all over the world use the same tools under the hood
of the Arduino IDE, it can't be that easy to brick. But
maybe I'm mistaken?
_Mark
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/cfca9dd5-8bc2-4eb1-49f1-4d3c87f7bf37%40makr.zone.
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/72c2c36d-545c-25a0-4acc-81e508b3bcf9%40makr.zone.
Hi Jim
I guess I must concede that in TinyG (unlike in the other
controllers) the migration "as is" has a bug. See this issue, and
the two options you have.
https://groups.google.com/g/openpnp/c/jhs-i3FMEj4/m/7TFXSBWVDQAJ
If you're willing to help me test this, I can try and fix the bug in an "as is" migration. Ideally you could send me the old machine.xml before the migration.
Otherwise I recommend the Issue & Solutions approach. This is
the future anyway.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CABRkqyAEhvxF5oHCmtWVLN%2BWS1n-sqFEFbwqomiMg8p2UFRbvw%40mail.gmail.com.
I assume this is after Issues & Solutions?
https://github.com/openpnp/openpnp/wiki/Issues-and-Solutions
Please send the machine.xml
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/10569295-bb51-4b33-85cc-fd17dde8dce4n%40googlegroups.com.
Hi Clemens
Please send the machine.xml
_Mark
Have you enabled RTS/CTS Flow Control?
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#settings
Then you absolutely need $ex=2 in the CONNECT_COMMAND.
Clemens has reported it unreliable. If that's true (and not
another reason I actually suspect) then you TinyG users need to
enable Confirmation Flow Control.
Please report if that helps.
Confirmation Flow Control is slightly slower, but for
TinyG that's actually not a problem, because it has firmware Jerk
control, so it does not need to support the high-volume command
bursts needed for Jerk interpolation through Simulated3rdOrderControl.
https://github.com/openpnp/openpnp/wiki/GcodeAsyncDriver#interpolation
_Mark
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e9ea01b0-e88f-484b-8f02-a3270e2d1379n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e0a37b82-7a00-4c88-a21e-901fe19d0e7dn%40googlegroups.com.
Hi Johannes
I had a look at the machine.xml and tried it on my bare TinyG.
The only thing I found is it needed a longer connect wait:
Otherwise it would respond garbled (at least after power off). With your 1000ms:
2021-01-28 17:35:13.312
GcodeDriver$ReaderThread TRACE: [serial://COM10] <<
bツbレᅡレ↑ᅰ)�[tv] text verbosity 1
[0=silent,1=verbose]
Set to the default 3000ms it was still garbled but at least it
seemed to be the startup message only.
2021-01-28 17:44:11.388 GcodeDriver$ReaderThread TRACE: [serial://COM10] << メ'L)ᄎツb 2ノノᅭᄁᄁツrメハb Bノᅭハb Bノᅭᅡb Jムノᅭ ᆰᅡ ᅡᆰツj ¥U%ノIRkᅲヨ$'ᄂᆰV*UQSミᄅEADY"},"f":[1,0,0,383]}
With 5000ms it was ok.
2021-01-28 17:45:22.533
GcodeDriver$ReaderThread TRACE: [serial://COM10] <<
{"r":{"fv":0.970,"fb":440.21,"hp":1,"hv":8,"id":"5X0850-CNU","msg":"SYSTEM
READY"},"f":[1,0,0,383]}
IMPORTANT NOTE: Confirmation Flow
Control will only work, if each and every command is confirmed
with a "tinyg [mm] ok>". If the first commands or the responses
are garbled due to controller startup, this will not work.
Any yes, it is possible that this worked before, the GcodeAsyncDriver
will write the first two commands asynchronously, before
waiting for the first "ok". That may be sufficient to trip it.
The homing command has a special 1 minute timeout, so OpenPnP
will appear like "hanged".
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/24ff6657-3ddf-4b09-ae85-c6fa350423a3n%40googlegroups.com.
Hi Jim, Johannes, Clemens
I was able to confirm what Clemens said: RTS/CTS
does not work with TinyG.
However, it seems that XON/XOFF works (as Jim had it all the
time).
To test, I added Jim's CONNECT_COMMAND ten times.
I see the Writer Thread pause and then, after a proportionate
amount of responses, resume again, multiple times.
You need to have the $ex=1 set.
With the connect wait increased to 5000ms, I see no more issues.
I will adapt the Issues & Solutions for TinyG in the next
testing version.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CABRkqyBgRCnoMZziBGWvs-cFSVHv1m0rOTvAukjf7byUXdOb%3DA%40mail.gmail.com.
Jim,
I just realized, you seem to be on an old OpenPnP version, and
backtracking it, I saw you actually mentioned that in the first
post.
So am I right to assume that all you changed is the TinyG
firmware? It worked before and now not?
That's really strange. Like Tony said, please send a new log, the
last one is still not at TRACE level (you must first set the level
and then retry homing).
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CABRkqyBgRCnoMZziBGWvs-cFSVHv1m0rOTvAukjf7byUXdOb%3DA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/dfec6624-e230-de22-f270-8bd1e3d4759c%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/a7837d77-e0a5-d1bb-7fbd-cfe483600028%40makr.zone.
Hi Jim
First question: have you increased the connect wait time? Maybe having to increase that its related to ADC initialization. Maybe that's taking long(?).
Re your log: There are strange Error messages.
{"er":{"fb":440.21,"st":9,"msg":"File not open"}}
These are usually related to a ATMEGA bug in EEPROM writing, when then next command comes too quickly:
https://github.com/synthetos/TinyG/issues/148#issuecomment-166739904
But you should not have EEPROM writing, because these values should be unchanged from the last connect command, right? Can you explain this?
Also strange. Are you sure you don't want 8 microsteps?
2021-01-28 13:47:19.178 GcodeDriver TRACE:
[serial://COM3] << [1mi] m1 microsteps 10
[1,2,4,8]
2021-01-28 13:47:19.185 GcodeDriver TRACE: [serial://COM3]
<< *** WARNING *** Setting non-standard microstep value
2021-01-28 13:47:19.195 GcodeDriver TRACE: [serial://COM3]
<< tinyg [mm] ok> *** WARNING *** Setting non-standard
microstep value
2021-01-28 13:47:19.196 GcodeDriver DEBUG:
sendCommand(serial://COM3 $1mi=10, 10000) => [[1mi] m1
microsteps 10 [1,2,4,8], *** WARNING *** Setting
non-standard microstep
The actual homing problem is a vision failure:
2021-01-28 13:50:01.145 ReferenceFiducialLocator DEBUG: No matches found!
The question is: is the machine/camera at the right location?
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CABRkqyAnjAWUm4WW5L15YHLm3fYaEsF2mopD%3DKEymvzEMdLf_w%40mail.gmail.com.
Ok, two more things to try:
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d7f039f9-88da-fd2e-0b7b-6f5983f25f08%40makr.zone.
regarding this:
[1mi] m1 microsteps 10
[1,2,4,8]
*** WARNING *** Setting non-standard microstep value
There is this warning:
Note: Values other than 1,2,4 and 8 are accepted. This is to support some people that have crazily wired TInyG to other drivers (you know who you are) like those running 10x or 16x steps. If you are using the drivers on TInyG this will cause them to malfucntion, so please don't do this unless you are one of those hacker types that soldered up your TinyG.
Have you "crazily wired TinyG to other drivers"? ;-)
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d7f039f9-88da-fd2e-0b7b-6f5983f25f08%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/e83ea40d-1cb3-4696-afdb-8d1dbc90fd71n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d7f039f9-88da-fd2e-0b7b-6f5983f25f08%40makr.zone.
> It seems like the most failsafe advice is to not emit any $commands at all during normal machine operation!
I agree. As long as the commands don't change the EEPROM, they're
probably ok. Otherwise not. And yes, the GcodeAsyncDriver
definitely sends the next command while still waiting for
confirmation for the first, while this is not the case
with the GcodeDriver.
> Maybe the XON/XOFF Flow-Control is a more reliable way to communicate with TinyG. But I am not so sure about it.
With TinyG we can obviously be sure of nothing. :-(
Just so you know what I found: I duplicated Jim's CONNECT_COMMAND
ten times. This then showed clear errors with RTS/CTS. The writer
thread would just pump out commands without stopping. In the end commands were fused together.
2021-01-28 19:42:30.710
GcodeAsyncDriver$WriterThread TRACE: [serial://COM10] >>
$3tr=8
2021-01-28 19:42:30.711 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $ajm=25000
2021-01-28 19:42:30.712 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $avm=300000
2021-01-28 19:42:30.713 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4mi=8
2021-01-28 19:42:30.713 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4sa=0.9
2021-01-28 19:42:30.714 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4tr=160
2021-01-28 19:42:30.715 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $mt=300
2021-01-28 19:42:30.716 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zzb=2
2021-01-28 19:42:30.716 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3po=1
2021-01-28 19:42:30.717 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zsx=3
2021-01-28 19:42:30.717 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zsn=0
2021-01-28 19:42:30.718 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> M115
2021-01-28 19:42:30.718 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:30.718 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1pm=1
2021-01-28 19:42:30.719 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $2pm=1
2021-01-28 19:42:30.720 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3pm=1
2021-01-28 19:42:30.720 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4pm=1
2021-01-28 19:42:30.721 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> G21M9
2021-01-28 19:42:30.745 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $1pm=0
2021-01-28 19:42:30.746 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [1pm] m1 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:42:30.761 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:30.788 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $2pm=0
2021-01-28 19:42:30.789 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [2pm] m2 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:42:30.803 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:30.829 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $3pm=0
2021-01-28 19:42:30.829 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [3pm] m3 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:42:30.845 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:30.871 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $4pm=0
2021-01-28 19:42:30.872 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [4pm] m4 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:42:30.887 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.005 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $mt=1000000000
2021-01-28 19:42:31.006 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [mt] motor idle timeout 1000000000.00
Sec
2021-01-28 19:42:31.006 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.006 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << G21G90G92X0Y0Z0A0M8M5
2021-01-28 19:42:31.006 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.007 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xjm=1000
2021-01-28 19:42:31.007 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xjm] x jerk maximum 1000
mm/min^3 * 1 million
2021-01-28 19:42:31.007 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.007 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xvm=10000
2021-01-28 19:42:31.008 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xvm] x velocity maximum 10000
mm/min
2021-01-28 19:42:31.008 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.008 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsv=1000
2021-01-28 19:42:31.008 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xsv] x search velocity 1000
mm/min
2021-01-28 19:42:31.009 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.009
GcodeDriver$ReaderThread TRACE: [serial://COM10] <<
000000$mG90G92X0Y0Z0A0M8M5
2021-01-28 19:42:31.010 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] err: Invalid or malformed
command: 000000$mG90G92X0Y0Z0A0M8M5
2021-01-28 19:42:31.010 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xjm=1000
2021-01-28 19:42:31.010 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xjm] x jerk maximum 1000
mm/min^3 * 1 million
2021-01-28 19:42:31.010 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.011 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xvm=10000
2021-01-28 19:42:31.011 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xvm] x velocity maximum 10000
mm/min
2021-01-28 19:42:31.011 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.011 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsv=1000
2021-01-28 19:42:31.012 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xsv] x search velocity 1000
mm/min
2021-01-28 19:42:31.012 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:42:31.012 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsn=3
Then after setting it to Xon/Xoff (+ power cycle), it worked. The writer thread would stop and go hand over hand with the reader:
2021-01-28 19:43:38.092
GcodeAsyncDriver$WriterThread TRACE: [serial://COM10] >>
$ME
2021-01-28 19:43:38.092 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1pm=0
2021-01-28 19:43:38.093 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $2pm=0
2021-01-28 19:43:38.093 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3pm=0
2021-01-28 19:43:38.093 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4pm=0
2021-01-28 19:43:38.094 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $mt=1000000000
2021-01-28 19:43:38.094 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> G21G90G92X0Y0Z0A0M8M5
2021-01-28 19:43:38.094 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xjm=1000
2021-01-28 19:43:38.094 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xvm=10000
2021-01-28 19:43:38.094 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xsv=1000
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xsn=3
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xjh=1000
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xsx=2
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1mi=10
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1sa=0.9
2021-01-28 19:43:38.095 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1tr=39.982
2021-01-28 19:43:38.096 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $yjm=1000
2021-01-28 19:43:38.096 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $yvm=10000
2021-01-28 19:43:38.096 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $ysn=3
2021-01-28 19:43:38.096 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $ysx=2
2021-01-28 19:43:38.097 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $yjh=1000
2021-01-28 19:43:38.097 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $ysv=1000
2021-01-28 19:43:38.097 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $2mi=10
2021-01-28 19:43:38.097 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $2sa=0.9
2021-01-28 19:43:38.098 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $2tr=39.97
2021-01-28 19:43:38.212 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [sv] status report verbosity 2
[0=off,1=filtered,2=verbose]
2021-01-28 19:43:38.212 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $ME
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $ME
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $1pm=0
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [1pm] m1 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.213 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $2pm=0
2021-01-28 19:43:38.214 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [2pm] m2 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:43:38.214 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.214 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $3pm=0
2021-01-28 19:43:38.215 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [3pm] m3 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:43:38.215 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.215 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $4pm=0
2021-01-28 19:43:38.215 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [4pm] m4 power management 0
[0=disabled,1=always on,2=in cycle,3=when moving]
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $mt=1000000000
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [mt] motor idle timeout 1000000000.00
Sec
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << G21G90G92X0Y0Z0A0M8M5
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.216 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xjm=1000
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xjm] x jerk maximum 1000
mm/min^3 * 1 million
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xvm=10000
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xvm] x velocity maximum 10000
mm/min
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.217 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsv=1000
2021-01-28 19:43:38.218 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xsv] x search velocity 1000
mm/min
2021-01-28 19:43:38.218 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.218 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsn=3
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xsn] x switch min 3
[0=off,1=homing,2=limit,3=limit+homing]
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xjh=1000
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xjh] x jerk homing 1000
mm/min^3 * 1 million
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.219 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $xsx=2
2021-01-28 19:43:38.220 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [xsx] x switch max 2
[0=off,1=homing,2=limit,3=limit+homing]
2021-01-28 19:43:38.220 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.220 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $1mi=10
2021-01-28 19:43:38.221 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [1mi] m1 microsteps 10
[1,2,4,8]
2021-01-28 19:43:38.221 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << *** WARNING *** Setting non-standard
microstep value
2021-01-28 19:43:38.221 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok> *** WARNING ***
Setting non-standard microstep value
2021-01-28 19:43:38.221 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $1sa=0.9
2021-01-28 19:43:38.222 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [1sa] m1 step angle
0.900 deg
2021-01-28 19:43:38.229 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.278 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zjm=200
2021-01-28 19:43:38.279 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zvm=1000
2021-01-28 19:43:38.279 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zjh=500
2021-01-28 19:43:38.280 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zsv=1000
2021-01-28 19:43:38.282 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $xfr=10000
2021-01-28 19:43:38.283 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $yfr=10000
2021-01-28 19:43:38.283 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zfr=1000
2021-01-28 19:43:38.285 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $afr=300000
2021-01-28 19:43:38.285 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3mi=8
2021-01-28 19:43:38.285 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3sa=1.8
2021-01-28 19:43:38.286 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3tr=8
2021-01-28 19:43:38.287 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $ajm=25000
2021-01-28 19:43:38.288 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $avm=300000
2021-01-28 19:43:38.289 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4mi=8
2021-01-28 19:43:38.290 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4sa=0.9
2021-01-28 19:43:38.290 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $4tr=160
2021-01-28 19:43:38.291 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $mt=300
2021-01-28 19:43:38.291 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zzb=2
2021-01-28 19:43:38.292 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $3po=1
2021-01-28 19:43:38.293 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zsx=3
2021-01-28 19:43:38.294 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $zsn=0
2021-01-28 19:43:38.294 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> M115
2021-01-28 19:43:38.294 GcodeAsyncDriver$WriterThread TRACE:
[serial://COM10] >> $1pm=1
2021-01-28 19:43:38.424 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $1tr=39.982
2021-01-28 19:43:38.424 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [1tr] m1 travel per revolution
39.9820 mm
2021-01-28 19:43:38.424 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.424 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $yjm=1000
2021-01-28 19:43:38.425 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [yjm] y jerk maximum 1000
mm/min^3 * 1 million
2021-01-28 19:43:38.425 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.425 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $yvm=10000
2021-01-28 19:43:38.425 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [yvm] y velocity maximum 10000
mm/min
2021-01-28 19:43:38.426 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.426 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $ysn=3
2021-01-28 19:43:38.426 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [ysn] y switch min 3
[0=off,1=homing,2=limit,3=limit+homing]
2021-01-28 19:43:38.426 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
2021-01-28 19:43:38.426 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << $ysx=2
2021-01-28 19:43:38.427 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << [ysx] y switch max 2
[0=off,1=homing,2=limit,3=limit+homing]
2021-01-28 19:43:38.427 GcodeDriver$ReaderThread TRACE:
[serial://COM10] << tinyg [mm] ok>
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/833d5342-afd8-40dd-c94d-bbd9e597e6e9%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/833d5342-afd8-40dd-c94d-bbd9e597e6e9%40makr.zone.
Somehow it winds up the A axis to -1440° at a 600°/min rate, so
that explains the duration.
Why do you G92 at all?
If there is a reason, (I don't think so) perhaps you'd need to
add A0 to it?
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/CABRkqyA8d%3D8COdSMK64F87FnACZpoBTP9bp5-%3DRapG2t4k-tsg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/833d5342-afd8-40dd-c94d-bbd9e597e6e9%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d288e9c4-7594-0dda-44c7-feeb3754349c%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4e928829-b0ff-4a7e-8201-69b2b3945946n%40googlegroups.com.
Do you guys know what TinyG version you had before?
I guess the maximum travel at 150mm is too low. Maybe that
setting is new in the master version
I took as the basis:
[xtm] x travel maximum 150.000 mm
Maybe it didn't exist in your version.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/4e928829-b0ff-4a7e-8201-69b2b3945946n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/528ad303-6f0a-1451-4ee6-37ba00f2737c%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6f6f4ac7-4505-43a4-a5a4-a516a8c36a83n%40googlegroups.com.
"Some of the command definitions have been changed from 0.92 and earlier. These are labeled as [$xNN 0.92] where this occurs."
"$xTM Travel Maximum. [$xTS 0.92] Defines the maximum extent of travel in that axis. This is currently only used during homing but will also be used for soft limits when that feature is implemented."
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/528ad303-6f0a-1451-4ee6-37ba00f2737c%40makr.zone.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/6f6f4ac7-4505-43a4-a5a4-a516a8c36a83n%40googlegroups.com.
Jerk in OpenPnP is mm/s³ in TinyG it is km/min³
So the factor is 1'000'000/60/60/60 = 4.63
> Second: my Rotation problem was a mising $aam=1
Any idea how the $aam or $xmt etc. got lost on the foirmware
update?
Maybe the TinyG EEPROM persistence isn't that stable after all
and Clemens was right.
_Mark
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/3750ca51-fb80-415b-b3fb-99c9381a794dn%40googlegroups.com.