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

Count products with sensor

  • xtruder
  • February 14, 2021 at 5:17 PM
  • Thread is Unresolved
  • xtruder
    Trophies
    3
    Posts
    11
    • February 14, 2021 at 5:17 PM
    • #1

    Iam picking products off the pallet with the sensor using skip condition.

    Ideal start situation is a full pallet with 20 products, so i could start the product count from the start.

    If the pallet is not full at the start, what are my options to count the products?

    Iam looking for something simple, preferably not involving karel.

    Edited 2 times, last by xtruder (February 14, 2021 at 5:26 PM).

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • February 14, 2021 at 5:36 PM
    • #2

    Obviously, the only option is to begin counting from the actual number of products.

    There is no enough information for further advice, and it's unclear what is the complication.

    Do it well right away. It will become bad by itself.

  • xtruder
    Trophies
    3
    Posts
    11
    • February 14, 2021 at 5:55 PM
    • #3

    I want to start the cell with any number of products on the pallet, with no additional operator input, and start the count from whatever is on the pallet.

    1. All products are the same thickness, so comparing current robot position to the grid of 20 supposed positions could work on paper.

    2. Program in 20 pick potions and go through them until sensor is made.

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • February 14, 2021 at 7:18 PM
    • #4

    You already described the solution. What do you want to know?

  • xtruder
    Trophies
    3
    Posts
    11
    • February 14, 2021 at 7:55 PM
    • #5

    I'd like to know how to do it, my tp programming knowledge is limited.

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • February 14, 2021 at 8:34 PM
    • #6

    It is unclear whether your pallet load is only one product per layer. If no, the solution will be not simple.

    If yes, your p.2 is the solution.

    When your program does not find product in pickup position, do not proceed to pickup. Instead, increment the picked product counter and jump back to pickup position decision, then re-execute pickup.

    Do it well right away. It will become bad by itself.

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • February 14, 2021 at 8:42 PM
    • #7

    Just noticed you mentioned using skip condition.

    Since it means seeking physical product, why do you need to count them?

    Do it well right away. It will become bad by itself.

  • xtruder
    Trophies
    3
    Posts
    11
    • February 14, 2021 at 9:11 PM
    • #8
    Quote from Sergei Troizky

    When your program does not find product in pickup position, do not proceed to pickup. Instead, increment the picked product counter and jump back to pickup position decision, then re-execute pickup.

    If i understand correctly doing this will bring robot every time back to starting (seek) position before doing next pick attempt? Could it be done in one continuous move to not hurt the cycle time?

    Yes, iam seeking for the product, i just need product number further down the process.

  • Sergei Troizky
    Reactions Received
    70
    Trophies
    6
    Posts
    658
    • February 14, 2021 at 10:00 PM
    • #9

    If so, seek until found, then calculate the product layer number from the found elevation.

    This assumes firm pallet height and firm height of the product.

    And of course, the seek sensor resolution must be times better than the product height.

    Do it well right away. It will become bad by itself.

  • diey
    Reactions Received
    12
    Trophies
    3
    Posts
    92
    • February 15, 2021 at 3:16 AM
    • #10

    maybe, changing your sensor with a Distance sensor can be one of the best solutions.
    I have faced the same problem, first I only use a photosensor to detect the workpiece, and I have to use the Skip function because the sensor only inputs the On and Off sensor to the robot, in the end, I have to start from the top of the pallet.

    then, I tried to change the sensor to a distance sensor and input the distance to register. after that, I can go to start picking positions in pallet without using the Skip function.

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