POSTN

Your Ad Here




 

POSTN/([XAXIS,xh][,YAXIS,yh]) (L)

This command modifies the home coordinates, used by the GOHOME statement.

xh Specifies the home coordinate for the Lathe Z axis.

yh Specifies the home coordinate for the Lathe X axis.

These values must be given in the machine coordinate system.

Example:

Input:

 

POSTN/XAXIS,15,YAXIS,10

GOTO/P1

GOHOME

 

POSTN/([XAXIS,xh][,YAXIS,yh][,ZAXIS,zh][,AAXIS,ah][,BAXIS,bh][,CAXIS,ch]) (M)

This command modifies the home coordinates, used by the GOHOME statement.

xh Specifies the home coordinate for the mill X axis.

yh Specifies the home coordinate for the mill Y axis.

zh Specifies the home coordinate for the mill Z axis.

ah Specifies the home coordinate for the mill A axis.

bh Specifies the home coordinate for the mill B axis.

ch Specifies the home coordinate for the mill C axis.

These values must be given in the machine coordinate system.

Example:

Input:

 

POSTN/XAXIS,15,ZAXIS,10

GOTO/P1

GOHOME

 

POSTN/IN OUT,a1,v1,a2,v2.....an,vn[,NEXT]

This command provides a variable insert to output selected tape codes to the machine data file.

a1 an Are the required letter addresses and must be 1 through 26 to indicate the alpha characters A through Z.

v1 vn Are the required values to be output with a1 an.

NEXT Will output these codes with the next block.

If some data already exists for output, the IN option will combine the POSTN codes with the existing block and the OUT option will clear the current block and start a new block for POSTN.

Example (M):

The following command generates a G40 block with the current X and Y coordinates:

Input:

 

G=7

X=24

Y=25

P1=POINT/10,10

—-

GOTO/P1

POSTN/OUT,G,40,X,(CANF(P1,1)),Y,(CANF(P1,2))

—-

FINI

 

Example (L):

The following command generates a G73 block with the current X and Z coordinates:

Input:

 

G=7

X=24

Z=26

P1=POINT/10,10

GOTO/P1

POSTN/OUT,G,73,X,(CANF(P1,2)),Z,(CANF(P1,1))

FINI

 

POSTN/ALL,OUT

This command will output all the registers in the tape format with their current values in one block. Since the codes are output in one block, any validity for the combination of the codes is not checked.

Example:

Input:

 

PARTNO

SEQNO/NEXT

POSTN/ALL,OUT

FINI

 

POSTN/ALL

This command will clear all the registers in the tape format without generating any output. This command can be used to repeat any modal tape codes.

Example:

Input:

 

PARTNO

COOLNT/MIST

POSTN/ALL

COOLNT/MIST $$ MODAL M CODE FOR MIST WILL BE

   $$ REPEATED BECAUSE OF POSTN

FINI

 

SPSTCMND.chm

Return to SURFCAM Index


Your Ad Here