PLABEL

Your Ad Here




 

PLABEL/OPTION,n,TO,v

This command allows the part programmer to choose certain options provided by the post processor.

n Denotes the option number, which will be set to value v.

The following options are available:

n v Function

01 00 Do not output tab characters. (default)

01  Output tab characters.

 

Option 02 controls the verification print, which is the auxiliary information that is not output. It contains for example, spindle speed, velocity, etc.

02 01 Generate verification print. (default)

 00 Do not generate verification print.

 02 Generate non-modal verification print.

 11 Generate modal verification print and CL point (xyzijk) print.

 12 Generate non-modal verification print and CL point (xyzijk) print.

 

03 01 Inch input / inch output. (default)

 02 Metric input / inch output.

 03 Metric input / metric output.

 04 Inch input / metric output.

  Values 01 through 04 indicate that all dimensions in the configuration file are in inches.

03 11 Inch input / inch output.

 12 Metric input / inch output.

 13 Metric input / metric output.

 14 Inch input / metric output.

 

  Values 11 through 14 indicate that all dimensions in the configuration file are in millimeters.

 

04 01 Print page heading. (default)

 00 Do not print page heading.

 

05 00 Unpack machine data output with one block per line. (default)

 01 Pack machine data output into 72 columns.

 

06 00 Do not suppress warning messages. (default)

 01 Suppress all warning messages.

 

07 01 Output man readable PARTNO. (default)

 00 Do not output man readable PARTNO.

 

08 01 Output rewind stop code at the start.

 00 Do not output rewind stop code. (default)

 02 Output rewind stop code at start and end.

 03 Output rewind stop code at end.

 

Options 9 through 16 use numerical codes to represent characters.

 

The following table specifies the codes used to represent characters for setting options 9 through 16. These codes correspond to the decimal values of ASCII characters.

 1 2 3 4 5 6 7 8 9 0

code 32 40 Blank ! ‘ # $ % & ‘ (

code 41 50 ) * + ,   . / 0 1 2

code 51 60 3 4 5 6 7 8 9 : ; <

code 61 70 = > ? @ A B C D E F

code 71 80 G H I J K L M N O P

code 81 90 Q R S T U V W X Y Z

code 91 96 [ \ ] \ . ‘

For example, to change Rewind Stop code from = to %, you would enter:

PLABEL/OPTION,11,TO,37

09 36 End of block character $. (default)

 

10 62 LEADER character. (default)

 

11 61 Rewind stop code =. (default)

 

12 47 OPSKIP character /. (default)

 

13 42 Tab character *. (default)

 

14 40 Control out character (. (default)

 

15 41 Control in character ). (default)

 

16 78 Alignment block address N. (default)

 

17 00 Output EOB character to tape. (default)

 01 Suppress output EOB character to tape.

18 00 Output F CODE after RAPID MOVE. (default)

 01 Suppress F CODE after RAPID MOVE.

 

19 00 Do not check axes limit. (default)

 01 Check axes limit.

 

Option 20 applies only when option 6 is set to 0.

20 00 Output warning for illegal major words. (default)

 01 Do not output warning for illegal major words.

 

Option 21 controls the format of the integer registers (N,G...) for machine data output. The 4 digits correspond to leading zeros, trailing zeros, plus sign, and decimal point. Any combination of the digits is acceptable. For example, 1100 will output leading and trailing zeros.

21 0000 Output per postprocessor specification. (default)

 0100 Output trailing zeros.

 1000 Output leading zeros.

 

Option 22 controls the format of the decimal registers (X,Y...) for machine data output. Any combination of the digits is acceptable. For example, 1101 will output leading and trailing zeros with decimal point.

22 0000 Output per postprocessor specification. (default)

 0001 Output decimal point.

 0010 Output sign.

 0100 Output trailing zeros.

 1000 Output leading zeros.

 

Option 23 specifies the contents of I,J and K registers for a circle block in absolute mode.

23 01 Absolute arc distances. (default)

 02 Distance from center to start point.

 03 Distance from start point to center.

 04 Center coordinates.Option 24 specifies the contents of I,J and K registers for a circle block in incremental mode.

 

24 01 Absolute arc distances. (default)

 02 Distance from center to start point.

 03 Distance from start point to center.

 04 Center coordinates.

 

25 00 Do not accept MULTAX CL file. (default)

 01 Accept MULTAX CL file, ignore tool axis vector.

 

Option 26 controls the output of those points in the CL file, which have identical coordinates and appear in succession.

26 01 Output the repeat point. (default)

 00 Do not output repeat point.

 02 Output zero length move during MULTAX.

 

Option 27 controls the output of I,J and K registers in a circle block, when their value is zero.

27 01 Output IJK when zero. (default)

 00 Do not output IJK when zero.

 

28 01 Input is UCC APT CL file. (default)

 02 Input is IBM APT CL file.

 

