1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

Why is my VR[1].Found_Pos[2] Blank?

  • Devon
  • October 20, 2021 at 7:47 PM
  • Thread is Unresolved
  • Devon
    Trophies
    3
    Posts
    18
    • October 20, 2021 at 7:47 PM
    • #1

    Hi everyone,

    I've got an issue where my vision process is picking up the 4 items it should be, but my VR[1].Found_Pos[2] is blank (and so it Found_Pos[3] and Found_Pos[4]). Should it not be showing me the all 4 items found? I need a way to get the position of all 4 so I can send them to the PLC. Vision process attached.

  • jmd2777
    Reactions Received
    34
    Trophies
    4
    Posts
    193
    • October 20, 2021 at 9:06 PM
    • #2

    Here is my understanding:

    A VR stores the data for a single workpiece at a time.

    The value of Found Pos 1 stores the result for Camera View 1, Found Pos 2 stores the result for Camera View 2, etc. You are using 1 Camera View, so the other Found Pos fields should be blank.

    You would need to call GET_OFFSET again. Then you would see the location of 2nd part that was found in Found Pos 1.

    From the manual:

    "GET_OFFSET stores the vision offset for a workpiece in a vision register. When the vision process

    finds more than one workpiece, GET_OFFSET should be called repeatedly."

    A typical workflow is to use GET_NFOUND to find out how many workpieces were found. Then create a FOR loop and call GET_OFFSET for each workpiece.

  • Devon
    Trophies
    3
    Posts
    18
    • October 21, 2021 at 1:53 PM
    • #3

    Ahh, that makes sense, thank you!

    Now here's where I think it gets a little more complicated. This is a line tracking setup, so VR[1] gets populated from the queue when called. I don't believe I can pull the offset data I want at that point, correct? So I could need to pull it during the original image capture and get the offsets then? Then also pull 4 VRs when I do my GETQ?

  • jmd2777
    Reactions Received
    34
    Trophies
    4
    Posts
    193
    • October 22, 2021 at 3:27 PM
    • #4

    Sorry, I don't know about line tracking.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Similar Threads

  • MONITOR INSTRUCTION PROBLEM

    • Alex Sleep
    • October 12, 2021 at 2:30 PM
    • Fanuc Robot Forum
  • Karel uninitialized data.

    • neighbour1
    • October 8, 2021 at 5:51 PM
    • Fanuc Robot Forum
  • IRVISION not picking up part in correct rotation every time.

    • djshaun5
    • October 11, 2020 at 6:24 AM
    • Fanuc Robot Forum
  • Main CPU LEDS and ALARMS

    • AleynaKiratLi
    • March 22, 2021 at 12:57 PM
    • Fanuc Robot Forum
  • Fanuc Robot Serial Number issue

    • jariuscs
    • March 11, 2021 at 4:00 PM
    • Fanuc Robot Forum
  • Contact before search

    • MurryM
    • September 30, 2020 at 5:06 PM
    • Fanuc Robot Forum
  • Use of ";" in fanuc R-30i program

    • eldepon
    • February 5, 2019 at 2:01 AM
    • Fanuc Robot Forum

Tags

  • Fanuc
  • vision
  • Found_Pos[2]

Users Viewing This Thread

  • 1 Member
  • Christian Aldrin Sanchez
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download