OpType: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
ChrisH (talk | contribs)
 
(21 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Description|description=This command will return true if the current operations type matches the parameter specified.
=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 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.  
{{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: "MILL" <br>
==Known Op Names==
Mill Drilling: "MDRILL" "DRILL" "ROUGHMILLBORE" "FINISHMILLBORE" <br>
===Standard Ops===
Mill Contour: "CONTOUR" "MCONTOUR"<br>
Mill Op: '''MILL''' <br>
Mill Pocket: "POCKET" "MPOCKET" "FACEMILL" "MFACEMILL" <br>
Mill Drilling: '''MDRILL''', '''DRILL''', '''ROUGHMILLBORE''', '''FINISHMILLBORE''' <br>
Mill Threading: "THREADMILL" "MTHREADMILL" <br>
Mill Contour: '''CONTOUR''', '''MCONTOUR'''<br>
Mill Surfacing: "SURFACE" "MSURFACE" <br>
Mill Pocket (roughing): '''POCKET''', '''MPOCKET''', '''FACEMILL''', '''MFACEMILL''' <br>
Lathe Op: "LATHE" <br>
Mill Threading: '''THREADMILL''', '''MTHREADMILL''' <br>
Lathe Contour: "CONTOUR" "LCONTOUR" <br>
Mill Surfacing: '''SURFACE''', '''MSURFACE''' <br>
Lathe Rough: "ROUGH" "LROUGH" <br>
Lathe Op: '''LATHE''' <br>
Lathe Thread: "THREAD" "LTHREAD" <br>
Lathe Contour: '''CONTOUR''', '''LCONTOUR''' <br>
Lathe Drill: "DRILL" "LDRILL"
Lathe Rough: '''ROUGH''', '''LROUGH''' <br>
Utility Operations
Lathe Thread: '''THREAD''', '''LTHREAD''' <br>
These are the Utility Op's strings sorted by Op Type?, OpFieldData#, and OpFieldData?:
Lathe Drill: '''DRILL''', '''LDRILL''' <br>
'''OpType? (`string') boolean:'''
Advanced 3D Machining: '''Advanced 3D Machining''' <br>
LoadSpindleManual
VoluMill: '''Custom_Plugin_VoluMill''' <br>
LoadSpindleAutoClock
Thread Whirling Plugin : '''TOURBILLONNAGE''' <br>
LoadSpindleBarFeed
TMS 'data' op: '''GC_MULTI_PART_DATA''' <br>
LoadSpindleAutoBarFeed
Helix Bore Plugin: '''Custom_Plugin_Helix_Bore''' <br>
LoadSpindleBarPull
Prime Turning: '''PRIMETURNING''' (all prime turning ops), '''PRIMEROUGH''', '''LPRIMEROUGH''', '''PRIMECONTOUR''', '''LPRIMECONTOUR'''
LoadSpindleSubSpinPull
<br>
LoadSpindleRobot


UnLoadSpindleManual
===Common Utility Operations===
UnLoadSpindleAutoClock
LoadSpindleManual<br>
UnLoadSpindlePartCatcher
LoadSpindleAutoClock<br>
UnLoadSpindleGripper
LoadSpindleBarFeed<br>
UnLoadSpindleRobot
LoadSpindleAutoBarFeed<br>
UnLoadSpindlePartDrop
LoadSpindleBarPull<br>
UnLoadSpindlePushOut
LoadSpindleSubSpinPull<br>
LoadSpindleRobot<br>


SubSpindleOnPart
UnLoadSpindleManual<br>
SubSpindleReturn
UnLoadSpindleAutoClock<br>
UnLoadSpindlePartCatcher<br>
UnLoadSpindleGripper<br>
UnLoadSpindleRobot<br>
UnLoadSpindlePartDrop<br>
UnLoadSpindlePushOut<br>


PartShiftManual
SubSpindleOnPart<br>
PartShiftAutoClock
SubSpindleReturn<br>
PartShiftBarFeed
PartShiftAutoBarFeed
PartShiftBarPull
PartShiftSpinPull
PartShiftRobot


CatcherIn
PartShiftManual<br>
CatcherOut
PartShiftAutoClock<br>
PartShiftBarFeed<br>
PartShiftAutoBarFeed<br>
PartShiftBarPull<br>
PartShiftSpinPull<br>
PartShiftRobot<br>


TailStockIn
CatcherIn<br>
TailStockOut
CatcherOut<br>
PosTailStock


MoveTool
TailStockIn<br>
AllStop
TailStockOut<br>
PartIncex
PosTailStock<br>
MachMode


'''OpFieldData# (`string') number command:'''
MoveTool<br>
FromWorkPiece
AllStop<br>
ToWorkPiece
PartIndex<br>
UserFlow
MachMode<br>
UserWorkPiece
AddGCode<br>


Feed Distance
<br>
FeedRate
'''GC2015, and later, only:'''<br>
MachineMode
ExtMTG<br>
Orientation
PartShiftDistance
PartShiftDistanceS2
PullBack
SpindleSpeed
Time
TorqueVal
TailStockHomeX (set in the MDD)
TailStockHomeY (set in the MDD)
TailStockHomeZ (set in the MDD)
XClearance
XDrop
XPosition
ZClearance
ZClearanceS1
ZClearanceS2
ZDrop
ZGrip
ZGripS1
ZGripS2
ZInitialFacePos
ZPosition
ZRetract


'''OpFieldData? (`string') boolean:'''
AutoRemove
CSynched
Forward
FullReturn
LatheMode
MainLoaded
OpenCollet
PartinMain
PartinSub
SpindleOn
SpinUnloaded
SubInUnload
TorqueSensing
WithPart
CSSpindleZX
NewPos
ToolTip
XNew
XValue
ZNew
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]]

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