29 00 Do not adjust feedrate for circles. (default)

 01 Adjust feedrate for circles by cutter radius.

 

30 00 Output SEQNO,OPSKIP condition for INSERT,DISPLY. (default)

 01 Ignore SEQNO,OPSKIP condition for INSERT,DISPLY.

 02 Ignore SEQNO,OPSKIP condition for DISPLY.

 03 Ignore SEQNO,OPSKIP condition for INSERT.Option 31 controls the print output of the tape information which appears to the left of the verification print. This can be the tape image or optionally edited for readability. The editing places a decimal point for decimal registers (X,Y..) and does not suppress zeros for integer registers (N,G..).

 

31 00 Print the tape image. (default)

 01 Print the edited tape image.

 

For some machine tools, the Rapid feedrate is required to be in IPM or IPR mode. Option 32 selects this appropriate mode before the output of a rapid block. Assume the current feed mode in the part program is IPR and your machine tool requires that rapid must be in IPM mode. The postprocessor will automatically switch to IPM to output the rapid block and then switch back to IPR mode for the next move.

32 00 Output Rapid in current mode. (default)

 nn Switch to mode (nn) to output Rapid.

 

33 00 Use circle arc length for inverse time feedrate calculations. (default)

 01 Use circle radius for inverse time feedrate calculations.

 

34 00 PREFUN/—,NEXT uses single G code. (default)

 01 PREFUN/—,NEXT uses multiple G codes.

 

35 00 AUXFUN/—,NEXT uses single M code. (default)

 01 AUXFUN/—,NEXT uses multiple M codes.

 

36 00 Do not output tool times to list. (default)

 01 Output tool times to list.

 

When the post is in simulation mode, no output is created for the print and machine data files. All processing takes place so that all common locations within the post are updated. This option is normally set within FIL programs.

37 00 Simulation mode is turned off. (default)

 01 Simulation mode is turned on.

38 00 Do not allow configuration file to be used by UNCMRG. (default)

 01 Allow configuration file to be used by UNCMRG. See chapter 7 for details of using UNCMRG.

 

39 00 Suppress blanks from INSERT statement. (default)

 01 Allow blanks from INSERT statement to be output.

Note: Options 40 through 48 are for the MILL Post Processor only.

 

Option 40 controls the motion analysis of rapid moves. This option applies only to non-cycle RAPID moves.

 

 

Advancing Spindle

Retracting Spindle

40

00

XY & ROTARY then Z (default)

Z then XY and ROTARY (default)

 

01

XYZ & ROTARY

XYZ & ROTARY

 

02

XY then ROTARY then Z

Z then XY then ROTARY

 

03

XY then ROTARY then Z

Z then ROTARY then XY

 

04

ROTARY then XY then Z

Z then ROTARY then XY

 

05

ROTARY then XY then Z

Z then XY then ROTARY

 

Option 41 applies to machines with canned cycles. The Z value can be output as an absolute coordinate in a cycle block or as an incremental value measured from the rapid stop point.

41 00 Output Z as absolute value. (default)

 01 Output Z as incremental value.

 

Option 42 controls the output of a positioning block after each tool change. This positioning block will contain the tool change coordinates for automatic tool change machines or the current axes position for manual tool change machines. It is output after each tool change for alignment.

42 01 Generate XYZ positioning block. (default)

 00 Do not generate positioning block.

 02 Generate XYZABC positioning block.

 

Option 43 controls the output of motion in linear interpolation. Some machines will not allow XYZ in the same block.

43 00 XYZ in one block. (default)

 01 XY block followed by Z.

 01 Z block followed by XY.

 

Some controllers have a built-in retract with G80 series cycles that causes a crash condition when the postprocessor performs motion analysis in cycle mode. Option 44 will force the postprocessor to always output cycle motion in one block.

44 00 Default CYCLE motion analysis. (default)

 01 CYCLE motion in one block.

 

Option 45 control how the postprocessor processes a FROM statement.

45 00 Ignore any FROM statement encountered in the part program.

 01 Process only the first FROM statement encountered in the part program.

 02 Process all FROM statements encountered in the part program. (default)

 03 Process only the first FROM statement and output it as a motion block.

 

Option 46 controls the M-code to be output when the Auto Break feature generates a break sequence. See also MACHIN.

46 30 Default M-code is 30 for Auto Break. (default)

 nn Output Mnn on Auto Break.

 

Option 47 is for register (IJK) value generated by the ARCSLP command.

47 00 Absolute value of lead in radians. (default)

 01 Lead in radians.

 02 Absolute value of lead in inch or metric units.

 03 Lead in inch or metric units.

 

48 00 Inverse time feedrate uses iterative method. (default)

 01 Inverse time feedrate uses analytical method.

 02 Inverse time feedrate always uses analytical method and disregards tool length with rotary tables, for the inverse feedrate arc length

Note: Options 50 through 58 are for Lathe Post Processor only:

 

50 00 PITCH/t is threads per unit. (default)

 01 PITCH/t is direct lead.

 

