Ero sivun ”G-koodi” versioiden välillä
Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
Rivi 118: | Rivi 118: | ||
| N || --- || Sentence line number (optional) | | N || --- || Sentence line number (optional) | ||
|} | |} | ||
|- | |||
| | |||
==Varsinaiset G-koodisanat== | ==Varsinaiset G-koodisanat== | ||
{| class="wikitable" | {| class="wikitable" | ||
Rivi 275: | Rivi 277: | ||
|} | |} | ||
| | |||
== Actual G codewords == | |||
{| class = "wikitable" | |||
| - | |||
! G code !! Modal group !! Function | |||
| - | |||
| '' '[[G00]]' '' || 01 || Fast motion to the given coordinates | |||
| - | |||
| '' '[[G01]]' '' || 01 || Coordinated motion at the machining speed to the given coordinates | |||
| - | |||
| '' '[[G02]]' '' || 01 || [[G02 | Circular interpolation]] clockwise | |||
| - | |||
| '' '[[G02 | G03]]' '' || 01 || [[G02 | Circular interpolation]] counterclockwise | |||
| - | |||
| [[G04]] || 00 || Break | |||
| - | |||
| G05 || 00 || Machining with high speed cycle | |||
| - | |||
| G09 || 00 || Accurate positioning | |||
| - | |||
| G15 || 17 || Canceling the polar coordinate mode | |||
| - | |||
| G16 || 17 || Polar coordinate mode setting | |||
| - | |||
| '' '[[G02 | G17]]' '' || 02 || XY plane setting for circular interpolation | |||
| - | |||
| [[G02 | G18]] || 02 || ZX plane setting for circular interpolation | |||
| - | |||
| [[G02 | G19]] || 02 || YZ level setting for circular interpolation | |||
| - | |||
| [[G20]] || 06 || Units of measurement in inches | |||
| - | |||
| '' '[[G20 | G21]]' '' || 06 || Units of measurement in millis | |||
| - | |||
| G22 || 00 || Example | |||
| - | |||
| G23 || 00 || Example | |||
| - | |||
| G27 || 00 || Home drive check | |||
| - | |||
| '' '[[G28]]' '' || 00 || Driving to your home station | |||
| - | |||
| [[G29]] || 00 || Return from home station | |||
| - | |||
| G30 || 00 || Return to 2nd home station | |||
| - | |||
| G31 || 00 || Bypass function | |||
| - | |||
| G33 || 01 || Threading | |||
| - | |||
| G39 || 00 || Angle rotation by circular interpolation | |||
| - | |||
| [[G40]] || 07 || Cancel tool radius compensation | |||
| - | |||
| [[G41]] || 07 || Tool radius compensation to the left | |||
| - | |||
| [[G41 | G42]] || 07 || Tool radius compensation to the right | |||
| - | |||
| '' '[[G43]]' '' || 08 || Tool length compensation by summing (+ direction) | |||
| - | |||
| G44 || 08 || Tool length compensation decreasing (- direction) | |||
| - | |||
| G45 || 00 || Tool offset breeding | |||
| - | |||
| G46 || 00 || Tool offset reduction | |||
| - | |||
| G47 || 00 || 2x increase in tool offset | |||
| - | |||
| G48 || 00 || 2x reduction of tool offset | |||
| - | |||
| [[G49]] || 08 || Cancel tool length compensation | |||
==Lotan tunnistamat M-koodisanat== | ==Lotan tunnistamat M-koodisanat== | ||
{| class="wikitable" | {| class="wikitable" |
Versio 2. helmikuuta 2021 kello 21.34
Left column Finnish! |
Right column English |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
G-koodisyntaksia noudattava CNC-ohjelma koostuu matalan tason toiminnoista joita kutsutaan lauseiksi (block). Lauseet puolestaan rakentuvat sanoista (code). Sanat ovat joko "valmistelevia" G-koodeja tai "sekalaisia" M-koodeja. |
A CNC program that follows G-code syntax consists of low-level functions called blocks. Sentences, in turn, are built from words (code). The words are either "preparatory" G-codes or "Miscellaneous" M-codes. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Esimerkki yksinkertaisesta NC-lauseesta: |
Example of a simple NC block: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lotan tunnistamat G-koodisanatUseimmat G-koodilauseet muodostuvat valmistelevasta G-koodista, sekä siihen liittyvistä yhdestä tai useammasta argumentista. Lauseissa käytetään myös "sekalaisia" M-koodisanoja ohjaamaan koneen toimintoja päälle ja pois. G-koodisanojen argumentit
|
G-code words recognized by LottaMost G-code statements consist of a preparatory G-code, and one or more arguments associated with it. The sentences also use "Miscellaneous" M-code words to control the machine functions on and off. G codeword arguments
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Varsinaiset G-koodisanat
|
Actual G codewords
|