G code example

Shop Forum Stewart/Gough Platforms G code example

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5918
    Anonymous
    Inactive

    Hi,Dan,i have my platform set . but l know nothing about g code,could you give me some g code examples to test?

    #6373
    Anonymous
    Inactive

    G00 Z10;

    will make the platform rise 10mm.

    G00 X10 Y-10;

    will make the platform move X+10mm and Y-10mm.

    G00 A15 B10 C5;

    will tilt, and roll, and twist (pan) the platform.

    G00 X0 Y0 Z0 A0 B0 C0; will send it back to the start position.

    One of my many goals is to write a java app that simulates the platform and lets you send many commands in sequence.

    #6374
    Anonymous
    Inactive

    I see, so the unit for A,B,C rotation is degree?

    #6372
    Anonymous
    Inactive

    Correct. Note that the range of motion is limited to the heim joints (tamiya parts). I have been working for over a year to secure better connectors. Every supplier I’ve found has been uncooperative.

    #6378
    Anonymous
    Inactive

    Have you thought about using universal joints for the range of motion (full 180°) with a swivel to take care of unwanted torque? They’re used all over the place in the nitro RC cars, rather robust, probably come in sufficiently small sizes, and I imagine are made rather inexpensively in bulk. In fact, if you can use more mass produced RC parts I’m sure you could improve the platform’s stability and durability, while keeping the cost the same.

    #6375
    Anonymous
    Inactive

    Hi Aquillux! Good thinking.

    Did you mean parts like the traxxas TRX-1951?

    I tried that when I made my first platform out of metal with linear actuators. There are two challenges.

    1. They have a lot of play
    Each universal joint has got at least 1mm of wiggle room, which quickly adds up to make for an unstable end effector.

    2. They don’t have a nice way to attach to other things
    I used to cut off the shaft completely and just use the joint. There’s a convenient hole right in the center, I think it was there to let air escape when the part was being injection molded. Unfortunately you can’t screw in much or you hit the ball in the center of the joint. It might be possible to put an M5 or M6 tap in the ends of the shafts and put in a great big screw. I haven’t tried it. Most people don’t have a tap & dye set and doing the work myself will mean the part is no longer cheap.

    Although… I’m willing to accept I am wrong if you can show me how 🙂

    #6376
    Anonymous
    Inactive

    The G code example above have unit of cm..
    ex: Z 0.5 = 0.5 cm=5mm down

    #6377
    Anonymous
    Inactive

    yes, correct. I wrote z10 and i should have said z1.0 for 10mm.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.