qtfp

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: cant make tinyg2 jogging or doing anything on due #7635
    qtfp
    Member

    1.In that test, I did set 0.5 for jogging, but even in default setting, it’s still the same hang.

    4.Actually, I want to use LV8727 by due board. It provide 20 microstep. I just want to know if tinyg2 can use 20 microstep.
    http://www.onsemi.com/pub/Collateral/ANDLV8727-D.PDF
    5. I will try more and post results
    Right now I don’t even have any hardware axis, I just connect to logic analyzer to test it quickly. I use stepper driver for many application. I also build simple code to use optical encoder to loop back actual position to the stepper and compensate.
    Thanks for your efforts
    So you are still heavily progress tinyg2, right?
    This is one promising project!!

    • This reply was modified 9 years, 7 months ago by qtfp.
    • This reply was modified 9 years, 7 months ago by qtfp.
    • This reply was modified 9 years, 7 months ago by qtfp.
    in reply to: cant make tinyg2 jogging or doing anything on due #7632
    qtfp
    Member

    5.D.
    G0 B1
    $posb
    {“ej”:””}
    B position: 288.000 deg
    tinyg [mm] ok>

    I believe its tinyg2 hangs. I restart CP and serial-port-json-server, still get no response from console. After restar tinyg2, then I can control again.
    I restart tinyg2 a lot..
    Thanks for the reply in very detail 🙂

    in reply to: cant make tinyg2 jogging or doing anything on due #7631
    qtfp
    Member

    1.Just hold one arrow(like left arrow) on the keyboard, and in the console:
    G91 G0 X0.5
    G90
    …….
    …….
    G91 G0 X0.5
    G90
    !
    %

    {“qr”:””}
    !
    %

    {“qr”:””}
    {“qr”:””}

    Then I cant control it anymore.
    2.This is a little complicated, I may do in the future. Still, I learn your design 🙂
    3.How to attach m4 to axis A? I want to attach m4:A m5:B m6:C THX
    This is what I do:
    {“1”:{“ma”:0,”pm”:1,”po”:0,”tr”:4,”mi”:20,”sa”:1.8}}
    {“2”:{“ma”:1,”pm”:1,”po”:0,”tr”:4,”mi”:20,”sa”:1.8}}
    {“3”:{“ma”:2,”pm”:1,”po”:0,”tr”:4,”mi”:20,”sa”:1.8}}
    {“4”:{“ma”:3,”pm”:1,”po”:0,”tr”:360,”mi”:20,”sa”:1.8}}
    {“5”:{“ma”:4,”pm”:1,”po”:0,”tr”:360,”mi”:20,”sa”:1.8}}
    {“6”:{“ma”:5,”pm”:1,”po”:0,”tr”:360,”mi”:20,”sa”:1.8}}
    Also I tried “$m4tr” and get “tinyg [mm] err: Unrecognized command or config name: $m4tr”
    “tinyg [mm] err: Unrecognized command or config name: $m4”
    I succeed compiling once, but I still use the file here:
    http://synthetos.github.io/g2/

    4.When I used microstep=20, it still work. Is there any thing I should worry if I use 20? For my ballscrew, the pitch 4mm/round, so for 20micro*200step=4000, one pulse will be 1um, other like 16,32 will not get divisible in um.

    5.
    A.How to enable “B” and “C”?
    B.does this command do the job?
    {“5”:{“ma”:4,”pm”:1,”po”:0,”tr”:360,”mi”:20,”sa”:1.8}}
    {“6”:{“ma”:5,”pm”:1,”po”:0,”tr”:360,”mi”:20,”sa”:1.8}}
    C. I used the command in B.
    D.

    I find I am using 0.78… I will edit this later

    in reply to: cant make tinyg2 jogging or doing anything on due #7626
    qtfp
    Member

    Also, I want to see the “B” “C” axis. So, {“sr”:{“line”:true,”posx”:true, “posy”:true,”posz”:true,”posa”:true,”posb”:true,”posc”:true, “vel”:true, “unit”:true, “stat”:true, “feed”:true, “coor”:true, “momo”:true, “plan”:true, “path”:true, “gc”:true, “dist”:true}}. And the G2 will suspend… Can you tell me how to avoid suspend and get the position of B,C? Thanks!
    “?” can only show
    X position: 0.000 mm
    Y position: 0.000 mm
    Z position: 0.000 mm
    A position: 0.000 deg

    • This reply was modified 9 years, 7 months ago by qtfp.
    in reply to: cant make tinyg2 jogging or doing anything on due #7624
    qtfp
    Member

    Hello,
    I finally got it worked. After install the win7 driver and plug into the native port, I can pulse into XYZA. I am trying things now.
    There are something weird:

    1. If push jog too much, the console will show{“qr”:””} and then there will be no response anymore. This happen a lot..

    2. I try to change PWM frequency( {p1frq:1000} ), but it still get 100Hz in Logic Analyzer. When “M5”, I still see pulsing.

    3. In the “4” axis (A), if I set axis mode to radius, I really dont know what it means in widget(mm) For ex: when radius setting=1mm, “G0 A1” get A=57.296mm. Sorry, I dont get the idea.

    4.There are lots of step motor driver can divide into like 20,128,256… rather than 2,4,8,16. For ex, mine is 20,so I set {“1”:{“ma”:0,”pm”:2,”po”:0,”tr”:4,”mi”:20,”sa”:1.8}} . Then I observe that when I “G0 X4”, the pulses counts 4001. and then “G0 X0”, the pulses counts 4001. One step more..

    It is really amazing about tinyG2. For now, many people use mach3 to build their own CNC(I mean hard metal,precise CNC), I believe tinyG2 can replace it in the future. You got all the feature right:) I knew many people try to build 5 axis milling machine, Tinyg2 will be good candidate.

Viewing 5 posts - 1 through 5 (of 5 total)