Wire EDM Scripting Function Reference

Introduction

The Wire EDM post scripting API functions listed below are available to aid advanced users in extending the functionality of the post processing engine. To test the output of these functions, it is highly recommended that you test them in a copied version of the post processor rather than in a post processor that is in everyday use.


To test the scripting API in a production post processor, please be sure to make a backup copy of the original, as BobCAD-CAM Inc. may not have a clean copy of the original if it has been modified.


Wire EDM Scripting Function Reference

Rapid Move Functions

Function:

double EDM_GetZClearanceRapidMoves()

Description:

Returns Z clearance value for rapid moves, used only with programmabe Z machines.

Usage:

variable_name = EDM_GetZClearanceRapidMoves()

 

Function:

double EDM_GetFirstRapidX()

Description:

Return X value for the first rapid to start the program.

Usage:

variable_name = EDM_GetFirstRapidX()

 

Function:

double EDM_GetFirstRapidY()

Description:

Return Y value for the first rapid to start the program.

Usage:

variable_name = EDM_GetFirstRapidY()

 

Function:

double EDM_GetFirstRapidZ()

Description:

Return Z value for the first rapid to start the program.

Usage:

variable_name = EDM_GetFirstRapidZ()

 

Function:

double EDM_GetStartHoleRapidFeedRate()

Description:

Returns rapid feed value used to move the wire to the edge of the start hole.

Usage:

variable_name = EDM_GetStartHoleRapidFeedRate()

Feedrate & Feed Move Functions

Function:

double EDM_GetFeedRate()

Description:

Returns the current feed rate.

Usage:

varaiable_name = EDM_GetFeedRate()

 

Function:

double EDM_GetZCLearanceFeedMoves()

Description:

Returns Z clearance value for feed moves.  Used only with programmable Z Axis machines.

Usage:

variable_name = EDM_GetZClearanceFeedMoves()

 

Function:

double EDM_GetFirstCutFeedRate()

Description:

Returns federate of the first cut.

Usage:

variable_name = EDM_GetFirstCutFeedrate()

 

Function:

void EDM_SetXFeed(double var)

Description:

Sets X Feed move value used for 2 Axis Contour and 4 Axis XYUV.

Usage:

EDM_SetXFeed(variable_name)

 

Function:

double EDM_GetXFeed()

Description:

Returns X feed move value used for 2 Axis Contour and 4 Axis XYUV.

Usage:

variable_name = EDM_GetXFeed()

 

Function:

void EDM_SetYFeed(double var)

Description:

Sets Y Feed move value used for 2 Axis Contour and 4 Axis XYUV.

Usage:

EDM_SetYFeed(variable_name)

 

Function:

double EDM_GetYFeed()

Description:

Returns Y feed move value used for 2 Axis Contour and 4 Axis XYUV.

Usage:

variable_name = EDM_GetYFeed()

 

Function:

void EDM_SetUFeed(double var)

Description:

Sets U feed move value used for 4 Axis XYUV.

Usage:

EDM_SetUFeed(variable_name)

 

Function:

double EDM_GetUFeed()

Description:

Returns the U feed move value used for 4 Axis XYUV.

Usage:

variable_name = EDM_GetUFeed()

 

Function:

void EDM_SetVFeed(double var)

Description:

Sets V feed move value used for 4 Axis XYUV.

Usage:

EDM_SetVFeed(variable_name)

 

Function:

double EDM_GetVFeed()

Description:

Returns the V feed move value used for 4 Axis XYUV.

Usage:

variable_name = EDM_GetVFeed()

 

Function:

void EDM_SetXLowerFeed(double var)

Description:

Sets X lower feed move value used for 4 Axis entity to entity.

Usage:

EDM_SetXLowerFeed(variable_name)

 

Function:

double EDM_GetXLowerFeed()

Description:

Return X lower feed move value for 4 Axis entity to entity.

Usage:

variable_name = EDM_GetXLowerFeed()

 

