Destination IP-address (DI) parameter


(see parameter description format info here)

Function:Overrides Destination IP-address (DI) setting
Parameter (P) cmd, where is the IP-address of the destination in dot-decimal notation (i.e.
Possible replies:A, C, R
Relevance conditions:For outgoing connections:

        Current Routing Mode (RM) [setting /parameter ] = 1 (server/client) or 2 (client)

        [V3.24/3.54] For incoming connections:

        Current Routing Mode (RM) [setting /parameter ] = 0 (server) or 1 (server/client)

        AND current Source IP Filtering (SF) [setting /parameter ] = 1 (enabled)

First introduced:Earlier than "baseline" V3.14/V3.51, functionality extended in V3.24/3.54
See also:Ethernet port and network communicationsEstablish Connection (CE) instruction


Destination IP-address parameter overrides the Destination IP-address (DI) setting . Notice that this setting's functionality has been extended in V3.24/3.54 .

Error (C) reply code is returned if the data supplied in the command is invalid. Rejected (R) reply code is returned if:

Command is issued while the IP-address of the DS is not properly configured (DHCP (DH) setting is 1 (enabled) and the DS hasn't yet obtained the IP-address from the DHCP server).
Current data connection state is not "closed". Destination IP-address cannot be changed while the data connection is in progress. Close (or shut) the connection using the Close Connection (CC) instruction or Abort Connection (CA) instruction first. Current connection status can be verified through Echo (X) command (c flag).