Probe Macro Code issue


Results 1 to 5 of 5

Thread: Probe Macro Code issue

  1. #1
    Member
    Join Date
    Sep 2005
    Location
    usa
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default 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?

    Probe Macro Code issue-alarm-jpg

    Similar Threads:


  2. #2
    Member CitizenOfDreams's Avatar
    Join Date
    Nov 2012
    Location
    USA
    Posts
    1267
    Downloads
    4
    Uploads
    0

    Default 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
    Member
    Join Date
    Sep 2005
    Location
    usa
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default Re: Probe Macro Code issue

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



  4. #4
    Member
    Join Date
    Sep 2005
    Location
    usa
    Posts
    20
    Downloads
    0
    Uploads
    0

    Default Re: Probe Macro Code issue

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



  5. #5
    Member CitizenOfDreams's Avatar
    Join Date
    Nov 2012
    Location
    USA
    Posts
    1267
    Downloads
    4
    Uploads
    0

    Default Re: Probe Macro Code issue

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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Probe Macro Code issue

Probe Macro Code issue