Function:

void EDM_SetYLowerFeed(double var)

Description:

Sets Y lower feed move value used for 4 Axis entity to entity.

Usage:

EDM_SetYLowerFeed(variable_name)

 

Function:

double EDM_GetYLowerFeed()

Description:

Return Y lower feed move value for 4 Axis entity to entity.

Usage:

variable_name = EDM_GetYLowerFeed()

 

Function:

void EDM_SetXUpperFeed(double var)

Description:

Sets X upper feed move value used for 4 Axis entity to entity.

Usage:

EDM_SetXUpperFeed(variable_name)

 

Function:

double EDM_GetXUpperFeed()

Description:

Return X upper feed move value for 4 Axis entity to entity.

Usage:

variable_name = EDM_GetXUpperFeed()

 

Function:

void EDM_SetYUpperFeed(double var)

Description:

Sets Y upper feed move value used for 4 Axis entity to entity.

Usage:

EDM_SetYUpperFeed(variable_name)

 

Function:

double EDM_GetYUpperFeed()

Description:

Return Y upper feed move value for 4 Axis entity to entity.

Usage:

variable_name = EDM_GetYUpperFeed()

 

Function:

void EDM_SetPreviousXFeed(double var)

Description:

Sets previous X feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

EDM_SetPreviousXFeed(variable_name)

 

Function:

double EDM_GetPreviousXFeed()

Description:

Returns previous X feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetPreviousXFeed()

 

Function:

void EDM_SetPreviousYFeed(double var)

Description:

Sets previous Y feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

EDM_SetPreviousYFeed(variable_name)

 

Function:

double EDM_GetPreviousYFeed()

Description:

Returns previous Y feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetPreviousYFeed()

 

Function:

void EDM_SetPreviousUFeed(double var)

Description:

Sets previous U feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

EDM_SetPreviousUFeed(variable_name)

 

Function:

double EDM_GetPreviousUFeed()

Description:

Returns previous U feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetPreviousUFeed()

 

Function:

void EDM_SetPreviousVFeed(double var)

Description:

Sets previous V feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

EDM_SetPreviousVFeed(variable_name)

 

Function:

double EDM_GetPreviousVFeed()

Description:

Returns previous V feed move value used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetPreviousVFeed()

 

Function:

void EDM_SetPreviousUpperXFeed(double var)

Description:

Sets previous upper X feed move value used for 4 Axis Contour.

Usage:

EDM_SetPreviousUpperXFeed(variable_name)

 

Function:

double EDM_GetPreviousUpperXFeed()

Description:

Returns previous upper X feed move value used for 4 Axis Contour.

Usage:

variable_name = EDM_GetPreviousUpperXFeed()

 

Function:

void EDM_SetPreviousUpperYFeed(double var)

Description:

Sets previous upper Y feed move value used for 4 Axis Contour.

Usage:

EDM_SetPreviousUpperYFeed(variable_name)

 

Function:

double EDM_GetPreviousUpperYFeed()

Description:

Returns previous upper Y feed move value used for 4 Axis Contour.

Usage:

variable_name = EDM_GetPreviousUpperYFeed()

 

Function:

void EDM_SetPreviousLowerXFeed(double var)

Description:

Sets previous lower X feed move value used for 4 Axis Contour.

Usage:

EDM_SetPreviousLowerXFeed(variable_name)

 

Function:

double EDM_GetPreviousLowerXFeed()

Description:

Returns previous lower X feed move value used for 4 Axis Contour.

Usage:

variable_name = EDM_GetPreviousLowerXFeed()

 

Function:

void EDM_SetPreviousLowerYFeed(double var)

Description:

Sets previous lower Y feed move value used for 4 Axis Contour.

Usage:

EDM_SetPreviousLowerYFeed(variable_name)

 

Function:

double EDM_GetPreviousLowerYFeed()

Description:

Returns previous lower Y feed move value used for 4 Axis Contour.

