-
From the Setup section of the action bar,
click Volume sensor
.
The Volume sensor dialog box appears, and you are prompted
to select a manufacturing cell where to create the sensor.
-
Select the manufacturing cell.
In the work area,
the compass snaps to the origin of the initial volume.

The Creation of volume sensor dialog box appears.
In the Creation of volume sensor dialog box, Reference
name and Instance name populate with default
names. You can enter meaningful names for the sensor:

-
In the Sensor position section, you can define the context in
which position changes occur.

Selecting:
- Sensor the position changes apply in the parent context.
- Geometry origin the position changes apply on the geometry
itself.
Click to reposition the
compass at a specific geometric location.
-
In the Geometry tab, select the Geometry
type to specify the shape of the volume for the sensor.

Each available Geometry type provides a set of parameters
specific to that type.
- Cone
-
- Range
- Base width
- Base length
-

- Pyramid
-
- Height
- Base Length
- Base Width
-

- Cylindrical
-
- Height
- Inner radius
- Outer radius
- Minimum Z angle
- Maximum Z angle
-

- Spherical
-
- Radius
- Minimum Z angle
- Maximum Z angle
- Maximum Y angle
- Maximum Y angle
-

-
Click
to create a
clearance specification for the sensor.

Each clearance defined specifies an area of the volume that produces a specific output
signal for the defined area. You can define multiple clearances and specify the color of
each by clicking the respective Color swatch.

In the above example, Cone clearance activation activates the
output signals for any defined clearances.
-
In the Behavior tab, Simulation frequency
specifies the rate at which the sensor performs detection, independently of the simulation
step size.

Options provided in the Behavior tab allow you to define
filters that control when requiring output signals to emit, depending on the sensor
objects. You can also define advanced output signals, where detected attributes can be
output as a specific signal.
-
In the Filter section:

Select Filtering moving object only to detect only those objects
that move during the simulation. This guards against detecting any fixed objects that
could be in the detection zone when the simulation starts.
Select Filtering specific objects from their attributes to
activate any defined filters.
-
Click
to create a new
filter that is based on attributes.
The Filter on attribute dialog box appears.

Provide an Attribute name and select and Attribute
type.
From the Attribute value list, select a condition and enter a
value that the condition is validated against. The contents of the Attribute
value list are dependent on the Attribute type
selected.

-
Click OK to create the filter and return to the
Creation of volume sensor dialog box.
The new filter appears in the Filter list.

-
In the Output signal(s) section:
-
Click
to create a new
output signal.
The Output on attribute dialog box appears.

Note:
Angle measurement is based on the origin of the detected and the XY plane of
the origin.
-
Click OK to create the output signal.
The output signal appears in the Output signal(s) list.

-
In the Creation of volume sensor dialog box, click
OK to create the volume sensor.
The new sensor appears in the tree.

Result:
|