Get Setting (G)
Function | Gets (reads) new setting value |
Can be issued through | Network (broadcasts ignored*, login required); serial port |
Command format | Sss , where ss is the setting name |
Possible replies | Avv...v , D, C, F, where vv...v is current setting value |
Get Setting command reads out current value of the selected setting. ss
is the setting mnemonic, i.e. IP
for the IP-address (IP) setting.
Example: to read current IP-address issue the following command:
→Device: GIP
Device→: A192.168.100.40
When issued through the network, this command requires prior login using the Login (L) command. Denied (D) reply code is returned if the programming session is not in progress or if it doesn’t belong to the sender of the Get Setting command - the the device remembers the IP-address of the network host that opens the programming session and requires that all subsequent commands (that require prior login) are sent from the same IP.
* Without prior selection using Select In Broadcast Mode (W) command.