var fDesc=new Array(); fDesc[0] = "The cncGraF software is a program for controlling and operating CNC milling machines with three stepper motors. Command signals are sent via a parallel port (LPT) or a USB port to the power drivers and then to the built-in stepper motors of the CNC machine. The program also reads and indicates the condition of the three limit reference-switches, the emergency STOP switch, the material height sensor or the tool-length sensor. Two command signals, independent of the other signals, are used for the switching on, with the aid of relays, of the mill spindle motor and the coolant pump."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }