EDM Setup Block Parameters

The following tables define the list of standard variables (and their type) for each EDM Setup block.

BEGINNING OF EDM

END OF EDM

BEGINNING OF FOLDER

END OF FOLDER

BEGINNING OF ELECTRODE

END OF ELECTRODE

BEGINNING OF LOCATION

END OF LOCATION

BEGINNING OF OPERATION

END OF OPERATION

EDM TRAJECTORY LOCATION and EDM TRAJECTORY OPERATION

BEGINNING OF EDM

Variable

Default Format

Use and Comments

ELEC_CNT

6

Total number of electrodes in post execution

OP_CNT

6

Total number of electrodes in post execution

DATE_SDD

6

Day of month (integer)

DATE_SMM

6

Month (integer)

DATE_SYY

6

Year (integer)

TIME_SHH

0

Hour (integer)

TIME_SMM

0

Minutes

TIME_SSS

0

Seconds

PART_NAME

0

Assembly file name (see also COMPONENT_NAME)

PART_MATERIAL

0

 

PART_COMMENT

0

 

PART_PATH

0

 

COMPONENT_NAME

0

Component file name

COMP_BOX_X

COMP_BOX_Y

COMP_BOX_Z

1

Component (work piece) bounding box size (XYZ)

TOTAL_ELEC_CNT

6

Total number of electrodes in tree (not necessarily the number of electrodes selected for output in this execution)

MAIN_ASSY_UCS

0

Name of main assembly UCS

PFM_UNITS

0

PFM units (“MM” or “INCH”)

USER_NAME

0

 

NODE_ID

0

 

ETERNET_ID

0

 

 

 

Also, other regular GPP2 variables, such as LIST_SEPARATOR, ROOTE_PATH, ROOTE_PROGRAM or POST_NAME.

EXPORT_3D_FORMAT

6

Type of CAD files output format:
0 = None
1 = STEP
2 = Parasolid
3 = IGES.

TOTAL_LOC_CNT

6

Total number of locations in the whole tree (not necessarily the number of locations selected for output in this execution).

 

END OF EDM

Variable

Default Format

Use and Comments

ELEC_CNT

6

Total number of electrodes in post execution

OP_CNT

6

Total number of electrodes in post execution

BEGINNING OF FOLDER

Variable

Default Format

Use and Comments

FOLDER_ID

6

Simple counter, first folder is 1, etc.

FOLDER_NAME

0

Name of the electrode Folder (if it exists).

FOLDER_COMMENT

0

 

FOLDER_ELEC_CNT

6

Number of electrodes in the folder.

FOLDER_LOC_CNT

6

Number of locations in the folder (from all electrodes).

EDM_REF_UCS

0

Name of relevant UCS (same as in BEGINNING OF ELECTRODE).

EDM_REF_X

EDM_REF_Y

EDM_REF_Z

1

Same as in BEGINNING OF ELECTRODE.

EDM_REF_I

EDM_REF_J

EDM_REF_K

18

Same as in BEGINNING OF ELECTRODE.

EDM_REF_IX

EDM_REF_JX

EDM_REF_KX

18

Same as in BEGINNING OF ELECTRODE.

EDM_REF_UCS_ELEC_CNT

6

Number of electrodes under the REF UCS.

EDM_REF_UCS_LOC_CNT

6

Number of locations under the REF UCS.

END OF FOLDER

None.

BEGINNING OF ELECTRODE

Variable

Default Format

Use and Comments

LOC_CNT

6

Number of locations of this electrode.

ELEC_NAME

0

Electrode name.

ELEC_ID

6

Electrode ID number (non-sequential).

ELEC_SEQ

6

Electrode sequential counter in this run (starting from 1).

ELEC_COMMENT

0

 

ELEC_MATERIAL

0

Default electrode material.

EDM_REF_UCS

0

Name of electrode REF UCS.

EDM_REF_X

EDM_REF_Y

EDM_REF_Z

1

REF UCS zero point, in Main Assembly UCS terms.

EDM_REF_I

EDM_REF_J

EDM_REF_K

18

REF UCS Z axis direction, in Main Assembly UCS terms.

EDM_REF_IX

EDM_REF_JX

EDM_REF_KX

18

REF UCS X axis direction, in Main Assembly UCS terms.

EDM_BURN_UCS

