G code example
- This topic is empty.
2013-04-27 at 12:00 #5918AnonymousInactive
Hi,Dan,i have my platform set . but l know nothing about g code,could you give me some g code examples to test?2013-04-29 at 04:53 #6373AnonymousInactive
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.2013-04-29 at 12:10 #6374AnonymousInactive
I see, so the unit for A,B,C rotation is degree?2013-04-29 at 16:38 #6372AnonymousInactive
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.2013-05-12 at 01:09 #6378AnonymousInactive
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.2013-05-19 at 15:22 #6375AnonymousInactive
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 🙂2013-05-23 at 00:29 #6376AnonymousInactive
The G code example above have unit of cm..
ex: Z 0.5 = 0.5 cm=5mm down2013-05-23 at 21:06 #6377AnonymousInactive
yes, correct. I wrote z10 and i should have said z1.0 for 10mm.
- You must be logged in to reply to this topic.