1. Home
  2. Docs
  3. LOGO For Excel Support
  4. Write Functions



Set a digital flag value in a Siemens LOGO! module. This function is available via the taskpane as well as directly via the cell “=SETLOGODIGFLAG(…)”

Return Value

The function returns ‘OK’ when the value is successfully written to the LOGO module. The funtion returns a specific error message if the value could not be written to the LOGO, see the error messages for a description of the returned error message.


ip – Specifies the ip address of the LOGO module.

flagAddress – Specifies the flag address of the specific flag to write to, must be an integer, the range depends on the used hardware.

value – The value that has to be written to the specific flag, must be a bool.