CWC WinCC Unified

All controls  /  CWC_Schalter

Operate · 10 / 18

Toggle switch

A tap flips the knob and the LED shows green or red. Ausgang_negieren inverts the written value only, for actuators with inverted relay logic. The appearance is untouched by it: right is always on. Zustand_Schalter is a pure output and is not written when the connection is established.

Insert size
140×64 pxscales freely
Properties
5
Events
0
Version
1.0
Name in TIA
CWC_Schalter
Runtime
WinCC Unified

The size shown is the size on insertion. Drag the control to any dimensions in the screen editor — the content recalculates and stays undistorted.

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.

NameType DefaultDescription
Zustand_Schalter boolean false Wird beim Antippen geschrieben, reine AUSGANGS-Property (kein Rücklesen, keine externe Rückmeldung). Siehe 'Ausgang_negieren' für die Wert-Invertierung.
Ausgang_negieren boolean false true: NUR der geschriebene Wert wird invertiert (z.B. für Aktoren mit inverser Relais-Logik). Optik (Knopfposition/LED, rechts=an/grün) bleibt davon unberührt. Reine Design-Zeit-Checkbox im TIA-Eigenschaftsfenster, keine Tag-Bindung nötig.
Farbe color #2b3247 Obere Verlaufsfarbe der Schienen-Pille (Default #2b3247, wie die übrige Pillenbox-Familie).
LED_Farbe_Ein color #3ed17a LED-Farbe im Zustand 'an' (Default Grün #3ED17A).
LED_Farbe_Aus color #e5484d LED-Farbe im Zustand 'aus' (Default Rot #E5484D).

More controls