G-Code and M-Code Flashcards

Click here to go to the flashcards

Level 1

  • Rapid movement
  • Linear and circular interpretations
  • Spindle on/off
  • Program stop, optional stop
  • Coolant on/off
  • Speed, height, tool, feed, radius

Level 2

  • Plane selection
  • Canned cycles
  • Radius compensations
I have been taking precision machining classes at Connecticut State College. Part of the curriculum requires us to memorize the codes for controlling CNC machines — G-code and M-code. Since I’m old, it’s much more difficult for my smooth brain to memorize intricate things—strike that–given that I never once passed a foreign language class in high school, this problem is not new. To make the memorization easier, I created a Google sheet with the codes I needed to memorize and used it as the source for an iPhone flashcard app. Then it hit me that there should be a website that achieves the same thing, so here we are.

While in general, I’m not a fan of ChatGPT, in a short session with it, I was able to come up with the pages linked below. For now, I’ve broken it up into two sections—basic code and a next step up. I’m sure more will follow as my CNC journey continues.

Leave a comment if there are codes you’d like added, and I’ll do my best.

-Ben

Key Commands:

Spacebar Reveal answer
Up arrow Mark as correct
Down arrow Mark as incorrect
Right arrow Next card

Full list of codes included:

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *