Change Conveyor Capacity using program Tab

Hi,
I am trying to learn how to change the capacity of a batch conveyor from 4 to 3 and the back to 4 using the program tab. The batch conveyor is #3
I have tried to create a variable assignment but that does not work.
Any help would be appreciated

Hi,
You need to change the BatchSize and the Advanced-ConveyorCapacity properties in order to change the capacity of the batch conveyor during the simulation. You can’t do that directly in the robot program though. With the robot, you can only send signals.
You can either do it by writing a Python script, to change these properties when signals are received (Change the property of an object through robot programming) or if you don’t feel like programming in Python, you can use a Process Node to do it.

Here is an example : Layout_Change Batch Capacity with signals.vcmx (1.1 MB)

How do I find this form
I can’t find it

image

Hi Tilma,
Thanks for your assistance, is there a way to do this without using the process node?
I am using KUKA SIM 4.3 it does not have a process tab.
The conveyor property in the modeling tab is the input but the python script for the conveyor determines the actual capacity. Can I change the capacity in the program tab another way?

Your help is appreciated

It’s in the Process Tab, in the process editor

1 Like

If you have access to the modeling tab in KukaSim, you can probably add Signals and change the script of the conveyor, to change the property when the Signal is triggered.
I don’t work on KukaSim, so I don’t know if there is another way…