Usage:

variable_name = EDM_GetPreviousLowerYFeed()

Arc Functions

Function:

double EDM_GetArcCenterX()

Description:

Returns the arc center X value. Used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetArcCenterX()

 

Function:

double EDM_GetArcCenterY()

Description:

Returns the arc center Y value. Used for 2 Axis and 4 Axis XYUV.

Usage:

variable_name = EDM_GetArcCenterY()

 

Function:

double EDM_GetLowerArcCenterX()

Description:

Returns lower arc center X value. Used for 4 Axis contouring.

Usage:

variable_name = EDM_GetLowerArcCenterX()

 

Function:

double EDM_GetLowerArcCenterY()

Description:

Returns lower arc center Y value. Used for 4 Axis contouring.

Usage:

variable_name = EDM_GetLowerArcCenterY()

 

Function:

double EDM_GetUpperArcCenterX()

Description:

Returns upper arc center X value. Used for 4 Axis contouring.

Usage:

variable_name = EDM_GetUpperArcCenterX()

 

Function:

double EDM_GetUpperArcCenterY()

Description:

Returns upper arc center Y value. Used for 4 Axis contouring.

Usage:

variable_name = EDM_GetUpperArcCenterY()

 

Function:

double EDM_GetArcRelCenterX()

Description:

Returns the arc center I value.

Usage:

variable_name = EDM_GetArcRelCenterX()

 

Function:

double EDM_GetArcRelCenterY()

Description:

Returns the arc center J value.

Usage:

variable_name = EDM_GetArcRelCenterY()

 

Function:

double EDM_GetArcRadius()

Description:

Returns the arc radius.

Usage:

variable_name = EDM_GetArcRadius()

General Functions

Function:

short EDM_GetUnits()

Description:

Returns:

0 = Inch

1 = Metric

Usage:

variable_name = EDM_GetUnits()

 

Function:

short EDM_GetFirstLineNumber()

Description:

Returns the NC line number start value.

 

Usage:

variable_name = EDM_GetFirstLineNumber()

 

Function:

short EDM_GetCurrentLineNumber()

Description:

Returns the current NC line number.

 

Usage:

variable_name = EDM_GetCurrentLineNumber()

 

Function:

short EDM_GetLineNumberIncrement()

Description:

Returns the NC line number increment value.

 

Usage:

variable_name = EDM_GetLineNumberIncrement()

Stock and Part Functions

Function:

double EDM_GetPartLength()

Description:

Returns the overall part length (X dimension).

Usage:

variable_name = EDM_GetPartLength()

 

Function:

double EDM_GetPartWidth()

Description:

Returns the overall part width (Y dimension).

Usage:

variable_name = EDM_GetPartWidth()

 

Function:

double EDM_GetGlobalStockHeight()

Description:

Returns the actual height of the defined stock.

Usage:

variable_name = EDM_GetGlobalStockHeight()

Feature/Operation Functions

General

Function:

short EDM_GetNumberOfFeatures()

Description:

Returns the total number of features.

Usage:

variable_name = EDM_GetNumberOfFeatures()

 

Function:

short EDM_GetCurrentFeatureNumber()

Description:

Returns the current feature number.

Usage:

variable_name = EDM_GetCurrentFeatureNumber()

 

Function:

short EDM_GetNumberOfContours()

Description:

Returns the total number of contours (cut passes).

Usage:

variable_name = EDM_GetNumberOfContours()

 

Function:

short EDM_GetCurrentContoursNumber()

Description:

Returns current contour (cut pass) number.

Usage:

variable_name­ = EDM_GetCurrentContoursNumber()

 

Function:

short EDM_GetNumberOfContourEntities()

Description:

Returns the total number of the geometric entities.

Usage:

variable_name­ = EDM_GetNumberOfContourEntities()

 

Function:

short EDM_GetCurrentContourEntityNumber()

Description:

Returns the number of the current contours, current geometric entity.