0

Name of electrode Burn UCS.

EDM_NC_UCS

0

Name of electrode NC UCS.

BLANK_TYPE

0

 

BLANK_HEIGHT

1

 

BASE_HEIGHT

1

 

BLANK_CLEARANCE

1

Distance between the base bottom and the start of the burning faces.

BLANK_ALLOWANCE

1

Distance between the blank bottom and the end of the burning faces.

BLANK_LENGTH

1

Size of Blank along X (in circular blanks, the diameter).

BLANK_WIDTH

1

Size of Blank along Y (in circular blanks, the diameter).

BLANK_ROTATE

2

Blank rotation around Z (C angle). Same as LOC_C_END

ELEC_HOLDER_NAME

0

Holder name.

BASE_STEP_OFFSET

1

Electrode base step offset.

BASE_STEP_HEIGHT

1

Electrode base step height.

BASE_Z_SHIFT

1

Electrode base Z shift.

TOTAL_HEIGHT

1

Total height of holder and blank (from top holder Z to bottom blank Z).

NC_VS_BURN_X

NC_VS_BURN_Y

NC_VS_BURN_Z

1

Position of the NC UCS zero point, measured in the Burn UCS.

ELEC_AREA_2D

1

Electrode burn area in 2D (projected), as set by BurnFacesArea function (or manually by the user).

This parameter is “area”, so unit conversion is squared (For example, 1000 square mm are converted to 1.55 square inches).

ELEC_AREA_3D

1

Electrode burn area in 3D, as set by BurnFacesArea function (or manually by the user).

This parameter is “area”, so unit conversion is squared (For example, 1000 square mm are converted to 1.55 square inches).

TOTAL_LOC_CNT

6

Total number of locations in electrode (not necessarily the number of locations selected for output in this execution).

ELEC_RO_QTY

6

Parameters of ROUGH electrode tool.

ELEC_RO_ORBIT_TYPE

0

 

ELEC_RO_ORBIT_SIZE

1

 

ELEC_RO_SPARK_GAP

1

 

ELEC_RO_OFFSET

1

 

ELEC_RO_MATERIAL

0

 

ELEC_RO_HOLDER

6

 

ELEC_PF_QTY

6

Parameters of Pre-Finish electrode tool.

ELEC_PF_ORBIT_TYPE

0

 

ELEC_PF_ORBIT_SIZE

1

 

ELEC_PF_SPARK_GAP

1

 

ELEC_PF_OFFSET

1

 

ELEC_PF_MATERIAL

0

 

ELEC_PF_HOLDER

6

 

ELEC_FI_QTY

6

Parameters of Finish electrode tool.

ELEC_FI_ORBIT_TYPE

0

 

ELEC_FI_ORBIT_SIZE

1

 

ELEC_FI_SPARK_GAP

1

 

ELEC_FI_OFFSET

1

 

ELEC_FI_MATERIAL

0

 

ELEC_FI_HOLDER

6

 

ELEC_PO_QTY

6

Parameters of Polish electrode tool.

ELEC_PO_ORBIT_TYPE

0

 

ELEC_PO_ORBIT_SIZE

1

 

ELEC_PO_SPARK_GAP

1

 

ELEC_PO_OFFSET

1

 

ELEC_PO_MATERIAL

0

 

ELEC_PO_HOLDER

6

 

BURN_UCS_VS_BASE_CTR_X

1

X Position of the Base Center point, measured in the Burn UCS.

BURN_UCS_VS_BASE_CTR_Y

1

Y Position of the Base Center point, measured in the Burn UCS.

EDM_REF_UCS_ELEC_CNT

6

Number of electrodes under REF UCS.

EDM_REF_UCS_LOC_CNT

6

Number of locations under REF UCS.

ELEC_IN_FOLDER

6

Set to 1 if that "instance" of the electrode is inside a folder, 0 if not.

ELEC_FOLDER_CNT

6

Number of folders in which this electrode appears.

ELEC_FOLDER1
ELEC_FOLDER2
...
ELEC_FOLDER9

0

Up to nine names of folders in which that electrode appears.

ELEC_FIRST_INST

6

Set to 1 if this is the first instance of this electrode, 0 otherwise.

END OF ELECTRODE

Variable

Default Format

Use and Comments

LOC_CNT

6

