OpType: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Danielmo (talk | contribs)
No edit summary
Jeffm (talk | contribs)
No edit summary
Line 1: Line 1:
{{Description|description=This command will return true if the current operations type matches the parameter specified.  
{{Description|description=This command will return true if the current operations type matches the parameter specified.The parameter can be any string up to 255 characters in length and is not case sensitive. If the op is a utility OP or custom op then the type will be a name that is provided by the VMM or plug-in developer. If the op is a standard op then more then one string may correspond to the op type. In the case where a string refers to a specific sub type of op then the command will return true for only that specific sub type.
}}
{{Notes|notes=This command is the only way a post can know what the current Utility op type is. The VMM developer will provide you with the strings to use for each Utility op that your post/VMM should support.}}


The parameter can be any string up to 255 characters in length and is not case sensitive. If the op is a utility OP or custom op then the type will be a name that is provided by the VMM or plug-in developer. If the op is a standard op then the following strings are valid parameters for there corresponding op types. In the case where a string refers to a specific sub type of op then the command will  return true for only that specific sub type. The (") characters are not parts of the string.
==Known Op Names==
 
===Standard Ops===
Mill Op: "MILL" <br>
Mill Op: '''MILL''' <br>
Mill Drilling: "MDRILL" "DRILL" "ROUGHMILLBORE" "FINISHMILLBORE" <br>
Mill Drilling: '''MDRILL''' '''DRILL''' '''ROUGHMILLBORE''' '''FINISHMILLBORE''' <br>
Mill Contour: "CONTOUR" "MCONTOUR"<br>
Mill Contour: '''CONTOUR''' '''MCONTOUR'''<br>
Mill Pocket: "POCKET" "MPOCKET" "FACEMILL" "MFACEMILL" <br>
Mill Pocket: '''POCKET''' '''MPOCKET''' '''FACEMILL''' '''MFACEMILL''' <br>
Mill Threading: "THREADMILL" "MTHREADMILL" <br>
Mill Threading: '''THREADMILL''' '''MTHREADMILL''' <br>
Mill Surfacing: "SURFACE" "MSURFACE" <br>
Mill Surfacing: '''SURFACE''' '''MSURFACE''' <br>
Lathe Op: "LATHE" <br>
Lathe Op: '''LATHE''' <br>
Lathe Contour: "CONTOUR" "LCONTOUR" <br>
Lathe Contour: '''CONTOUR''' '''LCONTOUR''' <br>
Lathe Rough: "ROUGH" "LROUGH" <br>
Lathe Rough: '''ROUGH''' '''LROUGH''' <br>
Lathe Thread: "THREAD" "LTHREAD" <br>
Lathe Thread: '''THREAD''' '''LTHREAD''' <br>
Lathe Drill: "DRILL" "LDRILL" <br>
Lathe Drill: '''DRILL''' '''LDRILL''' <br>
Advanced 3D Machining: "Advanced 3D Machining" <br>
Advanced 3D Machining: '''Advanced 3D Machining''' <br>
VoluMill: "Custom_Plugin_VoluMill" <br>
VoluMill: '''Custom_Plugin_VoluMill''' <br>
Thread Whirling Plugin : '''TOURBILLONNAGE''' <br>
<br>
<br>


Utility Operations
===Common Utility Operations===
 
'''These are the Utility Op's strings sorted by Op Type?, OpFieldData#, and OpFieldData?:<br>'''
 
'''OpType? (`string') boolean:'''<br>
LoadSpindleManual<br>
LoadSpindleManual<br>
LoadSpindleAutoClock<br>
LoadSpindleAutoClock<br>
Line 62: Line 61:
MachMode<br>
MachMode<br>


'''OpFieldData# (`string') number command:'''<br>
FromWorkPiece<br>
ToWorkPiece<br>
UserFlow<br>
UserWorkPiece<br>
Feed Distance<br>
FeedRate<br>
MachineMode<br>
Orientation<br>
PartShiftDistance<br>
PartShiftDistanceS2<br>
PullBack<br>
SpindleSpeed<br>
Time<br>
TorqueVal<br>
TailStockHomeX (set in the MDD)<br>
TailStockHomeY (set in the MDD)<br>
TailStockHomeZ(set in the MDD)<br>
XClearance<br>
XDrop<br>
XPosition<br>
ZClearance<br>
ZClearanceS1<br>
ZClearanceS2<br>
ZDrop<br>
ZGrip<br>
ZGripS1<br>
ZGripS2<br>
ZInitialFacePos<br>
ZPosition<br>
ZRetract<br>
'''OpFieldData? (`string') boolean:'''<br>
AutoRemove<br>
CSynched<br>
Forward<br>
FullReturn<br>
LatheMode<br>
MainLoaded<br>
OpenCollet<br>
PartinMain<br>
PartinSub<br>
SpindleOn<br>
SpinUnloaded<br>
SubInUnload<br>
TorqueSensing<br>
WithPart<br>
CSSpindleZX<br>
NewPos<br>
ToolTip<br>
XNew<br>
XValue<br>
ZNew<br>
ZValue
}}
{{Notes|notes=This command is the only way a post can know what the current Utility op type is. The VMM developer will provide you with the strings to use for each Utility op that your post/VMM should support.}}
{{Stats|id=269|type=Boolean|class=All Machines|scope= Op Loop|version=5.57}}
{{Stats|id=269|type=Boolean|class=All Machines|scope= Op Loop|version=5.57}}
[[Category:MTM]]
[[Category:MTM]]

Revision as of 19:32, 24 September 2012

Description

This command will return true if the current operations type matches the parameter specified.The parameter can be any string up to 255 characters in length and is not case sensitive. If the op is a utility OP or custom op then the type will be a name that is provided by the VMM or plug-in developer. If the op is a standard op then more then one string may correspond to the op type. In the case where a string refers to a specific sub type of op then the command will return true for only that specific sub type.


Notes

This command is the only way a post can know what the current Utility op type is. The VMM developer will provide you with the strings to use for each Utility op that your post/VMM should support.


Known Op Names

Standard Ops

Mill Op: MILL
Mill Drilling: MDRILL DRILL ROUGHMILLBORE FINISHMILLBORE
Mill Contour: CONTOUR MCONTOUR
Mill Pocket: POCKET MPOCKET FACEMILL MFACEMILL
Mill Threading: THREADMILL MTHREADMILL
Mill Surfacing: SURFACE MSURFACE
Lathe Op: LATHE
Lathe Contour: CONTOUR LCONTOUR
Lathe Rough: ROUGH LROUGH
Lathe Thread: THREAD LTHREAD
Lathe Drill: DRILL LDRILL
Advanced 3D Machining: Advanced 3D Machining
VoluMill: Custom_Plugin_VoluMill
Thread Whirling Plugin : TOURBILLONNAGE

Common Utility Operations

LoadSpindleManual
LoadSpindleAutoClock
LoadSpindleBarFeed
LoadSpindleAutoBarFeed
LoadSpindleBarPull
LoadSpindleSubSpinPull
LoadSpindleRobot

UnLoadSpindleManual
UnLoadSpindleAutoClock
UnLoadSpindlePartCatcher
UnLoadSpindleGripper
UnLoadSpindleRobot
UnLoadSpindlePartDrop
UnLoadSpindlePushOut

SubSpindleOnPart
SubSpindleReturn

PartShiftManual
PartShiftAutoClock
PartShiftBarFeed
PartShiftAutoBarFeed
PartShiftBarPull
PartShiftSpinPull
PartShiftRobot

CatcherIn
CatcherOut

TailStockIn
TailStockOut
PosTailStock

MoveTool
AllStop
PartIncex
MachMode


Stats

ID 269
Type Boolean
Class All Machines
Scope Op Loop
Min Version 5.57