Adding a User Parameter

You can add a user parameter in all Prismatic, Surface, and Turning Machining Operations.


Before you begin:

This is an example, the operating mode is the same for all the Prismatic, Surface, and Turning Machining Operations.

  1. Go to Me > Preferences > App Preferences > Simulation > Machining > NC Machining Apps Common Services > Operation > User Interface, and select the User Parameters check box to display the User Parameters tab in the Machining Operation dialog box.
  2. Activate the Manufacturing Program.
    1. Select Prismatic Machining section.
    2. Click Profile Contouring .

      The Profile Contouring dialog box appears directly at the Geometry tab .

    3. Select Strategy tab, then to User Parameters tab.
  3. Click Add .
    1. In the Add Parameter dialog box that appears, enter the Name of the user parameter, MFG_WORK_TYPE.
    2. Select a Type (Boolean, Integer, Real, Angle, Length, String) from the list, Boolean in our scenario, and Select OK.
  4. If you have selected:
    • Boolean: In the Edit Parameter dialog box that appears, select the check box with the name of the parameter (that you created) to specify it as True.
      Tip: Selecting the check box specifies the value of the parameter to True, not selecting the check box specifies the value of the parameter as False.
    • Integer,Real, Angle, or Length: The Edit Parameter dialog box lets you enter the value.
    • String: The Edit Parameter dialog box lets you enter the string. MyString
  5. Optional: Double-click the line of the parameter in the dialog box, or select the line and Select .
    The Edit Parameter dialog box appears again, letting you change the parameter value.
  6. To add a comment to a user parameter, in the Edit Parameter dialog box, right-click in the value field and select Edit Comment.

    This is impossible for Boolean parameters.

    1. Select Edit Comment, the URLs & Comment dialog box appears.
    2. Key in a URL and a comment in URLs & Comment dialog box like http:\\www.example.net
    3. Select Add to specify the URL name and browse your files to specify the URL destination.
    4. Select Go in URLs & Comment dialog box to reach the URL destination.
    5. Select the URL name and Select Modify to edit the URL details.
    6. Select the URL name and Select Remove to delete the URL.
    The content of your comment appears as a tooltip when you place the pointer over the parameter in the dialog box
  7. Click to remove the selected user parameter.
    See Dialog boxes, Probing Operations in Prismatic Machining for more information.
  8. Select OK.
    Note:
    • Parameters that have no value field require to use the formula dialog box.
    • You can generate user parameters in the APT file when you modify a macro in the PPtable. For example, if you add the MFG_WORK_TYPE string parameter with Cartesian value then it is taken into account in the APT source.
      *START_NC_COMMAND NC_AXIAL_MO_START_COMMENT
       LOADTL/%MFG_SPINDLE_NAME,%MFG_WORK_TYPE
      *END /
       *START_NC_COMMAND NC_MILL_MO_START_COMMENT
       LOADTL/%MFG_SPINDLE_NAME,%MFG_WORK_TYPE
       *END/