Usage:

variable_name­ = EDM_GetCurrentContourEntityNumber()

 

Function:

short EDM_GetCuttingPassNumber()

Description:

Returns the current pass number.

Usage:

variable_name­ = EDM_GetCuttingPassNumber()

 

Function:

short EDM_GetFeatureType()

Description:

Returns the feature type:

300 = Contour 2 Axis

301 = Contour 4 Axis

302 = Coreless Cut

Usage:

variable_name = EDM_GetFeatureType()

 

Function:

double EDM_GetWireDiameter()

Description:

Returns the diameter of the wire.

Usage:

variable_name = EDM_GetWireDiameter()

 

Function:

double EDM_GetFirstCutX()

Description:

Returns the X value for the current first cut.

Usage:

variable_name = EDM_GetFirstCutX()

 

Function:

double EDM_GetFirstCutY()

Description:

Returns the Y value for the current first cut.

Usage:

variable_name = EDM_GetFirstCutY()

 

Function:

short EDM_GetProgramTwoAxisNoTaper()

Description:

Returns:

0 = Program contains at least one taper cut.

1 = Program contains no cuts with taper.

Usage:

variable_name = EDM_GetProgramTwoAxisNoTaper()

 

Function:

double EDM_GetUpperPlaneZ()

Description:

Returns the Z value of the upper cutting plane.

Usage:

variable_name = EDM_GetUpperPlaneZ()

 

Function:

double EDM_GetLowerPlaneZ()

Description:

Returns the Z value of the lower cutting plane.

Usage:

variable_name = EDM_GetLowerPlaneZ()

 

Function:

short EDM_GetPassIsGlueStop()

Description:

Returns:

0 = Pass is not a glue stop / tab cut pass.

1 = Pass is a glue stop / tab cut pass.

Usage:

variable_name = EDM_GetPassIsGlueStop()

 

Function:

short EDM_GetProcessAsPunchDie()

Description:

Returns the part processing defined for open features:

0 = Die

1 = Punch

Usage:

variable_name = EDM_GetprocessAsPunchDie()

 

Function:

short EDM_GetProcessOrder()

Description:

Returns the process order defined in EDM Settings

Punch:

     0 = By Complete Feature

     1 = Rough & Skim / Glue Stop(Tab Cut)

     2 = Rough / Skim / Glue Stop(Tab Cut)

Die:

     3 = By Complete Feature

     4 = Rough / Glue Stop(Tab Cut) / All Skims

     5 = Rough / Glue Stop(Tab Cut) / Skim Passes

     6 = With Glue Stop(Tab Cuts) / Without Glue Stops(Tab Cuts)

Usage:

variable_name = EDM_GetProcessOrder()

 

Function:

short EDM_GetOffsetSide()

Description:

Returns:

0 = No Offset

1 = Offset Left

2 = Offset Right

Usage:

variable_name = EDM_GetOffsetSide()

 

Function:

short EDM_GetIsPatternContour()

Description:

Returns:

0 = Contour is not part of a pattern.

1 = Contour is part of a patter.

Usage:

variable_name = EDM_GetIsPatternContour()

 

Function:

double EDM_GetGreatestZValue()

Description:

Returns the greatest Z value in the program.

Usage:

variable_name = EDM_GetGreatestZValue()

 

Function:

double EDM_GetFeatureStockHeight()

Description:

Returns the operations stock height

Usage:

variable_name = EDM_GetFeatureStockHeight()

 

Function:

double EDM_GetMinimumWorkPieceHeight()

Description:

Returns the minimum allowed height of the work piece.

Usage:

variable_name = EDM_GetMinimumWorkPieceHeight()

 

Function:

short EDM_GetLeadinType()

Description:

Returns:

0 = Arc

1 = Perpendicular Blend

2 = Perpendicular

3 = Parallel

4 = Select Point

5 = Point Blend

Usage:

variable_name = EDM_GetleadinType()

 

Function:

