Registers

Next, we will define all the individual address registers that will be used by the post-processor.

Double-click on the Registers node from the tree view under General Description. This will bring up the Initialize Registers dialogue. Set the Leading zero and Trailing zero options as shown in the graphic below. This will insure that the various linear registers will have at least a single leading and trailing zero. This makes the output easier to read generally neater and more uniform in appearance. Once the settings are established, simply click on the OK button.

We now have the basic registers required and enabled for the post-processor.

Next, double-click on the G2 register. Change the option for the Leading zero to Keep. This will insure that we will get a leading zero for single-digit G-codes. Initially the RS-274D established a recommended standard of 2-digits for the G-codes defined in that standard. It was common for earlier control systems to enforce this. Most would actually generate alarms if a single digit G-code was used. (ex. G0 instead of G00) Next, double-click on the Ss4 register. Change the Primary precision ‘Before’ value to 5. This will allow the post-processor to support spindle RPMs up to 99,999. Next, double-click on the Fe4.1e register. Change the Primary precision ‘Before’ value to 5 and the ’After’ value to 3. This will allow the post-processor to support an output federate with a resolution of one micron (0.001). Next, we will need to add four new registers. We need to add both ‘P’ and ‘Q’ as well as ‘H’ and ‘D’.

The ‘P’ register is used for dwell in FANUC canned drilling cycles and the ‘Q’ register is used for step value in deep-hole (G83) and chip-break (G73) drilling cycles.

The ‘H’ register is used for formatting the tool length offset address.

The ‘D’ register is used for formatting the tool radius offset address.

Click on the ‘Add’ icon directly aboove the ‘Enable’ column in the register display. Add the ‘P’ register with the settings shown in the graphic below and then click on the ‘OK’ button. Click on the ‘Add’ icon directly aboove the ‘Enable’ column in the register display. Add the ‘Q’ register with the settings shown in the graphic below and then click on the ‘OK’ button. Click on the ‘Add’ icon directly aboove the ‘Enable’ column in the register display. Add the ‘H’ register with the settings shown in the graphic below and then click on the ‘OK’ button. Click on the ‘Add’ icon directly aboove the ‘Enable’ column in the register display. Add the ‘D’ register with the settings shown in the graphic below and then click on the ‘OK’ button. Next, highlight the ‘Ps43’ register and drag it below the ‘Ze4.3e’ register in the list. Repeat this for the ‘Qe4.3e’ register and drag it below the ‘Ps43’ register.

You can also use the Up and Down arrow icons for this. Position the ‘H2’ register immediately after the ‘Gs2’ register. Position the ‘D2’ register immediately after the ‘H2’ register.

Important Note: This order is very important. The order of the registers in the list controls the order that they will be output in the NC code.

Once you have set all the information for the registers, click on the ‘OK’ button at the right, just above the information area, to accept all of the settings. This will close the ‘Registers’ section of the post-processor shown in the tree view in the left-hand portion of the Quest interface.