OpType: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JefD (talk | contribs)
No edit summary
ChrisH (talk | contribs)
 
(18 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>
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>


These are the Utility Op's strings sorted by Op Type?, OpFieldData#, and OpFieldData?:<br>
===Common Utility Operations===
'''OpType? (`string') boolean:'''<br>
LoadSpindleManual<br>
LoadSpindleManual<br>
LoadSpindleAutoClock<br>
LoadSpindleAutoClock<br>
Line 54: Line 63:
MoveTool<br>
MoveTool<br>
AllStop<br>
AllStop<br>
PartIncex<br>
PartIndex<br>
MachMode<br>
MachMode<br>
AddGCode<br>


'''OpFieldData# (`string') number command:'''<br>
<br>
FromWorkPiece<br>
'''GC2015, and later, only:'''<br>
ToWorkPiece<br>
ExtMTG<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:'''
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