Repository navigation
Device Button
This page is generated from the Unity twin. Published from
_docs/context/devices/button.md— edit it there, not here. Changes made in the wiki are overwritten on the next sync.
A push button with a lamp in it. One bit up to the PLC saying it is pressed, one bit back down driving its light.
Twin device type · twin FB FB_Button · 2 instances in FG_System · Unity component OC.Interactions.Button
What an operator actually touches: start, stop, reset, an emergency stop mushroom. The lamp is driven by the PLC, not by the button, so the panel shows what the program believes rather than what the operator just did.
| Symbol | Meaning |
|---|---|
Status.0 |
Pressed |
Control.0 |
Light the button's lamp |
A button takes one bit in each direction. That matters when several are packed into a panel — see PanelSampler.
Two kinds, set per instance:
| Type | What a click does |
|---|---|
| Momentary | Goes true, and back to false about a tenth of a second later |
| Latching | Stays true until it is clicked again — the behaviour of an emergency stop mushroom |
Buttons appear both as 3D objects in the scene and as controls on the on-screen operator panel; both drive the same bit.
A latching button does not release itself. Clicking an emergency stop in the twin leaves the cell in emergency stop until you click it a second time, exactly like twisting the real mushroom back out.
Signal — One input and one lamp coil, as a single device. Active while the mushroom is latched.
There are 2 of them, in FG_System:
| Device | Twin PLC path | Group |
|---|---|---|
SS_EStop1 |
MAIN.FG_System.SS_EStop1 |
FG_System |
SS_EStop2 |
MAIN.FG_System.SS_EStop2 |
FG_System |
The twin is master for structure, and that is all this page states. Which control function block each instance becomes, its process-image members and its published HMI struct is the control platform's own knowledge base:
- Beckhoff
- Siemens — no knowledge base published yet
Generated from DT_PSA_OPCV by _workflow/tools/build_wiki.py — 39 pages. Edit the source there; changes made here are overwritten.
Getting started
- Home
- Setup
- Using-The-Application
- How-It-Works
- PLC-Connectivity
- Engineering-Workflow
- Machine-Description
- Glossary
The machine
- Machine
- Machine-PLC-Symbols
- Machine-Provenance
- Machine-FG_01
- Machine-FG_02
- Machine-FG_03
- Machine-FG_04
- Machine-FG_05
- Machine-FG_System
- Machine-FG_Transport
Behaviour
- Behaviour-FG_01
- Behaviour-FG_02
- Behaviour-FG_03
- Behaviour-FG_04
- Behaviour-FG_05
- Behaviour-FG_System-Safety
- Behaviour-Gripper-Station-Reset
- Behaviour-State-Lamp
- Behaviour-Transport
Device types
- Device-Button
- Device-ControlBunker
- Device-Cylinder
- Device-DataReader
- Device-DrivePosition
- Device-DriveSimple
- Device-Lamp
- Device-LinkByte
- Device-Lock
- Device-PanelSampler
- Device-SensorBinary
- Device-SignalBinary
Control platforms
- Beckhoff TwinCAT 3
- Siemens TIA Portal — no wiki yet