Set an analog flag value in a Siemens LOGO! module. This function is available via the taskpane as well as directly via the cell “=SETLOGOANAFLAG(…)”
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 output, must be an integer.