OpType

From Compost Wiki
Revision as of 17:26, 12 October 2007 by JefD (talk | contribs)
Jump to navigation Jump to search

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 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.

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" Utility Operations These are the Utility Op's strings sorted by Op Type?, OpFieldData#, and OpFieldData?: OpType? (`string') boolean: 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

OpFieldData# (`string') number command: FromWorkPiece ToWorkPiece UserFlow UserWorkPiece

Feed Distance FeedRate MachineMode 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

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
Min Version 5.57