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

Return Value

The function returns the requested digital flag value. The funtion returns ‘FALSE’ when digital flag is ‘0’ and ‘TRUE’ when digital flag is ‘1’.


ip – Specifies the ip address of the LOGO module.

flagAddress – Specifies the flag address of the requested data, must be an integer, the range depends on the used hardware.

bitNo – Specifies the bit number, must be an integer between 0 and 7.


Instructional Video