Sarah Hello
On 12/23/16 18:24, Sarah Armstrong wrote: > Merry Christmas to all > > Iam presuming we could use the probe sequencing as a way to find centre of > a hole , or find an edge > in the same way as a mill , just inhibit any power or in the case of a wire > keep it stationary edm machines can do all the edge center middle sensing operations its easy for edm machines as they basicly know about the tool touching the work ( about voltage drop from tool to workpiece ) so macros to do inside outside middle surface edge and angle measurement are easy ( lotsa code but easy ) > is their any edm machines actually using gcode / m codes? perhaps we can > use the same if theirs a common > trend , i presume there will be . > Fanuc makes sink edms, most dont make it out of Japan now but loads came in from 1970-1995 and they do use g & m codes there is a 'mode' code ( istr it was an mcode ) that is turned on it says, for all gcode past here, the velocity is determined by a gap sensor another code says ' all gcode past here uses the F and Fover knob for velocity' it has loops ( for while) and variables (Qnnn ) and system variables (#nnnn things like present position, metric/inch, offset system, etc ) mcodes and even gcodes can be user written, and supplied codes can be overwritten ( user codes have priority over manufacturer ) i wrote a boatload of macros for fanuc system 12 11 8 & 6 the big thing missing is a autosequencing power selection but Pet Knowles ( now US president of Hirschmann EDM supplies ) wrote such and I re-wrote and maintained them autosequencing means something like cut 1" cavity with 17 VDI finish using medium grade graphite into S7 steel using a circular orbit with tool of .011" undersize versus non-auto which is like choose technology for medium grade graphite and S7 steel set undersize as .011/side lookup the correct undersize for technology save a copy of the tech size error position tool to retract plane select the roughin channel in the tech read the overburn for that setting ask the desired cavity depth calculate the correct depth ( print - overburn + teschSizeError ) allow jumping whle roughing turn on flush turn on MODE-EDM g01 WhateverAxisIsUsed to (startposn + #calculatedDepth) g0 to posnWherePowerWasTurnedOn --- repeat every one of the above steps until all the power settings needed are executed depthwise and orbitwise --- return to start point remove EDM mode turn off flush i likely forgot a lot of steps ;-) in general these macros let the user get into position and pull the trigger for the entire process in a single macro call, a single line of code again, the uploaded samples can be a programming aid or model or just be of interest > Niklas > regarding your speed widget , it could be that the speed widget is not > loaded at the time your looking to find the pin > so changing the order of loading might help , > > Sarah > > > On 23 December 2016 at 11:07, Nicklas Karlsson <nicklas.karlsso...@gmail.com >> wrote: >> I will look for the mcodes you uploaded. With g-codes I more or less >> thought about all the different letters although which letter to use is >> rather important. letters are used in parameter passing for Fanuc in Linuxcnc you get 2 letters in my examples you can use the 2 letters, 1st letter to identify a technology table file, 2nd letter to identify a row in that technology table file each row can have as many data as you like, and you can use python and hal to set hardware to these values mcodes in python can get argv argc so i suppose a load of variables can be set there too , (maybe some magic comment trickery so its in text form inside the ngc file) maybe all the data isnt important for linuxcnc to know about, if hal knows it may be sufficient regards tomp tjtr33 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users