Skip to content

Mosfet

The Mosfet is an automation symbol for a MOSFET transistor. It is found in the Automation - OpenBridge section of the Perspective Component Palette as Mosfet.

It is meant to be placed in a mimic or diagram, typically in a coordinate container, with its properties bound to the state of the device. The Mosfet shows the state it is given; it does not change it, and clicking it does nothing unless you configure an event.

Mosfet with a tag

The Mosfet is one of the automation buttons. The readout and tag, the alert frame, the progress ring, the badges, the size and the positioning are shared by all of them and are described in Automation Buttons — Common Features. This page covers what is specific to the Mosfet.

A Mosfet dropped from the palette with default properties:

Mosfet with default properties

Bind on to the tag or property that holds the state of the device. The symbol is drawn filled and grey when on is false, and as an outline when it is true. The status row of the readout shows Off or On.

Off On
Mosfet off Mosfet on

alternativeIcon selects which symbol is drawn. There are 8 icons. The table shows every icon off and on, for both values of variant:

alternativeIcon square, off square, on flat, off flat, on
mosfetNtype1 (default) mosfetNtype1, square, off mosfetNtype1, square, on mosfetNtype1, flat, off mosfetNtype1, flat, on
mosfetNtype2 mosfetNtype2, square, off mosfetNtype2, square, on mosfetNtype2, flat, off mosfetNtype2, flat, on
mosfetNtype3 mosfetNtype3, square, off mosfetNtype3, square, on mosfetNtype3, flat, off mosfetNtype3, flat, on
mosfetNtype4 mosfetNtype4, square, off mosfetNtype4, square, on mosfetNtype4, flat, off mosfetNtype4, flat, on
mosfetPtype1 mosfetPtype1, square, off mosfetPtype1, square, on mosfetPtype1, flat, off mosfetPtype1, flat, on
mosfetPtype2 mosfetPtype2, square, off mosfetPtype2, square, on mosfetPtype2, flat, off mosfetPtype2, flat, on
mosfetPtype3 mosfetPtype3, square, off mosfetPtype3, square, on mosfetPtype3, flat, off mosfetPtype3, flat, on
mosfetPtype4 mosfetPtype4, square, off mosfetPtype4, square, on mosfetPtype4, flat, off mosfetPtype4, flat, on
  • mosfetNtype1 — N-type.
  • mosfetNtype2 — N-type.
  • mosfetNtype3 — N-type.
  • mosfetNtype4 — N-type.
  • mosfetPtype1 — P-type.
  • mosfetPtype2 — P-type.
  • mosfetPtype3 — P-type.
  • mosfetPtype4 — P-type.

Use the same icon for the same kind of device throughout a project.


variant selects whether the icon is drawn on a button or directly on the background:

  • square (default) — the icon sits on a square button with a border.
  • flat — only the icon is drawn, larger and without a button. Use it where the symbol is part of a line diagram.
square flat
Square variant Flat variant

orientation rotates the icon so that it follows the line it is part of. The readout is not rotated. verticalRight rotates the icon 90° clockwise, verticalLeft 90° counter-clockwise.

horizontal verticalRight verticalLeft
horizontal verticalRight verticalLeft

Name Description Property Type
on Whether the device is on. Selects the on icon and the On status row. Default false. value
alternativeIcon Which icon to draw: mosfetNtype1, mosfetNtype2, mosfetNtype3, mosfetNtype4, mosfetPtype1, mosfetPtype2, mosfetPtype3, mosfetPtype4. Default mosfetNtype1. value
variant square draws the icon on a button, flat draws only the icon. Default square. value
orientation Rotation of the icon: horizontal, verticalRight or verticalLeft. Default horizontal. value

The Mosfet is an automation button. The properties below work in the same way on every automation button, and are described in Automation Buttons — Common Features:

  • Readout — The readout next to the symbol: the status row and the tag name. Properties: showReadoutStack, readoutPosition, readoutSize, showStatus, hasTag, tag.
  • Positioning — Which part of the button is aligned to the component’s box. Properties: positioning.
  • Size — Size of the whole component. Properties: componentSize.
  • Activated — Highlighted background that marks the symbol as selected. Properties: activated.
  • Alert Frame — Alert frame around the symbol. Properties: alert, alertFrameType, alertFrameStatus, alertFrameMode, alertFrameThickness, showAlertCategoryIcon, showAlertIcon.
  • Progress — Progress ring while a command is carried out. Properties: progress, progressMode, progressValue.
  • Badges — Badges in the corners of the symbol. Properties: badgeControl, badgeAlert, badgeInterlock, badgeCommandLocked.
  • Style — Standard Perspective style object.

The Mosfet has no component events of its own. The standard Perspective events, such as onClick, are available in the component’s event configuration. See Operating a Device.

Built on the OpenBridge Design System