All controls / CWC_Button_Pillenbox
Operate · 15 / 18
Pill button
Gedrueckt and Losgelassen appear in the property window under Events just like a native operating element and can be assigned there directly. The LED below the label is enabled separately so a button without feedback is not left with a permanently dark LED. The darker gradient tone is derived from the chosen colour.
- Insert size
- 180×56 pxscales freely
- Properties
- 6
- Events
- 2
- Version
- 1.0
- Name in TIA
- CWC_Button_Pillenbox
- Runtime
- WinCC Unified
What it would write
This is the real control, not a picture of one. Operate it — below you can see what it would write to your tags in the runtime.
Nothing yet. Operate the control above.
Properties
These properties appear in the TIA property window and can be bound to tags there. The names are deliberately ASCII and German: umlauts in property names stop the control from writing back.
| Name | Type | Default | Description |
|---|---|---|---|
Text |
string | "Taste" |
Beschriftung der Taste. |
Textfarbe |
color | #ffffff |
Farbe der Beschriftung (Default: Weiß). |
Farbe |
color | #2b3247 |
Obere Verlaufsfarbe der Taste (Default: exakt der obere Farbton der Heizungs-Tastenleiste, #2b3247). Der untere, dunklere Verlaufston wird daraus automatisch abgeleitet. |
Status_Anzeige_Aktiv |
boolean | false |
Schaltet die LED-Statusanzeige unter dem Text frei. false: keine LED sichtbar, 'Eingeschaltet'/'LED_Farbe' werden ignoriert (für Tasten ohne Status-Rückmeldung). |
Eingeschaltet |
boolean | false |
Ist-Zustand der LED (nur wirksam, wenn Status_Anzeige_Aktiv=true). true: LED leuchtet in LED_Farbe, false: LED dunkel/aus. |
LED_Farbe |
color | #3ed17a |
Leuchtfarbe der Status-LED im eingeschalteten Zustand (Default: Grün, #3ED17A). |
Events
They appear in TIA under Events just like a native operating element and can be assigned there directly.
| Name | Parameters | Description |
|---|---|---|
Gedrueckt |
— | Wird ausgelöst, wenn die Taste gedrückt wird (entspricht 'Taste drücken' bei nativen Bedienelementen). |
Losgelassen |
— | Wird ausgelöst, wenn die Taste losgelassen wird (entspricht 'Taste loslassen' bei nativen Bedienelementen). |