Home › Forums › TinyG › TinyG Support › Arduino Due TinyG G2 + LitePlacer
Tagged: due g2 liteplacer
- This topic has 5 replies, 3 voices, and was last updated 9 years, 1 month ago by cmcgrath5035.
-
AuthorPosts
-
October 7, 2015 at 5:03 am #8818dandumitMember
DEar All,
I would like to use G2 release to retrofit a pick and place machine along with SW from http://www.liteplacer.com.I have installed the G2 release on a Arduino Due board. Unfortunately when I connect the board with LitePlacer SW gives me a lot of errors.
Please tell me , there are big differences on JSON communication between TinyG V8 and G2 ?
For example JuKu (Creator of LitePlacer) told me to try to issue the command : j:0 to change the json handling behavoiur.
What should I do to improve compatibility with standard version ?
BR
DAnielOctober 7, 2015 at 7:33 am #8821cmcgrath5035ModeratorThe intent is that G2 is identical to tinyG as implemented for V8.
In some cases, G2 is a superset where there are new capabilities in G2 not supported by V8 platforms.I am not aware of a “j” command.
Perhaps you are trying to send
{“ej”:0} or {“ej”: 1} ?You’ll have to check with JuKu
October 7, 2015 at 11:00 am #8822JuKuMemberDoh. Note to self: learn to type. cmcgrath5035 gives the right json commands. I was trying to give the non-json format, $ej=0.
October 7, 2015 at 4:03 pm #8823cmcgrath5035ModeratorI never make a typing mistake ….. 🙂
By the way, your are setting the default json mode
[ej] enable json mode 0 [0=text,1=JSON]
- This reply was modified 9 years, 1 month ago by cmcgrath5035.
October 8, 2015 at 3:51 am #8828dandumitMemberHello All,
THank you all for you replies ! ( I wonder why I didn’t received the replies !)unfortunately even with this command I don’t get a proper feedback :
from LitePlacer I get :> {“ej”:0} {"r":{"?ej?":null},"f":[1,100,9]} No _textBox or _maskedText For Field ?ej? > {"gc":"G1 F2000 X0"} {"r":{},"f":[1,0,20]} > !% {"sr":{"line":0,"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":2000.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"momo":1,"stat":3}} > {"gc":"G1 F2000 X0"} {"r":{},"f":[1,0,20]} > !% {"sr":{"line":0,"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":2000.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"momo":1,"stat":3}} > {“ej”:1} {"r":{"?ej?":null},"f":[1,100,8]} No _textBox or _maskedText For Field ?ej? {"sr":{"feed":2000.00,"momo":1,"stat":3}}
I think that I have to build my own TinyG HW board and I will stick to Atxmega cpu but probably this path has his pitfalls as well.
I saw on this forum a thread started by a guy that made a TinyG board without drivers. This seems to be close to what I need now (hoping that would be easier than using G2).
BR,
DAnielOctober 8, 2015 at 7:35 am #8829cmcgrath5035ModeratorThe forum tool “subscribe-to” mechanism is not working, you are not informed of answers to your questions by the tool, you have to keep checking back.
-
AuthorPosts
- You must be logged in to reply to this topic.