New Warehouse Shelf component with OPCUA

Guys, there’s a Warehouse here for connection testing with external PLC.I believe that some people are also interested, so share it.


The component, that is, the product created with InitBook, cannot trigger the OnProductLeaving event, so this method is added to replace the OnProductLeaving event.
Without this method, even if the created product flows out, the product information will not be reset because the method called by this event is not executed, and the next product to come in will not come in.

The method written (reset transport items isSelfCreated) is not executed by this (transport node product leaving), instead of its role. However, the writing method has defects in the trigger mechanism, which is triggered by delay, not triggered after judging the product outflow. Is there a better alternative to this method (reset transport items isSelfCreated)?
We write this, the receiver must be ready, so that the product program execution immediately outflow, otherwise wait for time to pass, the product has not outflow this method (reset transport items isSelfCreated) execution will be a problem. This method (reset transport items isSelfCreated) is implemented to reset a lot of information about the product on the shelf.

ShelfTest04.vcmx (380.2 KB)
Warehouse Shelf Pro(1).vcmx (95.2 KB)

If you have a better idea, please share it. Either python or the scheme.

1 Like

Mark.
It’s the problem about the products created with InitBook cannot trigger the OnProductLeaving(Python API) event.