Tips and Tricks

Use of INTERACTION Variables

Reading Data from External Files

Protecting the Post Processor

More than Four Burning Stages

General Programming Tips

Use of INTERACTION Variables

As with all GPP2 PP, it is possible to use interaction variables. However, with EDM Setup, it is also possible to customize the EDM Setup GUI screen, using the "profile". Furthermore, the profile provides much richer options for GUI and user interaction control. More types of controls are available (check-boxes, radio buttons, spin-wheels), as well as visibility control (you can define if a parameter is shown, based on values of other parameters), and min-max values.

In addition, it is often smarter to gather all the user interaction in the same screen (the EDM Setup screen) rather than split it and leave some interaction to the PP dialog stage.

And of course, any user interaction parameter used in the EDM Setup screen is also available to the EX2 program (it just needs to be defined with the FORMAT command). So, the same control over PP behavior can be achieved using EDM Setup parameters instead of GPP2 INTERACTION variables.

Note that EDM Setup parameters that replace GPP2 interaction variables should be placed in the first tab (the "Part/Job" tab), since they are global in nature.

Reading Data from External Files

GPP2 has the ability to read data from an external text file and use it inside the post processor. While not limited to EDM Setup PP, this feature may prove very useful in some EDM setup scenarios. For instance, it is possible to read XY position correction values for individual electrode tools, and use the deltas to adjust the burning position. Alternatively, one can read in the file created by the Cimatron "XYZ Labeling" feature, and use that data for electrode CMM control. For more details, see the documentation for READ_DATA_FROM_FILE.

Protecting the Post Processor

As with any GPP2 PP, it is possible to protect the PP by using the GPP_PROTECT command. This may be especially important in EDM Setup PP, since the EDM Setup profiles are not protected, and can be used on any machine (they are simple XML files). So, if protection is needed, it should be applied through the relevant PP.

Note that it is possible to use multiple GPP_PROTECT statements in the same PP, specifying multiple module names. GPP2 will allow execution of such a PP if at least one of the modules is found. So, a single PP can be built to support multiple formats (with multiple protection modules). For example, see the EDM-EPX1 PP, which can be used by users who have either the EDM_WIZ_MITSUBISHI or the EDM_WIZ_MAKINO modules.

More than Four Burning Stages

By default, the EDM Setup application supports up to four burning stages at each location (namely, Rough, Pre-Finish, Finish and Polish). This has been enough for virtually all cases.

In the extreme case that more than four stages are needed, it is quite possible to build a profile and a PP that will handle such a case. In order to do that, the following strategy should be used (assume six burning stages are needed):

General Programming Tips

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.