-
From the Setup section of the action bar, click Plane
sensor
.
The Plane sensor dialog box appears, and you are prompted
to select a manufacturing cell where the sensor is created.
-
Select the manufacturing cell.
In the work area,
the compass is snapped at the origin of the initial plane.

The Creation of plane sensor dialog box appears.
In the Creation of plane sensor dialog box, Reference
name and Instance name are populated 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, position changes apply in the parent context.
- Geometry origin, 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 plane for the sensor.

Each available Geometry type provides a set of parameters
specific to that type.
- Circle
-
- Inner radius
- Outer radius
- Minimum angle
- Maximum angle
-

- Triangle
-
-

- Rectangle
-
-

- When selected, Rectangle with one-side cut corners provides
a rectangle with the corners cut on the side opposite the origin

-
Click
to create a
clearance specification for the sensor.

Each clearance defined specifies an area of the plane 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, Circle 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 output signals emit, depending on the sensing 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 is dependent on the Attribute type
selected.

-
Click OK to create the filter and return to the
Creation of plane 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.

By default, As measure is selected as the type of output signal
to create, and the dialog box is configured to create a signal based on.
From the Detected property list, select From detected
attribute to select an attribute.

-
Click OK to create the output signal.
The output signal appears in the Output signal(s) list.

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

Result:
|