Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: BLacky on March 17, 2013, 06:21:34 PM
-
hey everybody as u see i'm so new here ! :p i'm a poor electronic student :'( i need help & Advice from u bros and siss plz don't let me down :')
my professor asked me to do some things but i couldn't its about my gradution project .. my project title is " command de machine cnc " in french of course :'( hmmm he asked me simple things like making simple g-code examples but he didn't ask me if i no the g-code or not :'(
i'm downloading books abt that can i get some help ? i want the g-code for a easy examples like a stright line on the X axes 0 on Y and 0 on Z , then another g-code program for a strght line on Y axe 0 in X and 0 on Z , then another strght line on Z axe . the last example is a circle in XY plan i guess ^^ idk how to do this really i will Appreciate that ^^
+
i hv a lap top wth no parallel port and i want to study the out going signals can i use a usb-parallel converter ? i want to no the form of the signals in each pin of the parallel port for each axe i want to no what pins are working wth X axes , Y axes and Z Axs is this possible ? i don't have an oscilloscope is there a way to make this study on simulation way like using ISIS protus or TINA ?
plllllllllllllllllllllllllzzzzzzzzzz helllllpppp mmmmmmeeeememememememememem :'(((((((
-
jst say u r wlcm at least :'(
-
Hello Blacky, Welcome to the forum!
You can download the demo and play with the wizzards to generate some gcode.
To give any axis a straight move you enter something like this.
G0 X0 Y0 Z0 (this will take all axis to 0 at a rapid rate at the same time).
G1 F5 X-2 (this would make the x feed to -2 at a rate of 5 units per minute.)
G1 F5 Y-2 Z-2 (this would move the y and Z to -2 at the same time at 5 units per minute.)
No, a usb to parallel port adapter will not work.
You decide which pin does what in config., ports and pins.
If you want to learn Gcode, look up Peter Smid, CNC Programming Handbook or just google Gcode. Lots of free information already posted on the subject.
Brett
-
thx a lot Mr brettt ^^ even i didn't understand a word u said when u begin talkn abt gcode " speak english man hhhh xD " but i really appreciate ur reply thank uuuuuuuuuuuuuuu so much ^^ i'm googling g-code but i'm so lost in " the lot of info sea " and confused abt what is the bst book for a beginner like me ^^ thank u for the info abt the usb adapter u saved me man ! =))
-
You have axis of motion. Just imagine everything is on a grid. Your simply telling the machine what point on the grid to go to. This link will help too.
http://www.machsupport.com/forum/index.php/topic,10308.0.html
Brett
-
Hey Blacky, lets play Simon Say's . That's a old game where you move as told by someone.
So it is with Gcode, you give the command to the computer and the computer tells the drive to send pulses
to the motor.
Simons says G0 Fast...... G0 is a rapid move
Simons says G1 slow ......G1 is a move at some rate G1 F20 So go at 20 inches per minute
Simons says G0 X22 so go fast in the X direction
Simon says G0 X22 Y22 So go as fast as you can in the X &Y direction
Simons says G4 P10....G4 is a dwell ( take a break for 10 seconds )
Thus Simon said to me G4 P1000000..........I really have to go bad so see ya tomorrow after i rest some ::)
Hope you get it ...... :)
RICH
-
Blacky it would serve you well to start using real words instead of webspeak jibberish. IF you really want help that is.
Just a thought, (;-) TP
-
Hey guys - didn't you see the sign on the way in? - it says - "Please don't feed the trolls"
-
Yes but JUST in case he is really interested I was being nice(;-)
(;-) TP
-
You have axis of motion. Just imagine everything is on a grid. Your simply telling the machine what point on the grid to go to. This link will help too.
http://www.machsupport.com/forum/index.php/topic,10308.0.html
Brett
...
thank you verry much Mr Brett ^^
-
Hey Blacky, lets play Simon Say's . That's a old game where you move as told by someone.
So it is with Gcode, you give the command to the computer and the computer tells the drive to send pulses
to the motor.
Simons says G0 Fast...... G0 is a rapid move
Simons says G1 slow ......G1 is a move at some rate G1 F20 So go at 20 inches per minute
Simons says G0 X22 so go fast in the X direction
Simon says G0 X22 Y22 So go as fast as you can in the X &Y direction
Simons says G4 P10....G4 is a dwell ( take a break for 10 seconds )
Thus Simon said to me G4 P1000000..........I really have to go bad so see ya tomorrow after i rest some ::)
Hope you get it ...... :)
RICH
.
.
.
thank you a lot <3 it was verry helpfull ^^
-
Blacky it would serve you well to start using real words instead of webspeak jibberish. IF you really want help that is.
Just a thought, (;-) TP
thank you brother even your post was out the subject but still thank you =)
-
Hey guys - didn't you see the sign on the way in? - it says - "Please don't feed the trolls"
My english is not so good ^^ ... but blv me i'm jst a poor student want to complete my graduating project then i will never study again ! =)