GETLOGOVMAREA

Summary

Retrieve a variable memory area value from a Siemens LOGO! module. This function is available via the taskpane as well as directly via the cell “=GETLOGOVMAREA(…)”


Return Value

The function returns the requested variable memory area value.


Arguments

ip – Specifies the ip address of the LOGO module.

dataType – Specifies the datatype of the requested data. Following datatypes are available: ‘BIT’, ‘BYTE’, ‘WORD’, ‘DWORD’, ‘INT’, ‘DINT’, ‘FLOAT’, ‘DOUBLE’

vmAddress – Specifies the variable memory 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.


Example


Instructional Video