g15 function currentSection.workOffset

g15 function currentSection.workOffset

Anonymous
Not applicable
729 Views
1 Reply
Message 1 of 2

g15 function currentSection.workOffset

Anonymous
Not applicable

hello,

 

why, after changing the rotation of the B axis, I still have the same base number H01? not H02, H03 itp?

how to set up bases for different revolutions?

 

Nowy obraz mapy bitowej.png

I would like to generate at the top of the program:

 

N4 VZOFX[1]=000.000 VZOFY[1]=422.000 VZOFZ[1]=185.000 ( B0 )
N5 VZOFX[2]=000.000 VZOFY[2]=422.000 VZOFZ[2]=105.000 ( B180 )
N6 VZOFX[3]=-92.307 VZOFY[3]=422.000 VZOFZ[3]=-11.334 ( B97 )

 

 

sorry for my english 🙂 

0 Likes
730 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

 

 

 

writeBlock(gMotionModal.format(0), "Z" + xyzFormat.format(machineConfiguration.getRetractPlane()));
var bazy_dawid = [];

function generator(){
  if (machineConfiguration.isMultiAxisConfiguration()) { 
    var abc = new Vector(0, 0, 0); 
    abc = getWorkPlaneMachineABC(currentSection.workPlane);
    fLen =  bazy_dawid.length;
    bazy_dawid[fLen] = conditional(machineConfiguration.isMachineCoordinate(1), "B" + abcFormat.format(abc.y));
 
  }
}
function pobierz_liste_baz(){
  fLen2 =  bazy_dawid.length;
  text = "";
  for (i = 0; i < fLen2; i++) {
      text += " - " + bazy_dawid[i] + " - ";
  }
  return("ilosc: ("+fLen2+") "+text);
}
function onClose() { 
 writeln(pobierz_liste_baz());

generate me:

 

ilosc: (3) - B0 - - B90 - - B90 -
N54 M15 B0
N55 X9999. Y9999.
N56 M2

 

can these values be displayed at the very top of the file?

behind name program:

$TESTOWANIE.MIN%

writeln(pobierz_liste_baz());
ilosc: (0) 
I can do something like that?
 
 
 
0 Likes