OK i have come across another small problem when i ref one axis after another to ref i want the machine in G94 mode with a feedrate of 150mm per min otherwise the referencing runs at a different speed and the home position is off
Code "G94"
Code "F150"
DoOEMButton (1022)
DoOEMButton (1024
The code above works perfectly but in general use i want the machine to be in G95 mode but when i change the code below as follows the referencing in ignoring the first two lines of code and using G95 all the way through
So i want to ref in G94 then automatically change to G95
Code "G94"
Code "F150"
DoOEMButton (1022)
DoOEMButton (1024)
Code "G95"
Code "F0.1"
All this code above runs in G95 mode
So i added the following pause but it still runs in in G95
Code "G94"
Code "F150"
DoOEMButton (1022)
DoOEMButton (1024)
Code "G04 P2"
Code "G95"
Code "F0.1"
Any clues anyone ?