short EDM_GetLeadoutType()

Description:

Returns:

0 = Arc

1 = Perpendicular Blend

2 = Perpendicular

3 = Parallel

4 = Select Point

5 = Point Blend

Usage:

variable_name = EDM_GetleadoutType()

 

Function:

short EDM_GetIsIncremental()

Description:

Returns if the coordinate output is incremental

0 = No

1 = Yes

Usage:

variable_name = EDM_GetIsIncremental()

 

Function:

short EDM_GetInsideOutsideOpen()

Description:

Returns the cutting shape type

-1 = Not Set

0 = Inside Cut

1 = Outside Cut

2 = Open Contour

Usage:

variable_name = EDM_GetInsideOutsideOpen()

 

Function:

short EDM_GetReverseSkimPasses()

Description:

Returns:

0 = Skims in same direction

1 = Each skim is reverse direction from previous skim

Usage:

variable_name = EDM_GetReverseSkimPasses

 

Function:

short EDM_GetIsCorelessCut()

Description:

Supported for 2 axis features.

 

Returns:

0 = Not using coreless cutting.

1 = This operation uses coreless cutting.

Usage:

variable_name = EDM_GetCorelessCut()

 

Function:

double EDM_GetStopDistance()

Description:

Returns the glue stop / tab cut distance.

Usage:

variable_name = EDM_GetStopDistance()

 

Function:

double EDM_GetOffsetAmount()

Description:

Returns the current offset amount.

Usage:

variable_name = EDM_GetOffsetAmount()

 

Function:

double EDM_GetFirstOffset()

Description:

Returns the first offset amount.

Usage:

variable_name = EDM_GetFirstOffset()

 

Function:

short EDM_GetPowerSetting()

Description:

Returns the current power setting value (epack for Mitsubishi)

Usage:

variable_name = EDM_GetPowerSetting()

 

Function:

short EDM_GetUseAutoThreader()

Description:

Returns:

0 = Manual wire threading

1 = Automatic wire threading

Usage:

variable_name = EDM_GetUseAutoThreader()

 

Function:

short EDM_GetIsWireThreaded()

Description:

Returns:

0 = Wire is not threaded

1 = Wire is threaded.

Usage:

variable_name = EDM_GetIsWireThreaded()

 

Function:

short EDM_GetUseSubmergedMachining()

Description:

Returns:

0 = Do not use submerged cutting.

1 = Use submerged cutting.

Usage:

variable_name = EDM_GetUseSubmergedMachining()

 

Function:

short EDM_GetOutputSubPrograms()

Description:

Returns:

0 = Output program using long form.

1 = Output program using subprograms.

Usage:

variable_name = EDM_GetOutputSubPrograms()

 

Function:

short EDM_GetPassCuttingDirection()

Description:

Returns the cutting direction for skim cuts.

-1 = Counter Clockwise

1 = clockwise

Usage:

variable_name = EDM_GetPassCuttingDirection()

 

Function:

short EDM_GetRoughPassCuttingDirection()

Description:

Returns the cutting direction for rough cuts.

-1 = Counter Clockwise

1 = clockwise

Usage:

variable_name = EDM_GetRoughtPassCuttingDirection()

 

Tapers & 4 Axis

Function:

short EDM_GetProgramFourAxis()

Description:

Returns:

0 = Program contains no 4 Axis cutting.

1 = Program contains at least one 4 Axis cut.

Usage:

variable_name = EDM_GetProgramFourAxis()

 

Function:

short EDM_ProgramHasTapers()

Description:

Returns:

0 = Program contains no taper cuts.

1 = Program contains at least one taper cut.

Usage:

variable_name = EDM_ProgramHasTapers()

 

Function:

double EDM_GetTaperAngle()

Description:

Returns the current taper angle.

Usage:

variable_name = EDM_GetTaperAngle()

 

Function:

double EDM_GetLowerGuidePosition()

Description:

Returns the Z Axis position of the lower wire guide.

