Michal Masařík Web application developer and programmer.
GitHub I am interested in cooperation

...
for(let g = 1; g < 6; g++) {
	for(let p = 1; p < 6; p++) {
		if(document.getElementById("sub_class_" + g + "_" + p).style.backgroundImage == "") {
			if(found_pos == 0) {
				empty_row = "_" + g + "_" + p;
				found_pos = 1;
			}
		}
	}
}
if(found_pos == 1) {
	if(document.getElementById("sub_class" + empty_row)) {
...

Fanuc helper



What is it?


Fanuc helper facilitates manual programming in the FANUC system.

My goal was to create a helper that would not need to be installed and would run on every computer in our company. So that it all fits in one file, I created it using JavaScript, HTML and CSS. All you need to run it is an internet browser.


Preview and download


CZPreview Download

CZPreview Download


Raster


The raster function is used to create zero points on the board. For example, using the G52 function, I move the zero point for each tool to the position that the program generates for me and gradually machine the individual pieces.

Náhled - rastr


Divider


The divider function is used to generate rotation points. You can also check them afterwards. The program plots individual rotations on a circle and marks in red those points that have already exceeded the rotation by 360°.

Náhled - dělička


Bevel


The bevel function is used to calculate the remaining dimensions with the help of a right-angled triangle. For example, we have a bevel of 10x20°, so in the FANUC system we also need to know the third distance - we can calculate it with this function.

Náhled - zkosení


Drill


The drill function is used to count the tip of the drill bit. For example, I need to drill a hole with a diameter of 10 mm to a depth of 6 mm. I know that my drill has an approximate angle of 133.4°, so I will send the drill to a depth of 8.15mm.

Náhled - vrták