User`s guide

Return Format
The query command returns the IP address in the form "nnn.nnn.nnn.nnn".
Note that the query command has two optional parameters. Specify
"CURRent" (default) to read the dynamic IP address currently being used by
the instrument. Specify "STATic" to read the IP address currently stored in
non-volatile memory within the instrument (may not be the actual address
used by the instrument if DHCP is enabled).