Ero sivun ”Coordinate system programming” versioiden välillä

Helsinki Hacklabin wikistä
Siirry navigaatioon Siirry hakuun
(Ak: Uusi sivu: Whether a G-code program is generated from a 3D model with a tool such as Fusion 360 or Mastercam, or written by hand directly from work drawings, it is appropriate to bind the pro...)
 
 
(2 välissä olevaa versiota samalta käyttäjältä ei näytetä)
Rivi 1: Rivi 1:
Whether a G-code program is generated from a 3D model with a tool such as Fusion 360 or Mastercam, or written by hand directly from work drawings, it is appropriate to bind the program coordinate system to the workpiece itself and not to the machine tool. For this purpose, Lota typically has several work coordinate systems that can be preset and selected for use in the program at the desired stage. A typical use is to select the desired coordinate system at the beginning and keep it valid for the entire program execution time. But there is nothing to stop changing the coordinate system no matter how often during the program.<br />
+
Whether a G-code program is generated from a 3D model with a tool such as Fusion 360 or Mastercam, or written by hand directly from work drawings, it is appropriate to bind the program coordinate system to the workpiece itself and not to the machine tool. For this purpose, Lotta typically has several work coordinate systems that can be preset and selected for use in the program at the desired stage. A typical use is to select the desired coordinate system at the beginning and keep it valid for the entire program execution time. But there is nothing to stop changing the coordinate system no matter how often during the program.<br />
 
