Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Sinumerik 840D Probing Help


Devin M
 Share

Recommended Posts

well, we have the renshaw probe for the machine, but it's never been used. What i would like to do, is setup my trim tool on the machine, probe it to find its actual location, then translate my trim program so it matches where the tool actuly is. i need some help as to how we would use the renshaw probe to find the location of my tools.

Link to comment
Share on other sites

that sounds completly doable, below is a routine that changes the programs zero (based on variables). is there training available to you? it would make things alot easier.

 

thanks,

 

jg

 

 

note: parenthesis were changed to [], bbs said they are not allowed in a html tag??

 

IF[R16<2]

GOTO N100

ENDIF

 

IF[R13

GOTO N100

ENDIF

 

IF[R19==1]

R9=.5

ENDIF

 

IF[R19==2]

R9=-.5

ENDIF

 

R4=1

R0=20

R18=R12/2

T999

M6

M27

G0 C0

IF[R15<>9999]

A=R15

ENDIF

TRANS X=R10 Y=R11 Z=0 ;<<<<<<<<<<< shift zero

TRAORI

X=0 Y=R18+R9

Z=R13

G1 Z=R14 F300.

WHILE[R4<=R16]

IF[R17==1]

G1 Z=R14

ENDIF

 

MEAS=1 G1 Y=R18-R9 F15.

STOPRE

R[R0]=$AA_MW[Y];R[R0]+$AA_MW[Y]

R0=R0+1

Y=R18+R9 F300.

 

IF[R17==1]

Z=R13

ENDIF

 

AROT Z=[360/R16];*R4

G3 X0 Y=R18+R9 C=IC[[360/R16]] CR=R18+R9

R4=R4+1

ENDWHILE

 

G1 Z=R13

R4=R16

R0=20

R2=R[R0]

R3=R[R0]

R1=0

WHILE[R4>0]

IF[R[R0]>R2]

R2=R[R0]

ENDIF

IF[R[R0]

R3=R[R0]

ENDIF

R1=R1+R[R0]

R4=R4-1

R0=R0+1

ENDWHILE

R1=R1/R16

R2=R2-R1

R3=R3-R1

R1=R1*2

IF[R15<0]

R4=SIN[R15]*R8

R8=R8+R4

ENDIF

IF[R19==1]

R1=R1-[R8*2]

ENDIF

IF[R19==2]

R1=R1+[R8*2]

ENDIF

TRAFOOF

ROT

G0 C0

N100 M30

Link to comment
Share on other sites

Can you clarify to me what the variables stand for? also, do you have a complete coded program for probign a strait line (probe 2 points, find the angle, rotate by that angle)

 

These are the things I need clarification with:

 

- TRAORI

- MEAS

- STOPRE

- $AA_MW[Y]

- AROT

- TRAFOOF

- ROT

 

What are the variables initialized to at the beginning and which ones?

 

Also, how can you check if the probe is activated (ready to be used)?

How do you turn it on/off?

Link to comment
Share on other sites

Devin,

I don't think I can give you all that you are asking but....

 

quote:

Also, how can you check if the probe is activated (ready to be used)?

How do you turn it on/off?

On this particular machine it is turned on automatically when called, it can also be turned on by a M27 code.

 

quote:

What are the variables initialized to at the beginning and which ones?


That depends on the program and what you need, I did not list the ones that were preset, this was meant as an example.

 

quote:

These are the things I need clarification with:

 

- TRAORI

- MEAS

- STOPRE

- $AA_MW[Y]

- AROT

- TRAFOOF

- ROT


TRAORI = TRAnsformation and ORIentation (dynamically), it is tool point programming, if you rotate the table

(on a head/table config for example) the tool tip will "follow" automatically maintaining the same relative position.

 

-MEAS = enables measuring mode on the control (G31 skip signal)

-STOPRE = STOPREading ahead, prevents the control from buffering to far ahead.

-$AA_MW[Y] = reading the Y axis position after the probe triggered.

-AROT = Additive ROTation of the WCS

-TRAFOOF = shuts traori off

-ROT = ROTation of the WCS

 

quote:

Can you clarify to me what the variables stand for?


I would have to go thru and re-figure them myself, this macro was used to probe dia's that the machine could not reach using X and Y, it rotated the part instead.

 

quote:

do you have a complete coded program for probing a strait line (probe 2 points, find the angle, rotate by that angle)


I don't, that was a canned routine in the control (I no longer have access to the control)

 

hope this helps, I'll look and see if I have any other info.

 

thanks,

 

jg

Link to comment
Share on other sites
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...