Retrieve a timer value from a S7 PLC. This function is available via the taskpane as well as directly via the cell “=GETS7TIMER(…)”
The function returns the requested timer value in seconds.
cpuType – Specifies the cpu type of the PLC you want to connect with, must be a string with the CPU type in following format: ‘S7-1200’, ‘S71200’, ‘1200’.
ip – Specifies the ip address of the PLC.
rackNo – Specifies the rack number of the PLC, must be an integer between 0 and 99.
slotNo – Specifies the slot number of the PLC, must be an integer between 0 and 99.
Address – Specifies the timer address of the requested timer, must be an integer between 0 and 9999.