{|
 
{|
 
|-
 
|-
| [[Tiedosto:Koordinaatistot.jpg]] || Lotan konekoordinaatisto (MACHINE COORDINATES) määrittelee laatikkomaisen työalueen jonka origo on kiinteästi laatikon vasen taka-ylänurkka. Syy valita juuri tämä nurkka origoksi on käytännöllinen; ajettaessa kaikki akselit kotiasemaan, annetaan työkalumakasiinille maksimaalinen tila liikkua vaihdon aikana törmäämättä työkappaleeseen.<br />
+
| [[Tiedosto:Cordinates.png]] || Lotta's machine coordinate system (MACHINE COORDINATES) defines a box-like work area whose origin is fixed in the upper left corner of the box. The reason for choosing just this corner as the origin is practical; when driving all axes to the home position, the tool magazine is given maximum space to move during the change without colliding with the workpiece. <br />
Työalueelle on mahdollista määritellä samanaikaisesti max 6 kpl työkoordinaatistoja, jotka kiinnittävät kyseisen koordinaatiston origon johonkin konekoordinaatiston pisteeseen. Kukin työkoordinaatisto voidaan määritellä vapaasti muista riippumatta.<br />
+
It is possible to define a maximum of 6 work coordinate systems for the work area at the same time, which attach the origin of the coordinate system to a point in the machine coordinate system. Each work coordinate system can be freely defined independently of the others. <br />
Työkoordinaatisto otetaan käyttöön jollain G-koodisanoista G54 ... G59 ja vain yksi voi olla voimassa samaan aikaan. G-koodisanan voi antaa joko automaattiajolla suoritettavassa ohjelmassa, tai käsin MDI-toimintatilassa. Viimeksimainitussa tapauksessa asemanäytön suhteelliset asemat näyttävät sijaintia työkoordinaatiston origon suhteen (myös absoluuttiset konekoordinaatit on aina nähtävissä).
+
The work coordinate system is implemented with one of the G codewords G54 ... G59 and only one can be valid at a time. The G-code word can be entered either in an autorun program or manually in MDI mode. In the latter case, the relative positions of the position display show the position relative to the origin of the work coordinate system (also the absolute machine coordinates are always visible).
 
|}
 
|}
=Työkoordinaatiston origon määrittäminen=
+
Determining the origin of the work coordinate system
Johtuen tavasta, jolla Lotan työkalujen pituusoffset määritellään, on työkoordinaatiston origon paikka määritettävä täsmällisesti tässä kuvatulla tavalla. Mikäli näin ei menetellä, eivät työkalutauluun tallennetut työkalujen pituustiedot ole päteviä eikä niitä saa käyttää ohjelmassa. Toimi siis kuten tässä on kuvattu.
+
Due to the way in which the length offset of Lotta tools is determined, the position of the origin of the work coordinate system must be determined exactly as described here. If this is not done, the tool length data stored in the tool table is not valid and may not be used in the program. So act as described here.
# Valitse työkaluksi piippari. Piipparia ei säilytetä makasiinissa, joten tämä tehdään poistamalla karalla oleva työkalu käsin ja korvaamalla se piipparilla.
+
# Select the beeper as the tool. The beeper is not stored in the magazine, so this is done by manually removing the tool on the spindle and replacing it with the beeper.
# Valitse näyttöön asematieto [POS] ja varmista konekoordinaattien näkyminen pehmonäppäimellä [ALL] [[Tiedosto:Disp_select.jpg|200px|right]]
+
# Select the position information [POS] on the screen and confirm the display of the machine coordinates with the [ALL] soft key [[File: Disp_select.jpg | 200px | right]]
# Ohjaa piipparin kuula käsinajolla ([MPG] on käyttökelpoisin) lähelle työkappaletta. Kun olet päättänyt mikä piste tulee olemaan työkoordinaatiston origo, niin ohjaa piipparin kuula koskettamaan origoa vuorotellen X- ja Y- suunnista. Järjestyksellä ei sinänsä ole väliä. Oletetaan että aloitat X-suunnan määrityksellä. HUOM: koska origo voidaan määritellä vapaasti, piippari voi lähestyä kosketuskohtaa joko oikealta tai vasemmalta. Tämä aiheuttaa eron X-koordinatin laskennassa mikä huomioidaan myöhemmin.
+
# Manually guide the beeper ball ([MPG] is the most useful) close to the workpiece. Once you have decided which point will be the origin of the work coordinate system, guide the beeper ball to touch the origin alternately in the X and Y directions. Order does not matter in itself. Suppose you start with defining the X-direction. NOTE: Because the origin can be freely defined, the beeper can approach the point of contact from either the right or left. This causes a difference in the calculation of the X coordinate which will be taken into account later.
# Kun kuula koskettaa työkappaletta se ilmaisee kosketuksen ääni- ja valomerkillä. Jos tarvitset hyvin tarkan paikkakoordinaatin, niin iteroi kosketus skaalamalla käsipyörän liikettä pienemmäksi [100] -> [10] -> [1] kunnes haluttu kosketustarkkuus on saavutettu.
+
# When the ball touches the workpiece, it indicates the touch with an audible and visual signal. If you need a very accurate position coordinate, iterate the touch by scaling the handwheel movement smaller [100] -> [10] -> [1] until the desired touch accuracy is reached.
# Lue kontaktin X-koordinaatti MACHINE koordinaattien X-riviltä.
+
# Read the X coordinate of the contact from the X line of MACHINE coordinates.
# Kompensoi piipparin kuulan säde. Mikäli lähestyit vasemmalta, on kosketus säteen verran positiivisemmassa suunnassa, joten lisää lukemaan 5,000 mm. Mikäli taas lähestyit oikealta, vähennä sama määrä. [[Tiedosto:Disp_position.jpg|400px|right]]
+
# Compensates for the radius of the beeper ball. If you approached from the left, the contact is in a more positive direction by radius, so add 5,000 mm to the reading. If, on the other hand, you approached from the right, subtract the same amount. [[Tiedosto:Disp_position.jpg|400px|right]]
# Vaihda näyttöön offsetit [MENU OFSET] ja selaa [PAGE] näyttöön haluttu työkoordinaatisto [[Tiedosto:Work_coordinates.jpg|400px|right]]
+
# Switch offsets [MENU OFSET] and scroll [PAGE] to the desired work coordinate system [[File: Work_coordinates.jpg | 400px | right]]
# Siirry [CURSOR] halutun koordinaatiston numeron kohdalle ( 1 = G54, 2 = G55 jne. '''ÄLÄ valitse koordinaatistoa 0!''')
+
# Go to [CURSOR] for the desired coordinate system number (1 = G54, 2 = G55, etc. '' 'DO NOT select coordinate system 0!' '')
# Syötä äsken mitattu ja korjattu lukema nyt X-koordinaatin arvoksi käyttäen näytön oikealla puolella olevia numeronäppäimiä sekvenssillä [X] [nnn.nnn] [INPUT]. Varmista, että syöttämäsi luku näkyy nyt oikeassa paikassa, eli valitun työkoordinaatiston X-lukemana.
+
# Now enter the newly measured and corrected reading as the X coordinate value using the number keys on the right side of the screen with the sequence [X] [nnn.nnn] [INPUT]. Make sure that the number you entered now appears in the correct location, ie as the X reading of the selected work coordinate system.
# Toista harjoitus ohjaamalla piipparin kuula nyt Y-suunnassa origoon ja lue asema sekä ohjelmoi koordinaatti vastaavalla tavalla Y-lukemaksi. X/Y-suunnat on nyt asetettu.
+
# Repeat the exercise by now directing the beeper ball in the Y direction to the origin and read the position and program the coordinate accordingly as a Y reading. The X / Y directions are now set.
  
