Machine Not Triggering When Forklift Places Pallet

Hello,

I’m trying to set up a workflow where a forklift takes a pallet from a conveyor, delivers it to the wrapper machine, and then, after the wrapping process, moves it to another conveyor.

The issue is: When the forklift places the pallet onto the wrapper machine, the machine does not start its wrapping process.

Do I need to add a ProcessExecutor, adjust the routing behavior, or modify any component logic so that the machine detects pallets placed by the forklift?

Could someone please help me?

Machine not working in process 2.vcmx (529.1 KB)

1 Like

Hello,

a Python script controls the wrapping process. It waits for a part to come in through one of the interfaces / path, and then will wrap this part. With the script as it is, it won’t detect a part brought directly to a process on the path, and therefore, not start the wrapping process.

You need to change the script if you want it to work. You could do it, so that the wrapping process is started by a signal for example, or integrate a process node into the component and do the wrapping process inside it with a PythonProcessHandler, like in most machines in the eCat.

2 Likes

Hello @Tilma ,

I’m trying to integrate a Process Node with the PythonProcessHandler inside the component for the wrapping operation, but it’s not triggering. Could you please help me if any behaviours, scripts, or signal connections are missing?

Machine not working in process 2 (1).vcmx (664.0 KB)

If you’re not using the path, you can delete them and the interfaces and RoutingRule.

The ComponentContainer should be in your link, or the product won’t be rotated. (If you move it, you’ll have to reselect it again in the TransportNode.)

You just copy-pasted the flowScript into the PythonProcessHandler, so it’s still waiting on the product to come on a path… You just need the middle part in it (#Perform the Wrapping) and before it does that, select the product which is in the Container :

container = comp.findBehaviour(‘Container’)
part = container.Components[0]

and delete the flowScript

1 Like

Thank you @Tilma now its working

1 Like

Hello @Tilma ,
The machines are now working fine, but the pallet does not rotate along with the machine rotation. How can we make the pallet rotate?

Hi @Tilma , I got the pallet to rotate with the machine using the attach function, but after the process finishes, a “Product was destroyed” error appears. How can I fix this?

1 Like

did you do that? You shouldn’t need an attach if the ComponentContainer and its frame are in the link

2 Likes

Earlier, the ComponentContainer was not linked, now it has been placed correctly, Thank you @Tilma now its working perfectly