### Global Commands

The table below defines the list of global commands available in the Edit window. While you cannot alter these commands, the Edit window does allow you to select the minor commands following these major commands.

To select the minor commands:

1. Place the cursor over a minor command in the Edit window.

2. Clicking the left mouse button.

3. Press F7 or F8. This toggles through the available choices.

This list serves as a comprehensive summary of the commands that can be added to a part program. See each specific section for more information as necessary.

Note: The maximum number of characters that PC-DMIS can manage within any line of the Edit window is 280.

MAJOR COMMAND | MINOR COMMAND
2DANGLE (see "Dimensioning Angle") | A
2DDISTANCE (see "Dimensioning Distance") | M
3DANGLE (see "Dimensioning Angle" | A
3DDISTANCE (see "Dimensioning Distance") | M
ALIGNMENT (see the "Creating and Using Alignments" section) | BF2D, BF3D, ITERATE, LEVEL, ROTATE, TRANS, ROTATE_OFFSET, TRANS_OFFSET, RECALL, RECALL_EXTERNAL
ANGULARITY (see "Dimensioning Angularity") | M
ANALYSISVIEW (see "Analysis") |
ARRAY INDICES (see "Arrays") |
ASSIGN (see "Using Variables with Expressions") |
ATTACH (see "IDs for features within subroutines, basic scripts, or external programs") |
AUTO (see "Sheet Metal Measurements") | VECTOR POINT, SURFACE POINT, EDGE POINT, CORNER POINT, ANGLE POINT, HIGH POINT, SPHERE, CIRCLE, CYLINDER, SQUARE SLOT, ROUND SLOT, CONE, ELLIPSE, NOTCH, CONE
AUTOTRIGGER (see "Parameter Settings: Probe Trigger Options tab") |
CAD EQUALS PART (see "CAD Equals Part") |
CALCULATION |
CALLSUB (see "Calling a Subroutine") |
CASE (see "Case / End Case") |
CHECK (see "Check Distance") |
CLEARP (see "Parameter Settings: Clearance Plane tab") | "WORK PLANE VALUE"
CLAMP (see "Clamping Value") |
COLUMN132 (see "Dimensions") |
COMMENT (see "Comments") | OPER, REPORT
CONCENTRICITY (see "Dimensioning Concentricity") | M
CONST (see "Constructed Features") | CIRCLE, CONE, CURVE, CYLINDER, ELLIPSE, LINE, PLANE, POINT, SET, SURFACE, SPHERE
CIRCULARITY (see "Dimensioning Circularity") |
CYLINDRICITY (see "Dimensioning Cylindricity") |
DEFAULT_CASE (See "Default Case / End Default Case") |
DISPLAY (see "Screen Captures") | METAFILE
DO (see "Do / Until") |
ELSE (see "Else / End Else") |
END_ELSEIF (See "Else If / End Else If") |
ELSE_IF (see "Else If / End Else If") |
END_CASE (see "Case / End Case") |
END_DEFAULTCASE (see "Default Case / End Default Case" ) |
END_ELSE (see "Else / End Else") |
END_IF (see "If / End If"). |
END_SELECT (see "Select / End Select") |
END WHILE (see "While / End While") |
ENDSUB (see "Ending a Subroutine" ) |
EQUATE (see "Equate Alignment") |
EXTERNALCOMMAND (see "Inserting an External Command"). |
FILE (see the "Using File Input / Output" section) | OPEN, MOVE, EXISTS, DIALOG, DELETE, COPY, CLOSE, WRITE_CHARACTER, WRITE_BLOCK, WRITELINE, SAVE_POSITION, REWIND, RECALL_POSITION, READ_UPTO, READ_CHARACTER, READ_BLOCK, READLINE
FLATNESS (see "Dimensioning Flatness") | M
FLY (see "Fly Mode") |
FORMFEED (see "Inserting a Form Feed Command"). |
FORMAT (see "Dimension Format") | HEADINGS,STATS
GAPONLY (see "Dimensioning Location") | ON
GENERIC (see "Creating a Generic Feature") | POINT, PLANE, NONE, LINE, CYLINDER, CONE, CIRCLE, SQUARE_SLOT, SPHERE, ROUNDSLOT
GO TO (see "Jumping to a Label") |
HIT (see "Hits") | BASIC, ANGLE, VECTOR, SURFACE, EDGE, CORNER
IF (see "If / End If") |
KEYIN (see "Dimensioning through Keyboard Input") | M
LABEL (see "Creating Labels") |
LEITZPROBE |
LOADPROBE (see "Load Probe") | "FILE NAME"
LOCATION (see "Dimensioning Location") | A, D, M, PA, PR, R, T, X, Y, Z
LOOP (see "Creating Generic Loops" ) | START, END
MEAS (see "Measured Features") | CIRCLE, CONE, CURVE, CYLINDER, LINE, PLANE, POINT, SET, SLOT, SPHERE
MODE (see "Probe Mode toolbar") | DCC, MANUAL
MOVE (see "Move Commands") | POINT, ROTAB, CIRCULAR, CLEARPLANE, INCREMENT, PH9 (X,Y,Z)
MOVESPEED (see "Move Speed") | % of overall machine speed
ONERROR (see "Branching on a CMM Error") | Unexpected_hit, probe_miss
OPTIONMOTION (see "Parameter Settings: Optional Motion tab") |
PARALLELISM (see "Dimensioning Parallelism") | M
PD |
PERPENDICULARITY (see "Dimensioning Perpendicularity") | M
PREHIT (see "Prehit Distance") | "distance"
PROBECOMP (see "Probe Comp") | "ON, OFF"
PROFILE (see "Dimensioning Surface or Line Profile" ) |
PROGRAM | END "ends program at command location"
READPOINT (see "Read Point") | "xyz value of probe location"
RECALL (see "Recalling an Existing Alignment") | VIEWSET, ALIGNMENT (INTERNAL/EXTERNAL)
RETRACT (see "Retract Distance") | "distance"
RETROLINEARONLY (see "Location Options") | ON, OFF
RMEAS (see "Relative Measurement Area") |
RS |
RT |
RUNOUT (see "Dimensioning Runout") | M
S |
SAVE (see "Saving an Alignment") | ALIGNMENT
SCANSPEED (see "Scan Speed") | % of overall machine speed
SCRIPT (see "Inserting BASIC Scripts") |
SELECT (see "Select / End Select") |
STATS (see the "Tracking Statistical Data" section) | ON, OFF
STRAIGHTNESS (see "Dimensioning Straightness") | M
SUBROUTINE (see "Branching with Subroutines") |
TIP (see "Tip") | "file name"
TEMPCOMP (see "Compensating for Temperature") |
TOUCHSPEED (see "Touch Speed %") | "% of overall machine speed"
TRACEFIELD (see "Trace Fields") | (field name : value)
TRUEPOSITION (see "Dimensioning True Position") | A, D, M, PA, PR, R, T, V, X, Y, Z
UNTIL (see "Do / Until") |
WHILE (see "While / End While") |
WORKPLANE (see "Working Plane List") | TOP, BACK, BOTTOM, FRONT, LEFT, RIGHT