586,103 active members*
3,902 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2005
    Posts
    20

    Probe Macro Code issue

    I have a 2005 VF-2 that I added probing to.
    I have the spindle probe working great for X and Y, and Bore measuring.
    Today I finally had a chance to finish up the wiring for the OTS.
    I got the OTS calibrated, and the Spindle Probe calibrated to the OTS.
    When I attempted to use the Spindle Probe to measure the Z surface I get an alarm,
    522 ILLEGAL ASSIGNMENT VAR OR VALUE.
    It appears the Macro is a newer version than what I need.
    It looks like its trying to determine if the machine has Sigma 1 or Sirgma 5 motors.
    I'm not as savvy as many with macros, but I'd like to eliminate this check and code it to be Sigma 1.
    Looks like it's attempting to write to a variable that didn't exist on this control.
    Any Macro Masters out there see an edit they can recommend?

    Attachment 446886

  2. #2
    Join Date
    Nov 2012
    Posts
    1267

    Re: Probe Macro Code issue

    The macro is trying to read parameter 774 (X encoder type), which your control does not seem to have.
    Try this:
    - Erase the "#6996=774" line.
    - Replace "#162=#6998" with "#162=7".

  3. #3
    Join Date
    Sep 2005
    Posts
    20

    Re: Probe Macro Code issue

    Thanks, I'll give that a spin in the morning

  4. #4
    Join Date
    Sep 2005
    Posts
    20

    Re: Probe Macro Code issue

    I'm happy to report that worked.
    Thanks again.

  5. #5
    Join Date
    Nov 2012
    Posts
    1267

    Re: Probe Macro Code issue

    You are welcome, thanks for letting us know it worked.

Similar Threads

  1. Doosan Fanuc 31i G65 Macro to G code cycle issue
    By gavintwopies in forum Daewoo/Doosan
    Replies: 5
    Last Post: 03-07-2018, 11:43 PM
  2. Probe Macro 9023
    By mottoman in forum Haas Mills
    Replies: 3
    Last Post: 10-11-2013, 06:57 PM
  3. Need probe macro for M&H Infared Probe 25.41-HDR
    By nikolaiownz in forum Fanuc
    Replies: 4
    Last Post: 02-11-2012, 03:10 AM
  4. probe macro
    By damon1313 in forum Digitizing and Laser Digitizing
    Replies: 0
    Last Post: 04-22-2008, 09:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •