Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 7175186, Entry date: 04/17/2001

Programming the "Set_Bit" function by pressing a button on Windows-based devices

  • Entry
  • Associated product(s)

How do I realize the "Set_Bit" function by pressing a button on Windows-based devices?

If you want to set or reset a bit in the controller defined via an Operator Panel, then you must not use the function " Set_Reset_Bit". This function must be performed using the individual functions "Set_Bit" and "Reset_Bit" in conjunction with the triggering event. This means that first the "Set_Bit" function has to be linked to the "Press_button" event and secondly the "Reset_Bit" function to the "Release_button" event.

Search terms:
Programming notes

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit