Conveyor Tracking Add-on

Hi,

Here’s an add-on for robot programming that you can use to create conveyor tracking applications. Unzip and copy add-on under C:\Users%USER%\Documents\Visual Components\4.X\My Commands and launch VC. You should see three new statements on program tab:

image

Statements are as follows:

  • CT_WaitPart statement is used to wait until a part arrives on a conveyor sensor. Select base which you want to attach to part and select sensor component you want to use (must be “Conveyor Sensor” component from ecat). After part arrives on sensor base is attached at its origin and program execution proceeds.
    image

  • CT_TrackPart statement can be used to make robot follow the part with attached base. Tracking can be stopped either with reset statement, timer or a certain condition (e.g. joint exceeds some value). Select base you want to track and stop mode. “Timer” property affects only on stop mode “Timer” and “Condition” property affect only “Condition” mode.
    image

  • CT_Reset statement detaches selected base from part so you can grab that part. Grabbing part with base attached to it would cause incorrect tool/base configuration on robot and motion would stop.
    image

Attached demo layout and video show a basic workflow and example case on how this add-on can be used.

ConveyorTracking_27092023.zip (7.5 KB)

ConveyorTrackingWithStatements.vcmx (803.9 KB)

8 Likes

This a great add-on. Is there anyway to track multiple parts or put them in a que in order to increase the through rate?
Thanks

This add-on just tracks one piece at a time. Tracking more parts could be possible but it would require some more coding and at the moment I don’t have time to look into that. Let’s see if I revisit this add-on at some point.

-k

Is there anyway to implement it on Kuka.Sim 4.0 ? I followed same path and did everything you said. But I can’t find those 3 new statements.

No this add-on doesn’t work with Kuka.Sim 4.X. Kuka.Sim 4.X has completely customized program editor and executors and most of the VC add-ons for robots do not work.

-k

1 Like

hey again!
Do you know how can I simulate a conveyor tracking system in Kuka.Sim?
I wanna define parent component and parent behaviour to “conveyor tracking base” component. But these areas are disable so I can’t do it. THe program says that “Editing is not allowed when all the interfaces of the components are disconnected”. But I’m sure I defined an interface. Do you have any idea about what should I do next?
Thanks in advance



I don’t know if you can set up conveyor tracking in Kuka.Sim. That’s because Kuka.Sim 4.X uses RCS controller to get accurate motion simulation. And that means that any motion related options should be configured similar to how it’s done on real KRC controller. And I don’t know if they’ve added support for conveyor tracking yet as RCS and KRL support in Kuka.Sim is still quite recent feature. You could ask Kuka’s support about this topic (simulation.robotics.de@kuka.com).

-k

1 Like

KUKA.ConveyorTech is not yet supported in KUKA.Sim.

1 Like

Hi there,
I’ve unzipped the add-on in the folder that you said, at the time i’m trying to use it, VC says that can’t find the files, do you know something about it? How can i solve it? Thank you.

Hi,

There was a bug where non-ascii characters in “My Commands” path (user name) broke the file references. This is actually somewhat common problem in VC API and we add-on developers should always decode file path gotten from VC API to “utf-8”. In this case the API method is vcCommand.getCommandPath().

Anyway I fixed the bug and uploaded new version in the original post. I fixed another minor issue in the add-on as well. Please try it out and see if it works this time.

-k

1 Like

Amazing, it really works pretty good, thank you very much!!

1 Like

Dear Sir,
How to use Conv tracking base,Please explain with an example.

thanks & Regards
vaibhav.