Number of locations of this electrode.

BEGINNING OF LOCATION

Variable

Default Format

Use and Comments

LOC_NAME

0

 

LOC_ID

6

Location ID in this electrode, 1, 2, 3…

LOC_AUTONAME

0

Name of location, made up of the electrode name (ELEC_NAME), then ‘_’ and the location number (no minimum number of digits).

For instance, Part1-EL-001_4

LOC_TOP_Z

1

Burn delta top Z, with respect to the REF UCS.

LOC_BOTTOM_Z

1

Burn delta bottom Z, with respect to the REF UCS.

LOC_DELTA

1

Burn delta (top Z - bottom Z).

LOC_X_START

LOC_Y_START

LOC_Z_START

1

Start point X, Y, Z, with respect to the REF UCS. By default, this position is calculated based on the end position, the burning direction vector, and the burning motion length.

LOC_C_START

2

Start point Z axis angle.

LOC_X_END

LOC_Y_END

LOC_Z_END

1

End point X, Y, Z and C (describe position and orientation of electrode Burn UCS with respect to the REF UCS).

LOC_C_END

2

End point Z axis angle (describes the rotation of the Burn UCS, with respect to the REF UCS; rotation around Z axis).

LOC_BURN_I

LOC_BURN_J

LOC_BURN_K

18

Burning motion direction vector, expressed in REF UCS terms. The vector shows the direction from the start position to the end position (as the real burning motion).

LOC_BURN_LEN

1

Length of electrode burning motion (distance between START and END points).

BLANK_ORIGIN_X

BLANK_ORIGIN_Y

BLANK_ORIGIN_Z

1

Position of the center point of the blank base bottom face, with respect to the REF UCS.

BLANK_BOTTOM_Z

1

Z value of the blank bottom in that location, with respect to the REF UCS.

NC_VS_REF_X

NC_VS_REF_Y

NC_VS_REF_Z

1

Position of the NC UCS zero point, measured in the electrode REF UCS.

TRAJ_CNT

6

Number of Trajectory Steps for this location.

END OF LOCATION

None.

BEGINNING OF OPERATION

Variable

Default Format

Use and Comments

OP_ID

6

Operation ID number, 1, 2, 3…

ELEC_ID

6

Operation uses this electrode.

ELEC_SEQ

6

Sequential number of this electrode.

LOC_ID

6

Operation uses this location ID.

OP_TOOL

6

Tool: 1 for Rough, 2 for Pre-Finish, 3 for Finish, 4 for Polish.

TOOL_QTY

6

Specific parameters of the electrode tool used in this operation: quantity.

TOOL_ORBIT_TYPE

0

Orbit Type.

TOOL_ORBIT_SIZE

1

Orbit size.

TOOL_SPARK_GAP

1

Spark gap.

TOOL_OFFSET

1

Offset.

TOOL_MATERIAL

0

Material.

TOOL_HOLDER

6

Holder number.

 

 

All the electrode and location parameters are also available.

Note the TOOL_* parameters: they inherit the values of the specific tool used in this specific operation, depending on the OP_TOOL parameter. For instance, for a ROUGH tool (OP_TOOL = 1), the TOOL_QTY variable will get the value of the electrode ELEC_RO_QTY variable, etc. So, the TOOL_* parameters always have the relevant information for this operation.

END OF OPERATION

None

EDM TRAJECTORY LOCATION and EDM TRAJECTORY OPERATION

These blocks have the same parameters:

Variable

Default Format

Use and Comments

TRAJ_STEP

6

Step ID, 1, 2, 3…

TRAJ_TYPE

6

0 for initial, 1 for linear, 2 for rotation.

TRAJ_X

TRAJ_Y

TRAJ_Z

1

Linear motion target position X,Y,Z.

TRAJ_C

2

Target Z axis angle (absolute).

TRAJ_ROTATION

2

Rotation angle (incremental).

TRAJ_LAST_X

TRAJ_LAST_Y

TRAJ_LAST_Z

1

Last position X,Y,Z.

TRAJ_LAST_C

2

Last position C (Z axis angle).

TRAJ_MOTION_1

TRAJ_MOTION_2

TRAJ_MOTION_3

TRAJ_MOTION_4

TRAJ_MOTION_5

0

String attached to each of the 5 possible parameters of a trajectory motion.

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