Holder Page

From Compost Wiki
Revision as of 20:56, 27 September 2007 by JefD (talk | contribs)
Jump to navigation Jump to search

EOLEndsComment?

This command will return true if the "EOL's Terminate Comments" check box in the post processor is checked.

ID

265

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


EndComment$

Outputs the "End Comment Label" string from ComPost's "Comments" dialog.

ID

23

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


MultiLineProgramComment$

As of the post processor version 5.50, we support a multi line part comment. This keyword will use the settings from ComPost's "Comment" dialog and output the program comment, with full comment characters, even if it is on multiple lines.

ID

22

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


StartComment$

Outputs the "Start Comment Label" string from ComPost's "Comments" dialog.

ID

24

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


UseComments?

This command will return true if the "Insert Comments" check box in the post processor is checked.

ID

61

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


Header Comments

Example of typical header comments:

IF `ProgramNameComment??

`(PROGRAM: `ProgramName$')' EOL

END

IF ProgramComment?

`(`ProgramComment$')' EOL

END

IF FormatNameComment?

`(`FORMAT:'FormatName$')' EOL

END

IF Time$

`(`Date$'AT `Time$`)' EOL

END

IF MovesComment?

`(`OUTPUT IN'MoveType$')' EOL

END

IF PartsComment?

`(PARTS PROGRAM: `Parts#')' EOL

END

IF StartToolComment?

`(`FIRST TOOL NOT IN SPINDLE)' EOL

END

Date$

The current date.

ID

1

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


FormatCode$

Outputs the "Format Code" found in ComPost's "General Info" dialog.

ID

6

Date added

N/A Type

String

Class/Scope

Lathe Min Version

N/A

Notes


FormatCodeComment?

This command will return true if the "Program Header: Format Code" check box in the post processor's Preferences is checked.

ID

56

Date added

N/A Type

Boolean

Class/Scope

Lathe Min Version

N/A

Notes


FormatName$

Outputs the name of the current the post processor.

ID

4

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


FormatNameComment?

This command will return true if the "Program Header: Program Name" check box in post processor's Preferences is checked.

ID

81

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


MovesComment?

This command will return true if the "Program Header: Absolute or Incremental" check box in post processor's Preferences is checked.

ID

58

Date added

N/A Type

Boolean

Class/Scope

Mill Min Version

N/A

Notes


MoveType$

Outputs the part's move type (`Absolute' or `Incremental') as specified in the post processor.

ID

7

Date added

N/A Type

String

Class/Scope

Mill Min Version

N/A

Notes


PartName$

Output the name of the part file (.vncFile).

ID

21

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


PartsComment?

This command will return true if the "Program Header: Number of Parts" check box in post processor's Preferences is checked.

ID

59

Date added

N/A Type

Boolean

Class/Scope

Mill Min Version

N/A

Notes


ProgramComment?

This command will return true if the "Program Header: Program Comment" check box in post processor's Preferences is checked.

ID

55

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


ProgramComment$

Outputs the part comment specified in the post processor.

ID

5

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


ProgramName$

Outputs the name of the text document (File) being generated by the post processor.

ID

3

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


ProgramNameComment?

This command will return true if the "Program Header: Program Name" check box in post processor's Preferences is checked.

ID

54

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


Time$

The current time of day.

ID

2

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


TimeComment?

This command will return true if the "Program Header: Date and Time" check box in post processor's Preferences is checked.

ID

57

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


StartToolComment?

This command will return true if the "Program Header: Starting Tool State" check box in post processor's Preferences is checked.

ID

69

Date added

N/A Type

Boolean

Class/Scope

Mill Min Version

N/A

Notes


Footer Comments

Example of typical footer comments:

IF UseComments?

ReOpen

IF FileBytesComment?

`(FILE LENTH: `FileBytes#' CHARACERS)' EOL

END

IF FileFeetComment?

`(FILE LENTH: `FileFeet#' FEET)' EOL

END

Close

END

CustomOpType$

This command will return the custom name for the current operation if it has one.

ID

37

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


FileBytes#

The size of the main file text document in bytes (characters), not including the footer comments.

ID

36

Date added

N/A Type

Number

Class/Scope

All Min Version

N/A

Notes


FileBytesComment?

This command will return true if the "Program Footer: Length in Characters" check box in post processor's Preferences is checked.

ID

63

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


FileFeet#

The calculated length of the main file text document in feet (not including the footer comments) if it were tape punched at 120 characters per foot.

ID

37

Date added

N/A Type

Number

Class/Scope

All Min Version

N/A

Notes


FileFeetComment?

This command will return true if the "Program Footer: Length in Feet" check box in post processor's Preferences is checked.

ID

64

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


FileMeters#

The calculated length of the main file text document in meters (not including the footer comments) if it were tape punched at 120 characters per foot.

ID

38

Date added

N/A Type

Number

Class/Scope

All Min Version

N/A

Notes


FileMetersComment?

This command will return true if the "Program Footer: Length in Meters" check box in post processor's Preferences is checked.

ID

65

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


Operation Comments

Example of typical operation comments Prog sub:

IF UseComments?

`(OPERATION `Operation#': `OperationType$`)' EOL

END

IF OperationComment?

`(`OperationComment$')' EOL

END

IF WorkGroupComment?

`(`WorkGroupComment$')' EOL

END

IF ToolTypeComment?

`(ToolTile#': `ToolDiameter#' `ToolType$`)' EOL

END

IF ToolComment?

`(`ToolComment$')' EOL

END

RETURN

Operation#

The current operation number.

ID

1

Date added

N/A Type

Number

Class/Scope

All Min Version

N/A

Notes


OperationComment?

This command will return true if the "Each Operation: Operation Comment" check box in post processor's Preferences is checked. Outputs the current operation's type.

ID

80

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


OperationComment$

Outputs the text string from the current post processor operation's "OpComment" dialog box.

ID

16

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


OperationIDComment?

This command will return true if the "Each Operation: Operation # and Type" check box in post processor's Preferences is checked.

ID

60

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


OperationType$

Outputs the current operation's type.

ID

8

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


OpType$

Outputs the current operation's type as a String.

ID

37

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


ToolComment?

This command will return true if the "Each Operation: Tool Comment" check box in the post processor's Preferences is checked.

ID

68

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


ToolComment$

True if the "Each Operation: Tool Comment" check box in post processor's Preferences is checked.

ID

11

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


ToolSize$

Outputs the current tool size.

ID

17

Date added

N/A Type

String

Class/Scope

Lathe Min Version

N/A

Notes


ToolType$

Outputs the current tool type.

ID

10

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


ToolTypeComment?

This command will return true if the "Each Operation: Tool Number and Type" check box in post processor's Preferences is checked.

ID

67

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


WorkGroupComment?

This command will return true if the "Each Operation: Work Group Comment" check box in post processor's Preferences is checked.

ID

62

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


WorkGroupComment$

Outputs the current operation's user defined workgroup comment specified in the post processor.

ID

9

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes


Sub Comments

Example of typical sub comments Prog sub:

DocSubComment:

IF UseComments? AND SubComment?

`(SUB NUMBER: `Program# `)' EOL

END

RETURN

SubComment?

This command will return true if the "Each Sub: Sub Number" check box in post processor's Preferences is checked.

ID

53

Date added

N/A Type

Boolean

Class/Scope

All Min Version

N/A

Notes


Advanced Milling Comments

CSComment$

User defined comment of the current coordinate system.

ID

20

Date added

N/A Type

String

Class/Scope

All Min Version

N/A

Notes