51 00 Print verification X in radius. (default)

 01 Print verification X in diameter.52 00 Primary turret default per specification. (default)

 148 FRONT - Use the front turret as primary.

 149 REAR - Use the rear turret as primary.

 

Option 53 relates the CL coordinate axes to the Lathe coordinate axes, which can be interchanged for the ease of programming.

53 01 Horizontal: CL X=Lathe Z, CL Y=Lathe X. (default)

 02 Vertical: CL X=Lathe X, CL Y=Lathe Z.

 

Option 54 specifies the sequence of output for the axis preset blocks under SET/START,AUTO mode.

54 00 Output axis preset block after T-code. (default)

 01 Output axis preset block before T-code.

 

55 00 Indicates this is not a 2 + 2 lathe.

 01 Indicates this is a 2 + 2 lathe.

 

Option 56 controls the output of the thread lead registers when the thread lead is equal to zero.

56 00 Output zero in thread register. (default)

 01 Do not output zero in thread register.

57 00 Output absolute registers as modified by the axis multipliers. (default)

 01 Output absolute registers the same as the input is programmed.

58 00 Thread lead registers are non-modal. (default)

 01 Thread registers are modal.

 

Option 60 determines which of the previous registers a MODE/INCR or MODE/INCR,OFF empties.

60 00 MODE/INCR empties prev A to Z. (default)

 01 MODE/INCR empties prev XYZABC only.Option 61 controls loading the verification registers with the POSTN statement. Verification is INTCOM locations 27 through 52. Verify A=27, Verify Z=52.

 

61 00 POSTN load A-Z and verification (A-Z). (default)

 01 POSTN loads A-Z only; verification registers are not loaded.

 

Option 62 suppresses the output of swell times in the verification column for the DELAY statement.

62 00 DELAY outputs verification. (default)

 01 Suppress DELAY verification.

 

Option 63 has been added to allow blanks to be output with the multiple address string. Setting this option to an ASCII pointer value will allow spaces to replace the character that is designated.

63 00 Suppress blanks from machine data file. (default)

 n IASCII (n) is used to output blanks to machine data file.

 

64 00 G and M codes cannot be longer than 2 digits. (default)

 01 G and M codes can be longer than 2 digits.

90 01 Print CL input statement. (default)

 00 Do not print CL input statement.

 

91 00 Word address tape format. (default)

 01 Fixed field tape format.

 02 Tab sequential tape format.

 03 Fixed filed with address.

 

92 71 Rapid G-code is modal. (default)

 72 Rapid G-code is non modal.

93 00 Default circular interpolation. Circle records break at every quadrant crossing (default)

 nn Number of degrees from the circle start point for a circle record to break.. Number of degrees per circular block (1 360).

 

94 00 Output IJK with circular G-codes. (default)

 01 Output R with circular G-codes.

 

Option 95 controls the information output at the beginning of the machine data file.

95 00 Startup information. Output G-codes and PARTNO. (default)

 01 Suppress startup G-codes.

 02 Suppress PARTNO at startup.

 03 Suppress G-codes and PARTNO at startup.

 

Option 96 determines whether or not the header line is inserted into the machine data file (VMS systems only).

96 00 Insert header line into machine data file. (default)

 01 Omit header line from machine data file.

 

Option 97 controls the input verification print.

97 00 Print input line number and CL record number. (default)

 01 Suppress CL and input line number.

 02 Suppress CL verification.

 03 Suppress input verification.

 

Option 98 controls the axis, spindle, and feedrate verification print.

98 00 Use default formats for verification. (default)

 01 Use formats (number of digits) from tape addresses for verification output.

 02 Use formats reserved for verification, pointers, and addresses from the configuration file.

Note: Alteration of these formats etc. will require manual manipulation of the configuration file.

 

 1nn Same as 1, except start the verification in column nn.

 2nn Same as 2, except start the verification in column nn.

Note: If new columns are designated and the length of the tape image overruns the verification, the verification will be suppressed.

 

Option 99 may be used to designate a different rewind stop code at the end of the tape.

99 00 Use PLABEL (11) as end of tape rewind stop. (default)

 nn Use IASCII (nn) as end of tape rewind stop code.

 

Example (M):

Input:

 

PARTNO CHANGE OPTION

MACHIN/SPOSTM,1

PLABEL/OPTION,01,TO,01

PLABEL/OPTION,07,TO,01

FROM/10,10

GOTO/10,10

--

--

FINI

 

Example (L):

Input:

 

PLABEL/OPTION,03,TO,04 $$ INCH INPUT / METRIC OUTPUT

FROM/10,10

GOTO/5,7

GOTO/2,4

 

Machine Data File Output:

 

N001G71$

N002G90$

N003G94$

N004G01X1778Z127F00003$

N005X1016Z0508$

 

SPSTCMND.chm page

Return to SURFCAM Index


Your Ad Here