Piipparia ei voi samalla tavalla käyttää Z-suunnan origon määrittämiseen johtuen Lotan käyttämästä työkalujen pituuskompensoinnista. Itse asiassa Z-suunnan origo määritellään hyvin suoraviivaisesti mittaamalla sen korkeus pöydän pinnasta. Saatu lukema kirjataan suoraan työkoordinaatistoon Z-offsetiksi.<br />
+
The beeper cannot be used in the same way to determine the origin of the Z direction due to the tool length compensation used by Lotta. In fact, the origin of the Z-direction is determined very linearly by measuring its height from the table surface. The reading obtained is recorded directly in the work coordinate system as a Z-offset. <br />
Kunnes saadaan hankittua tarkoitukseen pyhitetty mittalaite, on korkeuden mittaus helpointa käyttäen apuna särmärautaa ja työntömittaa. Aseta särmärauta Z-tason päälle kohtaan jossa se asettuu mahdollisimman vaakasuoraan. Mittaa työntömitalla särmäraudan yläpinnan korkeus pöydästä (varo roskia ja lommoja pöydässä!). Nyt kun vähennät tuloksesta särmäraudan paksuuden (4,000 mm Lotan vakioraudoilla) niin tulos on Z-koordinaatti suoraan ja se voidaan asettaa samoin kuin X- ja Y-koordinaatit edellä.<br />
+
Until a dedicated instrument can be obtained, the easiest way to measure height is to use an angle iron and a caliper. Place the iron on the Z-plane where it is as horizontal as possible. Use a caliper to measure the height of the top surface of the iron from the table (watch out for debris and dents on the table!). Now when you subtract the thickness of the iron from the result (4,000 mm with Lotta's standard irons), the result is the Z coordinate directly and can be set in the same way as the X and Y coordinates above. <br />
 
<br />
 
<br />
WORK COORDINATES -näytöllä näkyvä koordinaatisto 0 on ns. EXT eli Extra-koordinaatisto joka käyttäytyy eri tavoin kuin muut 1 ... 6. EXT-koordinaatistoon asetetut offsetit ovat aina voimassa riippumatta siitä, mitä muita koordinaatistoja on ohjelmoitu käytettäväksi. Lotan työkalujen pituusoffsettien määritys perustuu EXT Z-offsetin käyttöön siten, että siinä on referenssityökalun pituus. TÄTÄ LUKEMAA EI PIDÄ MENNÄ MUUTTAMAAN jollei tarkoitus ole kalibroida koko pituusoffsetin laskentaa. Mikäli lukema muuttuu, jokaisen työkalun pituus menee väärin saman tien. ÄLÄ siis sorki tuota lukua!
+
 
 +
The coordinate system 0 displayed on the WORK COORDINATES screen is the so-called EXT or Extra coordinate system that behaves differently than other 1 ... 6. The offsets set in the EXT coordinate system are always valid regardless of which other coordinate systems are programmed for use. The determination of the length offsets of the Lotta tools is based on the use of the EXT Z offset with the length of the reference tool. THIS READING SHOULD NOT BE CHANGED unless it is intended to calibrate the calculation of the total length offset. If the reading changes, the length of each tool goes wrong immediately. So DO NOT MESS that figure!
  
 
=3D-Tasterin käyttö=
 
=3D-Tasterin käyttö=

Nykyinen versio 31. tammikuuta 2021 kello 00.09

Whether a G-code program is generated from a 3D model with a tool such as Fusion 360 or Mastercam, or written by hand directly from work drawings, it is appropriate to bind the program coordinate system to the workpiece itself and not to the machine tool. For this purpose, Lotta typically has several work coordinate systems that can be preset and selected for use in the program at the desired stage. A typical use is to select the desired coordinate system at the beginning and keep it valid for the entire program execution time. But there is nothing to stop changing the coordinate system no matter how often during the program.

Cordinates.png Lotta's machine coordinate system (MACHINE COORDINATES) defines a box-like work area whose origin is fixed in the upper left corner of the box. The reason for choosing just this corner as the origin is practical; when driving all axes to the home position, the tool magazine is given maximum space to move during the change without colliding with the workpiece.

It is possible to define a maximum of 6 work coordinate systems for the work area at the same time, which attach the origin of the coordinate system to a point in the machine coordinate system. Each work coordinate system can be freely defined independently of the others.
The work coordinate system is implemented with one of the G codewords G54 ... G59 and only one can be valid at a time. The G-code word can be entered either in an autorun program or manually in MDI mode. In the latter case, the relative positions of the position display show the position relative to the origin of the work coordinate system (also the absolute machine coordinates are always visible).

Determining the origin of the work coordinate system Due to the way in which the length offset of Lotta tools is determined, the position of the origin of the work coordinate system must be determined exactly as described here. If this is not done, the tool length data stored in the tool table is not valid and may not be used in the program. So act as described here.

  1. Select the beeper as the tool. The beeper is not stored in the magazine, so this is done by manually removing the tool on the spindle and replacing it with the beeper.
  2. Select the position information [POS] on the screen and confirm the display of the machine coordinates with the [ALL] soft key
    Disp select.jpg
  3. Manually guide the beeper ball ([MPG] is the most useful) close to the workpiece. Once you have decided which point will be the origin of the work coordinate system, guide the beeper ball to touch the origin alternately in the X and Y directions. Order does not matter in itself. Suppose you start with defining the X-direction. NOTE: Because the origin can be freely defined, the beeper can approach the point of contact from either the right or left. This causes a difference in the calculation of the X coordinate which will be taken into account later.
  4. When the ball touches the workpiece, it indicates the touch with an audible and visual signal. If you need a very accurate position coordinate, iterate the touch by scaling the handwheel movement smaller [100] -> [10] -> [1] until the desired touch accuracy is reached.
  5. Read the X coordinate of the contact from the X line of MACHINE coordinates.
  6. Compensates for the radius of the beeper ball. If you approached from the left, the contact is in a more positive direction by radius, so add 5,000 mm to the reading. If, on the other hand, you approached from the right, subtract the same amount.
    Disp position.jpg
  7. Switch offsets [MENU OFSET] and scroll [PAGE] to the desired work coordinate system
    Work coordinates.jpg
  8. Go to [CURSOR] for the desired coordinate system number (1 = G54, 2 = G55, etc. 'DO NOT select coordinate system 0!' )
  9. Now enter the newly measured and corrected reading as the X coordinate value using the number keys on the right side of the screen with the sequence [X] [nnn.nnn] [INPUT]. Make sure that the number you entered now appears in the correct location, ie as the X reading of the selected work coordinate system.
  10. Repeat the exercise by now directing the beeper ball in the Y direction to the origin and read the position and program the coordinate accordingly as a Y reading. The X / Y directions are now set.

The beeper cannot be used in the same way to determine the origin of the Z direction due to the tool length compensation used by Lotta. In fact, the origin of the Z-direction is determined very linearly by measuring its height from the table surface. The reading obtained is recorded directly in the work coordinate system as a Z-offset.
Until a dedicated instrument can be obtained, the easiest way to measure height is to use an angle iron and a caliper. Place the iron on the Z-plane where it is as horizontal as possible. Use a caliper to measure the height of the top surface of the iron from the table (watch out for debris and dents on the table!). Now when you subtract the thickness of the iron from the result (4,000 mm with Lotta's standard irons), the result is the Z coordinate directly and can be set in the same way as the X and Y coordinates above.

The coordinate system 0 displayed on the WORK COORDINATES screen is the so-called EXT or Extra coordinate system that behaves differently than other 1 ... 6. The offsets set in the EXT coordinate system are always valid regardless of which other coordinate systems are programmed for use. The determination of the length offsets of the Lotta tools is based on the use of the EXT Z offset with the length of the reference tool. THIS READING SHOULD NOT BE CHANGED unless it is intended to calibrate the calculation of the total length offset. If the reading changes, the length of each tool goes wrong immediately. So DO NOT MESS that figure!

3D-Tasterin käyttö

3D Taster