Usage:

variable_name = EDM_GetLowerGuidePosition()

 

Function:

double EDM_GetUpperGuidePosition()

Description:

Returns the Z Axis position of the upper wire guide.

Usage:

variable_name = EDM_GetUpperGuidePosition()

 

Function:

double EDM_GetSlideHeight()

Description:

Returns the slide height.  This is only for the Japax machine.

Usage:

variable_name = EDM_GetSlideHeight()

 

Function:

double EDM_GetLandHeight()

Description:

Returns the height defined for the land in Land and Taper  cutting.

Usage:

variable_name = EDM_GetLandHeight()

 

Function:

double EDM_GetMaximumTaperAngle()

Description:

Returns the defined maximum taper angle.

Usage:

variable_name = EDM_GetMaximumTaperAngle()

 

Function:

double EDM_GetMaximumXYUVDifference()

Description:

Returns the maximum XY length between the XY values and the UV values.

Usage:

variable_name = EDM_GetMaximumXYUVDifference()

 

Function:

short EDM_GetIn4AxisCutting()

Description:

Returns if the current feature is using 4 Axis cutting:

0 = No

1 = Yes

Usage:

variable_name = EDM_GetIn4AxisCutting()

 

Function:

short EDM_GetUseLandAndTaper()

Description:

Only supported with 2 Axis Contour operations

Returns:

0 = No land and taper used.

1 = Land and taper is being used.

Usage:

variable_name = EDM_GetUseLandAndTaper()

 

Function:

short EDM_GetLandTopOrBottom()

Description:

Returns if land and taper is used:

0 = Land is on Bottom

1 = land is on Top

Usage:

variable_name = EDM_GetLandTopOrBottom()

 

Function:

double EDM_GetLandAndTaperAngle()

Description:

Returns the taper value used in land and taper.

Usage:

variable_name = EDM_GetLandAndTaperAngle()

 

Start Hole Functions

Function:

double EDM_GetStartHoleDiameter()

Description:

Returns the diameter of the start hole.

Usage:

variable_name = EDM_GetStartHoleDiameter()

 

Function:

double EDM_GetNumberOfStartHoles()

Description:

Returns the number of start holes in the program.

Usage:

variable_name = EDM_GetNumberOfStartHoles()

 

Function:

double EDM_GetStartHoleX()

Description:

Returns the X value for the current start hole.

Usage:

variable_name = EDM_GetStartHoleX()

 

Function:

double EDM_GetStartHoleY()

Description:

Returns the Y value for the current start hole.

Usage:

variable_name = EDM_GetStartHoleY()

Miscellaneous Functions

Function:

void EDM_SetReturnString(ReturnString)

Description:

For the case that the block will output code within an existing posting line (i.e n, rapid_move, program_block_1,xr,yr).

This would be used in Place of “EDM_OutputText”, and “EDM_ProcessPostLine”.

 

Set: Set the return string that will used to output code with and existing post line.

Usage:

EDM_SetReturnString(variable_name)

 

Function:

void EDM_OutputText(OutString)

Description:

Output a line of text with CR/LF to the NC text file.

Usage:

EDM_OutputText(variable_name)

 

Function:

void EDM_ProcessPostLine(OutString)

Description:

Output line of variables and constants with CR/LF to the NC text file. (i.e. “n,rapid_move,xr,yr,’M08’”).  The variables and constants will be treated just as it would in normal posting blocks.

Usage:

EDM_ProcessPostLine(variable_name)

 

 Function:

BSTR MakeRealString(double RealValue)

Description:

Return: String formatted according to Question:

414. for Metric

415. for Inch

Usage:

 

 

Function:

BSTR MakeXString(double XValue)

Description:

Returns string formatted according to Question:

414. for Metric

415. for Inch

With prefix from Question: 676.

Usage:

 

 

Function:

BSTR MakeYString(double YValue)

Description:

Returns string formatted according to Question:

