We have added a new sensor component to 4.10 eCatalog: Volume Detector in Misc category.
The component sends a boolean signal when a component enters the volume, and there’s also a component signal interface for using the component signal in e.g. vcHelpers.Robot2 scripts.
Use this as a performance-friendly solution for detecting components that enter an area or as a conveyor sensor in cases where products are on multiple different paths (such as on Crossing Conveyor).
Tips and tricks:
-To detect only dynamic components/products, use component exclusion property and press the button to select all static components in the 3D world: this way, only products are detected.
-To detect only specific components of a large layout, use component inclusion property and select only the components you want to be detected.
-To further optimize performance, use two of this component: first is the actual volume sensor, and the second is a larger volume with a longer scanning interval. PowerOnSignal of the first one is connected to the SensorBooleanSignal of the second one, so the more accurate detector scans for components only when they are nearby.
-If you need a volume sensor on a 1-to-1 conveyor, consider using the VolumeSensor behaviour instead of this component, as it allows setting the DetectionContainer.
-In case you want to simulate machine vision with connectivity, modify the script to write X,Y,Z,…,Rz coordinates of the detected components on properties/signals. You can then connect the coordinate variables and have a program on a virtual robot controller moving the TCP to the given positions.
