OpType: Difference between revisions
No edit summary |
|||
| (19 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
=OpType?('n')= | |||
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 | {{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.}} | |||
Mill Op: | ==Known Op Names== | ||
Mill Drilling: | ===Standard Ops=== | ||
Mill Contour: | Mill Op: '''MILL''' <br> | ||
Mill Pocket: | Mill Drilling: '''MDRILL''', '''DRILL''', '''ROUGHMILLBORE''', '''FINISHMILLBORE''' <br> | ||
Mill Threading: | Mill Contour: '''CONTOUR''', '''MCONTOUR'''<br> | ||
Mill Surfacing: | Mill Pocket (roughing): '''POCKET''', '''MPOCKET''', '''FACEMILL''', '''MFACEMILL''' <br> | ||
Lathe Op: | Mill Threading: '''THREADMILL''', '''MTHREADMILL''' <br> | ||
Lathe Contour: | Mill Surfacing: '''SURFACE''', '''MSURFACE''' <br> | ||
Lathe Rough: | Lathe Op: '''LATHE''' <br> | ||
Lathe Thread: | Lathe Contour: '''CONTOUR''', '''LCONTOUR''' <br> | ||
Lathe Drill: | Lathe Rough: '''ROUGH''', '''LROUGH''' <br> | ||
Lathe Thread: '''THREAD''', '''LTHREAD''' <br> | |||
Lathe Drill: '''DRILL''', '''LDRILL''' <br> | |||
Advanced 3D Machining: '''Advanced 3D Machining''' <br> | |||
VoluMill: '''Custom_Plugin_VoluMill''' <br> | |||
Thread Whirling Plugin : '''TOURBILLONNAGE''' <br> | |||
TMS 'data' op: '''GC_MULTI_PART_DATA''' <br> | |||
Helix Bore Plugin: '''Custom_Plugin_Helix_Bore''' <br> | |||
Prime Turning: '''PRIMETURNING''' (all prime turning ops), '''PRIMEROUGH''', '''LPRIMEROUGH''', '''PRIMECONTOUR''', '''LPRIMECONTOUR''' | |||
<br> | |||
===Common Utility Operations=== | |||
LoadSpindleManual<br> | LoadSpindleManual<br> | ||
LoadSpindleAutoClock<br> | LoadSpindleAutoClock<br> | ||
| Line 54: | Line 63: | ||
MoveTool<br> | MoveTool<br> | ||
AllStop<br> | AllStop<br> | ||
PartIndex<br> | |||
MachMode<br> | MachMode<br> | ||
AddGCode<br> | |||
<br> | |||
'''GC2015, and later, only:'''<br> | |||
ExtMTG<br> | |||
''' | |||
{{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]] | ||
Latest revision as of 19:36, 5 September 2023
OpType?('n')
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 (roughing): 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
TMS 'data' op: GC_MULTI_PART_DATA
Helix Bore Plugin: Custom_Plugin_Helix_Bore
Prime Turning: PRIMETURNING (all prime turning ops), PRIMEROUGH, LPRIMEROUGH, PRIMECONTOUR, LPRIMECONTOUR
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
PartIndex
MachMode
AddGCode
GC2015, and later, only:
ExtMTG
Stats
ID 269 Type Boolean Class All Machines Scope Op Loop Min Version 5.57