M1xxReadDB-WriteHalPins
M1xxReadDB-WriteHalPins

RtClick and go FullScreen to make it legible! Hal EDM: a M1xx code reads a data base file and sets Halpins. The M1xx mechanism has 2 parameters, and I needed to set many. So I used the 2 allowed parameters as 1) name of file ( eg 99999983.enc) and 2) index into DB ( eg 23). The M122 command opens the file, reads entire contents ( small) and closes the file. Then it extract the desired line according to the Qparam (index). Then it parses 7 data from that line ( about 16 data exist, but I am only interested in 7 ). Then it assigns the data to Halpins. You can see the pins change in the Pyvcp side panel. Watch Ipk OnT OfT. Similar code can store a lot of tool info for mills, or other processes where tool tables just are limited in concept.

  • M1xxReadDB-WriteHalPins
home | help | find your video | about | api | code | talk to us