V23 Post Processors
What are the Scripting APIs for V23 posting?
Mill Scripting API Functions
-
Positioning Functions
-
RAPID MOVE COMMANDS
-
MILL_GetXRapid() as Double
-
Assigns the current rapid location for the X Axis to a user defined variable
-
variable_name = MILL_GetXRapid()
-
-
-
MILL_SetXRapid(Double)
-
Sets the current Rapid location for the X Axis using a Double variable.
-
MILL_SetXRapid(variable_name)
-
-
-
MILL_GetYRapid()as Double
-
Assigns the current rapid location for the Y Axis to a user defined variable
-
variable_name = MILL_GetYRapid()
-
-
-
MILL_SetYRapid(Double)
-
Sets the current Rapid location for the Y Axis using a Double variable.
-
MILL_SetYRapid(variable_name)
-
-
-
MILL_GetZRapid() as Double
-
Assigns the current rapid location for the Z Axis to a user defined variable
-
variable_name = MILL_GetZRapid()
-
-
-
MILL_SetZRapid(Double)
-
Sets the current Rapid location for the Z Axis using a Double variable.
-
MILL_SetZRapid(variable_name)
-
-
-
-
FEED MOVE COMMANDS
-
MILL_GetXFeed() as Double
-
Assigns the current Feed location for the X Axis to a user defined variable
-
variable_name = MILL_GetXFeed()
-
-
-
MILL_SetXFeed(Double)
-
Sets the current Feed location for the X Axis using a Double variable.
-
MILL_SetXFeed(variable_name)
-
-
-
MILL_GetYFeed()as Double
-
Assigns the current Feed location for the Y Axis to a user defined variable
-
variable_name = MILL_GetYFeed()
-
-
-
MILL_SetYFeed(Double)
-
Sets the current Feed location for the Y Axis using a Double variable.
-
MILL_SetYFeed(variable_name)
-
-
-
MILL_GetZFeed() as Double
-
Assigns the current Feed location for the Z Axis to a user defined variable
-
variable_name = MILL_GetZFeed()
-
-
-
MILL_SetZFeed(Double)
-
Sets the current Feed location for the Z Axis using a Double variable.
-
MILL_SetZFeed(variable_name)
-
-
-
MILL_SetPreviousXFeed(Double)
-
Sets the previous Feed location for the X Axis using a Double variable.
-
MILL_SetPreviousXFeed(variable_name)
-
-
-
MILL_GetPreviousXFeed() as Double
-
Assigns the previous feed location for the X Axis to a user defined variable
-
variable_name = MILL_GetPreviousXFeed()
-
-
-
MILL_SetPreviousYFeed(Double)
-
Sets the previous Feed location for the Y Axis using a Double variable.
-
MILL_SetPreviousYFeed(variable_name)
-
-
-
MILL_GetPreviousYFeed() as Double
-
Assigns the previous feed location for the Y Axis to a user defined variable
-
variable_name = MILL_GetPreviousYFeed()
-
-
-
MILL_SetPreviousZFeed(Double )
-
Sets the previous Feed location for the Z Axis using a Double variable.
-
MILL_SetPreviousZFeed(variable_name)
-
-
-
MILL_GetPreviousZFeed() as Double
-
Assigns the previous feed location for the Z Axis to a user defined variable
-
variable_name = MILL_GetPreviousZFeed()
-
-
-
-
ARC COMMANDS
-
MILL_GetArcCenterX() as Double
-
Assigns the X coordinate for the center of an arc to a user defined variable.
-
variable_name = MILL_GetArcCenterX()
-
-
-
MILL_GetArcCenterY() as Double
-
Assigns the Y coordinate for the center of an arc to a user defined variable.
-
variable_name = MILL_GetArcCenterY()
-
-
-
MILL_GetArcRadius() as Double
-
Assigns the Radius of an arc to a user defined variable.
-
variable_name = MILL_GetArcRadius()
-
-
-
MILL_GetArcAngleDegrees() as Double
-
Assigns the sweep of an Arc in radians to a user defined variable. To get the actual degrees the value must be multiplied by 180 and divided by pi.
-
variable_name = MILL_GetArcAngleDegrees()
-
-
-
MILL_GetArcMachiningPlane() as Integer
-
Assigns the current Machining Plane for Arcs to a user defined variable. (i.e. G17, G18, G19) The number returned from this function is a reference to the plane and not the actual plane designation.
-
variable_name = MILL_GetArcMachiningPlane()
-
0 = X/Y Plane
-
1 = Y/Z Plane
-
2 = X/Z Plane
-
-
-
-
-
ROTARY AXIS COMMANDS
-
MILL_GetRotaryIndexAngle() as Double
-
Assigns the current Index Angle for the Rotary Axis to a user defined variable. This returns the value that the user inputs for the Rotary Angle output within a Feature.
-
variable_name = MILL_GetRotaryIndexAngle()
-
-
-
MILL_GetRotaryIndexClearance() as Double
-
Assigns the Clearance distance for Rotary Index moves to a user defined variable.
-
variable_name = MILL_GetRotaryIndexClearance()
-
-
-
MILL_GetRotaryXYFeed() as Double
-
Assigns the Feedrate used in the current Rotary feature to a user defined variable.
-
variable_name = MILL_GetRotaryXYFeed()
-
-
-
MILL_GetRotaryAngle() as Double
-
Assigns the angle of the Rotary axis used in wrapping to a user defined variable.
-
variable_name = MILL_GetRotaryAngle()
-
-
-
MILL_GetPreviousXAngle() as Double
-
Assigns the previous angle of the rotary axis, around the X axis, to a user defined variable.
-
variable_name = MILL_GetPreviousXAngle()
-
-
-
MILL_GetPreviousYAngle() as Double
-
Assigns the previous angle of the rotary axis, around the Y axis, to a user defined variable.
-
variable_name = MILL_GetPreviousYAngle()
-
-
-
-
DRILLING COMMANDS
-
MILL_GetDrillDepth() as Double
-
Assigns the Drill Depth as output by the drill_depth posting variable in Incremental or Absolute as defined in the Part Settings.
-
variable_name = MILL_GetDrillDepth()
-
-
-
MILL_GetAbsDrillDepth() as Double
-
Assigns the Absolute depth of the Drilling operation to a user defined variable.
-
variable_name = MILL_GetAbsDrillDepth()
-
-
-
MILL_GetReferencPlaneHeight() as Double
-
MILL_GetInitialPlaneHeight() as Double
-
Returns the position to which the tool will rapid, in Z, at the beginning of a drilling operation. (Material Top + Rapid Plane)
-
variable_name = MILL_GetInitialPlaneHeight()
-
-
-
MILL_GetCannedCycleFeedRate() as Double
-
MILL_GetPeckDrillFirstPeckAmount() as Double
-
Outputs the First Peck Amount specified by the user within the drilling operation. If Pecking was not enabled, this function returns 0.
-
variable_name = MILL_GetPeckDrillFirstPeckAmount()
-
-
-
MILL_GetPeckDrillIncrement() as Double
-
Outputs the Peck Incerement value specified by the user within the drilling operation. If Pecking was no enabled, this function will return 0.
-
varaialbe_name = MILL_GetPeckDrillIncrement()
-
-
-
MILL_GetDwell() as Double
-
Outputs the Dwell amount that the user input into the tool dialog for the drilling operation. This value is assigned per individual tool.
-
variable_name = MILL_GetDwell()
-
-
-
MILL_GetDwellMilliseconds() as Double
-
MILL_GetTappingFeedRate() as Double
-
Outputs the federate for the tool as specified by the user. This function returns the federate for all tools in the drilling operation.
-
variable_name = MILL_GetTappingFeedRate()
-
-
-
MILL_GetTappingSpindleSpeed() as Double
-
Outputs the Spindle Speed for the tool as specified by the user. This function returns the spindle speed for all tools in the drilling operation.
-
variable_name = MILL_GetTappingSpindleSpeed()
-
-
-
MILL_GetThreadsPitch() as Double
-
Outputs the Pitch of the thread specified by the user.
-
variable_name = MILL_GetThreadsPitch()
-
-
-
MILL_GetThreadsPerInch() as Double
-
-
MILL_GetDrillZ() as Double
-
Outputs the final Z location of the drill.
-
variable_name = GetDrillZ()
-
-
-
MILL_GetClearanceZ() as Double
-
MILL_GetG98G99Mode() as Integer
-
Outputs 99 or 98 to a variable based on the value applied to line 516 in the post processor.
-
variable_name = MILL_GetG98G99Mode()
-
-
-
MILL_GetReturnPlaneDistance() as Double
-
MILL_GetSecurityPlaneDistance() as Double
-
-
-
-
Operation/Feature Functions
-
MILL_GetPassName() as String
-
Outputs the name of the current pass within an operation.
-
variable_name = MILL_GetPassName()
-
-
-
MILL_GetFeaturePassNameComment() as String
-
Outputs the comment for the current pass within an operation.
-
variable_name = MILL_GetFeaturePassNameComment()
-
-
-
MILL_GetFeatureNameComment() as String
-
Outputs the comment for the current feature.
-
variable_name = MILL_GetFeatureNameComment()
-
-
-
MILL_GetSystemComment() as String
-
Outputs the comment for the current system comment.
-
variable_name = MILL_GetSystemComment()
-
-
-
MILL_GetSubComment() as String
-
Outputs the comment for the current subroutine.
-
variable_name = MILL_GetSubComment()
-
-
-
MILL_GetSequenceNumber() as Short
-
Outputs the sequence number for the current line.
-
variable_name = MILL_GetSequenceNumber()
-
-
-
MILL_GetOperationType() as Short
-
Outputs the current operation type.
-
variable_name = MILL_GetOperationType()
-
-
-
MILL_GetDrillCycleType() as Short
-
Outputs a number which corresponds to a particular drilling operation.
-
variable_name = MILL_GetDrillCycleType()
-
-
-
MILL_GetCurrentFeatureNumber() as Short
-
Outputs the number of the current feature, based on the order in the CAM Tree.
-
variable_name = MILL_GetCurrentFeatureNumber()
-
-
-
MILL_GetCurrentContourNumber() as Short
-
Outputs the current contour number.
-
variable_name = MILL_GetCurrentContourNumber()
-
-
-
MILL_GetFirstLineNumber() as Short
-
Outputs the first line number of the program.
-
variable_name = MILL_GetFirstLineNumber()
-
-
-
MILL_GetCurrentLineNumber() as Short
-
Outputs the current line number of the program.
-
variable_name = MILL_GetCurrentLineNumber()
-
-
-
MILL_GetLineNumberIncrement() as Short
-
Outputs the line number increment.
-
variable_name = MILL_GetLineNumberIncrement()
-
-
-
MILL_GetFeatureType() as Short
-
Outputs the current operation type. (1=Center Hole, 2=Hole, 3=Tap, 4=Ream, 5=Counter Bore Hole, 6=Counter Bore Tap, 7=Counter Bore Ream, 15=Roll Tap, 16=Roll Counter Bore Tap, 18=Facing, 19=Pocketing, 20=Contour(Profile), 21=Chamfer Mill, 22=Engraving, 23=Boring, 24=Thread Milling, 26=Vector Graphics Engraving, 29=Slice Cut Planar, 30=Slice Cut Radial, 31=Slice Cut Spiral, 32=ZLevel Rough, 33=ZLevel Finish, 34=Equadistant Contour, 35=Pencil Mill, 36=Curve Cut, 40=V-Carving)
-
variable_name = MILL_GetFeatureType()
-
-
-
-
Program Functions
-
MILL_GetProgramName() as String
-
Outputs the fully qualified file name and path into a string variable.
-
variable_name = MILL_GetProgramName()
-
-
-
MILL_GetProcessOrder() as Short
-
Outputs a number telling whether By Tool or By Feature is selected. (0=By Feature, 1=By Tool)
-
variable_name = MILL_GetProcessOrder()
-
-
-
MILL_GetMachiningMode() as Short
-
Outputs whether Incremental or Absolute Positioning is enabled. (0=Absolute,1=Incremental)
-
variable_name = MILL_GetMachingMode()
-
-
-
MILL_GetProgramNumber() as String
-
Outputs the main program number into a string variable.
-
variable_name = MILL_GetProgramNumber()
-
-
-
MILL_GetStockMinX() as Double
-
Outputs the X coordinate for the bottom left hand corner of the Stock.
-
variable_name = MILL_GetStockMinX()
-
-
-
MILL_GetStockMinY() as Double
-
Outputs the Y coordinate for the bottom left hand corner of the Stock.
-
variable_name = MILL_GetStockMinY()
-
-
-
MILL_GetStockMinZ() as Double
-
Outputs the Z coordinate for the bottom left hand corner of the Stock.
-
variable_name = MILL_GetStockMinZ()
-
-
-
MILL_GetStockMaxX() as Double
-
Outputs the X coordinate for the top right hand corner of the Stock.
-
variable_name = MILL_GetStockMaxX()
-
-
-
MILL_GetStockMaxY() as Double
-
Outputs the Y coordinate for the top right hand corner of the Stock.
-
variable_name = MILL_GetStockMaxY()
-
-
-
MILL_GetStockMaxZ() as Double
-
Outputs the Z coordinate for the top right hand corner of the Stock.
-
variable_name = MILL_GetStockMaxZ()
-
-
-
MILL_GetRotaryStockDiameter() as Double
-
Outputs the diameter of the Rotary stock in the CAM Tree. If Rectangular stock is selected, a 0 will be output.
-
variable_name = MILL_GetRotaryStockDiameter()
-
-
-
MILL_GetRotaryStockLength() as Double
-
Outputs the length of the Rotary stock in the CAM Tree. If Rectangular stock is selected, a 0 will be output.
-
variable_name = MILL_GetRotaryStockLength()
-
-
-
MILL_GetRotaryAxis() as Short
-
Determines whether the Y or X axis is being used as the axis of rotation.(0=X is the Rotary, 1=Y is the Rotary Axis)
-
variable_name = MILL_GetRotaryStockAxis()
-
-
-
MILL_GetPartLength() as Double
-
Outputs the extents of the geometry, in the X Axis, selected for operations in the CAM Tree.
-
variable_name = MILL_GetPartLength()
-
-
-
MILL_GetPartWidth() as Double
-
Outputs the extents of the geometry, in the Y Axis, selected for operations in the CAM Tree.
-
variable_name = MILL_GetPartWidth()
-
-
-
MILL_GetOutputSubPrograms() as Short
-
Outputs whether the Subprograms are on or off.
-
(1 = Output Subs, 0 = Do NOT Output Subs).
-
variable_name = MILL_GetOutputSubPrograms()
-
-
-
MILL_GetUnits() as Short
-
Outputs a value to determine whether the system is outputting code in inches or mm.
-
(0=mm, 1=Inches)
-
variable_name = MILL_GetUnits()
-
-
-
MILL_GetGlobalStockHeight() as Double
-
Outputs the Global Stock height for all operations in the CAM Tree.
-
variable_name = MILL_GetGlobalStockHeight()
-
-
-
MILL_GetFeatureStockHeight() as Double
-
Outputs the Stock Height for an individual feature in the CAM Tree.
-
variable_name = MILL_GetFeatureStockHeight()
-
-
-
MILL_GetNumberOfContours() as Short
-
Outputs the total number of profiles assigned to operations in the CAM Tree.
-
variable_name = MILL_GetNumberOfContours()
-
-
-
MILL_GetNumberOfFeatures() as Short
-
Outputs the total number of features in the program.
-
variable_name = MILL_GetNumberOfFeatures()
-
-
-
-
Setup Functions
-
MILL_GetToolNumber() as Short
-
Outputs the Tool number for the current action.
-
variable_name = MILL_GetToolNumber()
-
-
-
MILL_GetFirstToolNumber() as Short
-
Outputs the number of the first tool in the program.
-
variable_name = MILL_GetFirstToolNumber()
-
-
-
MILL_GetNextToolNumber() as Short
-
Outputs the number for the next Tool in the program. If this function is used on the last tool in the program, it will return the tool number for the first tool in the program.
-
variable_name = MILL_GetNextToolNumber()
-
-
-
MILL_GetToolOffsetNumber() as Short
-
Outputs the offset number for the current tool.
-
variable_name = MILL_GetToolOffsetNumber()
-
-
-
MILL_GetNextToolOffsetNumber() as Short
-
Outputs the offset number for the next tool in the program. If this function is used on the last tool in the program, it will return the offset number for the first tool in the program.
-
variable_name = MILL_GetNextToolOffsetNumber()
-
-
-
MILL_GetToolDiameter() as Double
-
Outputs the diameter of the current tool.
-
variable_name = MILL_GetToolDiameter()
-
-
-
MILL_GetToolRadius() as Double
-
Outputs the radius of the current tool.
-
variable_name = MILL_GetToolRadius()
-
-
-
MILL_GetToolLength() as Double
-
Outputs the length of the current tool.
-
variable_name = MILL_GetToolLength()
-
-
-
MILL_GetSpindleSpeed() as Short
-
Outputs the spindle speed set for the current tool.
-
variable_name = MILL_GetSpindleSpeed()
-
-
-
MILL_GetMaximumSpindleSpeed() as Short
-
Outputs the maximum spindle speed specified in the Machine setup file.
-
variable_name = MILL_GetMaximumSpindleSpeed()
-
-
-
MILL_GetNumberOfContourEntities() as Short
-
Outputs the total number of entities in a given shape.
-
variable_name = MILL_GetNumberOfContourEntities()
-
-
-
MILL_GetCurrentContourEntityNumber() as Short
-
Outputs the number of the entity currently being posted.
-
variable_name = MILL_GetCurrentContourEntityNumber()
-
-
-
MILL_GetOffsetSide() as Short
-
Outputs the offset side.
-
(0=None, 1=Left, 2=Right)
-
variable_name = MILL_GetOffsetSide()
-
-
-
MILL_GetFeedRate() as Short
-
Outputs the feedrate for the current tool.
-
variable_name = MILL_GetFeedRate()
-
-
-
MILL_GetLeadinType() as Short
-
Outputs the Lead In type for the current operation.
-
(6=Plunge, 3=Parallel, 2=Right Angle, 0=Circular)
-
variable_name = MILL_GetLeadinType()
-
-
-
MILL_GetLeadoutType() as Short
-
Outputs the Lead Out type for the current operation. (6=Plunge, 3=Parallel, 2=Right Angle, 0=Circular)
-
variable_name = MILL_GetLeadoutType()
-
-
-
MILL_GetOffsetAmount() as Double
-
Outputs the amount that the current path is offset from the contour.
-
variable_name = MILL_GetOffsetAmount()
-
-
-
MILL_GetToolDiamCompNumberWithAddAmout()
-
Outputs the Diameter comp number with the add amount specified in the post processor on line 267.
-
variable_name = MILL_GetToolDiamCompNumberWithAddAmount()
-
-
-
MILL_GetToolDiamCompNumber()
-
Outputs the Diameter Comp number without the added amount on line 267.
-
variable_name = MILL_GetToolDiamCompNumber()
-
-
-
MILL_GetToolLengthCompNumber()
-
Outputs the Length Comp number for the current tool.
-
variable_name = MILL_GetToolLengthCompNumber()
-
-
-
MILL_GetToolName()
-
Outputs the system name for the tool. (i.e. ENDMILL ROUGH, ENDMILL FINISH, etc.)
-
variable_name = MILL_GetToolName()
-
-
-
MILL_GetWorkCoordNumber() as Integer
-
Outputs the work offset number.
-
(i.e. 1, 2, 3, etc.)
-
variable_name = MILL_GetWorkCoordNumber()
-
-
-
MILL_GetWorkCoordName() as String
-
Outputs the name of the work offset as specified on lines 901 through 999.
-
variable_name = MILL_GetWorkCoordName()
-
-
-
MILL_GetPatternWorkCoordNumber() as Integer
-
Outputs the work offset number. (i.e. 1, 2, 3, etc.)
-
variable_name = MILL_GetPatternWorkCoordNumber()
-
-
-
MILL_GetPatternWorkCoordName() as String
-
Outputs the name of the work offset as specified on lines 901 through 999.
-
variable_name = MILL_GetPatternWorkCoordName()
-
-
-
MILL_GetZeroPositionX() as Double
-
Outputs the Zero postion for the X axis.
-
variable_name = MILL_GetZeroPositionX()
-
-
-
MILL_GetZeroPositionY() as Double
-
Outputs the Zero postion for the Y axis.
-
variable_name = MILL_GetZeroPositionY()
-
-
-
MILL_GetZeroPositionZ() as Double
-
Outputs the Zero postion for the Z axis.
-
variable_name = MILL_GetZeroPositionZ()
-
-
-
MILL_GetSubProgramNumberWithPrefix() as String
-
Outputs the SubProgram number for the operation with the letter address specified in line 645.
-
variable_name = MILL_GetSubProgramNumberWithPrefix()
-
-
-
MILL_GetIsIncremental() as Short
-
Outputs a value to determine whether the posted program is in Incremental commands or Absolute.
-
(1=Incremental, 0=Absolute)
-
variable_name = MILL_GetIsIncremental()
-
-
-
Laser/Plasma/Waterjet Specific
-
MILL_GetLPWCutterWidth() as Double
-
Outputs the width of the cutter defined in the operation.
-
variable_name = MILL_GetLPWCutterWidth()
-
-
-
MILL_GetLPWPierceHeight() as Double
-
Outputs the Pierce height specified in the operation.
-
variable_name = MILL_GetLPWPierceHeight()
-
-
-
MILL_GetLPWIsCutterOnOff() as Short
-
Outputs a 0 or 1 to determine whether the cutter on/off was last issued.
-
variable_name = MILL_GetIsLPWCutterOnOff()
-
-
-
MILL_GetLPWGetCutterOnString() as String
-
Outputs the string defined in the post for turning on the cutter.
-
variable_name = MILL_GetLPWGetCutterOnString()
-
-
-
MILL_GetLPWGetCutterOffString() as String
-
Outputs the string defined in the post for turning off the cutter.
-
variable_name = MILL_GetLPWGetCutterOffString()
-
-
-
MILL_GetLPWIsGasAssistOnOff() as Short
-
Outputs a 0 or 1 to determine whether the gas assist on/off was last issued.
-
variable_name = MILL_GetIsGasAssistOnOff()
-
-
-
MILL_GetLPWGetGasAssistOnString() as String
-
Outputs the string defined in the post for turning on the gas assist.
-
variable_name = MILL_GetLPWGetGasAssistOnString()
-
-
-
MILL_GetLPWGetGasAssistOffString() as String
-
Outputs the string defined in the post for turning off the gas assist.
-
variable_name = MILL_ GetLPWGetGasAssistOffString ()
-
-
-
MILL_GetLPWIsGasAssistType() as Short
-
Outputs a number which determines the type of gas assist that has been selected (0=Air,1=Oxygen, 2=Oxyacetylene)
-
variable_name = MILL_ GetLPWIsGasAssistType()
-
-
-
MILL_GetLPWGetGasAssistAirString() as String
-
Outputs the string defined in the post processor for turning on the air assist.
-
variable_name = MILL_GetLPWGetGasAssistAirString()
-
-
-
MILL_GetLPWGetGasAssistOxygenString() as String
-
Outputs the string defined in the post processor for turning on the Oxygen assist.
-
variable_name = MILL_GetLPWGetGasAssistOxygenString()
-
-
-
MILL_GetLPWGetGasAssistOxyacetyleneString() as String
-
Outputs the string defined in the post processor for turning on the oxyacetylene assist.
-
variable_name = MILL_GetLPWGetGasAssistOxyacetyleneString()
-
-
-
MILL_GetLPWIsShutterOpen() as Short
-
Outputs a 0 or 1 to determine whether the shutter is opened or closed in the program. (0=closed, 1=opened)
-
variable_name = MILL_GetLPWGetGasAssistOxygenString()
-
-
-
MILL_GetLPWGetShutterOpenString() as String
-
Outputs the string defined for opening the shutter.
-
variable_name = MILL_GetLPWGetShutterOpenString()
-
-
-
MILL_GetLPWGetShutterClosedString() as String
-
Outputs the string defined for closinging the shutter.
-
variable_name = MILL_GetLPWGetShutterCloseString()
-
-
-
MILL_GetLPWPulseFrequency() as Short
-
Outputs the Pulse frequency defined in the operation.
-
variable_name = MILL_GetLPWPulseFrequency()
-
-
-
MILL_GetLPWPowerSetting() as Short
-
Outputs the Power setting defined in the operation.
-
variable_name = MILL_GetLPWPowerSetting()
-
-
-
MILL_GetLPWTorchHeightControl() as Short
-
Outputs the value defined in the operation for Torch Height Control
-
variable_name = MILL_GetLPWTorchHeightControl()
-
-
-
-
Miscellaneous
-
MILL_SetReturnString(LPCTSTR ReturnString)
-
Outputs a string that is used within a line of post processor variables. (i.e. n,x_f,y_f,program_block_1,feed)
-
MILL_SetReturnString(variable_name)
-
MILL_SetReturnString(“Sample String”)
-
-
-
MILL_OutputText(LPCTSTR OutString)
-
Outputs a string into the posted program with a Line Feed character.
-
MILL_OutputText(variable_name)
-
MILL_OutputText(“Sample String”)
-
-
-
MILL_ProcessPostLine(LPCTSTR OutString)
-
Outputs a string that is used as a Post Processor line.
-
MILL_ProcessPostLine(variable_name)
-
MILL_ProcessPostLine(“Sample String”)
-
-
-
MakeRealString(double RealValue)
-
Converts a Real value into a String value
-
String_Variable = MakeRealString(Real_Variable)
-
-
-
MakeXString(double XValue)
-
Converts a X Value into a String value.
-
String_Variable = MakeXString(GetXRapid())
-
-
-
MakeYString(double YValue)
-
Converts a Y Value into a String value.
-
String_Variable = MakeYString(GetYRapid())
-
-
-
MakeZString(double ZValue)
-
Converts a Z Value into a String value.
-
String_Variable = MakeZString(GetZRapid())
-
-
-
MILL_GetNumberOfIntMemoryLoc()
-
Returns the number of integer values stored in the IntMemory location.
-
Integer_variable = MILL_GetNumberOfIntMemoryLoc()
-
-
-
MILL_GetNumberOfDoubleMemoryLoc()
-
Returns the number of double values stored in the DoubleMemory location.
-
Integer_variable = MILL_GetNumberOfDoubleMemoryLoc()
-
-
-
MILL_GetNumberOfStringMemoryLoc()
-
Returns the number of string values stored in the StringMemory location.
-
Integer_variable = MILL_GetNumberOfStringMemoryLoc()
-
-
-
MILL_SetIntMemoryLoc(short Index,short SetInteger)
-
Assigns an integer value to an index location in the IntMemory container.
-
MILL_SetIntMemoryLoc(index_integer, integer_variable)
-
-
-
MILL_GetIntMemoryLoc(short Index)
-
Returns the integer value from the IntMemory container at a specified index position.
-
integer_variable = MILL_GetIntMemoryLoc(index_integer)
-
-
-
MILL_SetDoubleMemoryLoc(short Index, double SetDouble)
-
Assigns a decimal value to an index location in the DoubleMemory container.
-
MILL_SetDoubleMemoryLoc(index_integer, double_variable)
-
-
-
MILL_GetDoubleMemoryLoc(short Index)
-
Returns the decimal value from the DoubleMemory container at a specified index position.
-
decimal_variable = MILL_GetDoubleMemoryLoc(index_integer)
-
-
-
MILL_SetStringMemoryLoc(short Index, LPCTSTR SetString)
-
Assigns a string value to an index location in the StringMemory container.
-
MILL_SetStringMemoryLoc(index_integer, string_variable)
-
-
-
MILL_GetStringMemoryLoc(short Index)
-
Returns the string value from the StringMemory container at a specified index position.
-
string_variable = MILL_GetStringMemoryLoc(index_integer)
-
-
-
-
Used with Custom Dialogs
-
MILL_GetUserCheckBoxVariable(short Index)
-
Returns a 0 or 1 to determine whether a checkbox has been checked. The checkbox that is verified is determined by the index.
-
-
MILL_GetUserEditIntegerVariable (short Index)
-
Returns the integer value from the EditInteger text box at the specified index location.
-
-
MILL_GetUserEditRealVariable (short Index)
-
Returns the Real(decimal) value from the EditReal text box at the specified index location.
-
-
MILL_GetUserEditStringVariable (short Index)
-
Returns the String value from the EditString text box at the specified index location.
-
-
MILL_GetUserSelectComboVariable (short Index)
-
Returns the selected index item from the ComboBox at the specified control index.
-
-
Tags: -
Related entries:
Last update: 2009-08-14 13:04
Author:
Revision: 1.0
You cannot comment on this entry
