I am trying to write to an offset on a 10T control. I have used a G10 on the OTC and works great, the 10T wont buy it. We dont have a complete manual showing G-codes. Thanks, Kevin
I am trying to write to an offset on a 10T control. I have used a G10 on the OTC and works great, the 10T wont buy it. We dont have a complete manual showing G-codes. Thanks, Kevin
Kevin,
G10 is an Option, but most controls came with it. When you execute the G10 block is a P/S 10 (IMPROPER G-CODE) alarm raised by the control. If the G code is not available, this alarm should result.
Determine if your control has the User Macro B option. Write a short program as follows, or execute the same code via MDI
#1=1
If the control accepts and runs that block without error, then your control has the option. Also you should be able to locate a Macro Variable page via the Offset Key, and then via a MACRO Soft Key at the bottom of the screen.
If your control does have User Macro B, then the offsets can be Read From and Written To the following System Variables in the following way:
Read From
#1=#2001 Read the current value of X Tool Wear Offset for Offset 01
Write To
#2001=0.25 Write 0.25mm to X Tool Wear Offset for Offset 01
#2001=#2001+0.25 Add 0.25mm to to X Tool Wear Offset for Offset 01
X Offsets ---- Tool Wear -------- Tool Geometry
1 to 64 --- #2001 to #2064 --- #2701 to #2764
Z Offsets ---- Tool Wear -------- Tool Geometry
1 to 64 --- #2101 to #2164 --- #2801 to #2864
Regards,
Bill
Thanks Angelw, Thats what I needed to know. I appreciate the help.
Kevin