414. for Metric

415. for Inch

With prefix from Question: 677.

Usage:

 

 

Function:

BSTR MakeUString(double UValue)

Description:

Returns string formatted according to Question:

414. for Metric

415. for Inch

With prefix from Question: 606.

Usage:

 

 

Function:

BSTR MakeVString(double VValue)

Description:

Returns string formatted according to Question:

414. for Metric

415. for Inch

With prefix from Question: 607.

Usage:

 

 

Function:

short EDM_GetNumberOfIntMemoryLoc()

Description:

Returns the number of integer memory locations allocated for global integer storage.

Usage:

variable_name = EDM_GetNumberOfIntMemoryLoc()

 

Function:

short EDM_GetNumberOfDoubleMemoryLoc()

Description:

Returns the number of real number memory locations allocated for global real number storage.

Usage:

variable_name = EDM_GetNumberOfDoubleMemoryLoc()

 

Function:

short EDM_GetNumberOfStringMemoryLoc()

Description:

Returns the number of string memory locations allocated for global string storage.

Usage:

variable_name = EDM_GetNumberOfStringMemoryLoc()

 

Function:

void EDM_SetIntMemoryLoc(short Index, short SetInteger)

Description:

Set the integer storage at Index with the value in Set  Integer

Usage:

EDM_SetIntMemoryLoc(variable_index, variable_integer)

 

Function:

short EDM_GetIntMemoryLoc(short Index)

Description:

Returns the integer storage value at the defined Index.

Usage:

variable_name = EDM_GetIntMemoryLoc(short Index)

 

Function:

short EDM_GetIntMemoryLoc(short Index)

Description:

Returns the integer storage value at the defined Index.

Usage:

variable_name = EDM_GetIntMemoryLoc(short Index)

 

Function:

double EDM_GetDoubleMemoryLoc(short Index)

Description:

Returns the real number storage value at the defined index.

Usage:

variable_name = EDM_GetDoubleMemoryLoc(short Index)

 

Function:

void EDM_SetDoubleMemoryLoc(short Index, double SetDouble)

Description:

Sets the real number storage at Index with the value in SetDouble.

Usage:

EDM_SetDoubleMemoryLoc(Index, SetDouble)

 

Function:

BSTR EDM_GetStringMemoryLoc(short Index)

Description:

Returns the string storage value as the Index.

Usage:

variable_name = EDM_GetStringMemoryLoc(Index)

 

Function:

void EDM_SetStringMemoryLoc(short Index, LPCTSTR SetString)

Description:

Sets the string storage at Index with the value in SetString.

Usage:

EDM_SetStringMemoryLoc(Index, SetString)

 

Function:

short EDM_GetAutoTaperRegNumber()

Description:

Returns the automatically created taper register number.

Usage:

variable_name = EDM_GetAutoTaperRegNumber()

 

Function:

short EDM_GetAutoOffsetRegNumber()

Description:

Returns the automatically created offset register number.

Usage:

variable_name = EDM_GetAutoOffsetRegNumber()

 

Function:

short EDM_GetAutoCtcRegNumber()

Description:

Returns the automatically created Ctc register number.

Usage:

variable_name = EDM_GetAutoCtcRegNumber()

 

Function:

short EDM_GetManualReg1Number()

Description:

Returns the manually entered register number for those machines that allow this option.

Usage:

variable_name = EDM_GetManualReg1Number()

 

Function:

short EDM_GetManualReg2Number()

Description:

Returns the manually entered register number for those machines that allow this option.

Usage:

variable_name = EDM_GetManualReg2Number()

 

Function:

short EDM_GetManualReg3Number()

Description:

Returns the manually entered register number for those machines that allow this option.

Usage:

variable_name = EDM_GetManualReg3Number()

 

Function:

short EDM_GetManualReg4Number()

Description:

Returns the manually entered register number for those machines that allow this option.

Usage:

variable_name = EDM_GetManualReg4Number()