Transport Protocol (TP) parameter


(see parameter description format info here)

Function:Overrides Transport Protocol (TP) setting
Parameter (P) cmd format:PTPx, where x: 0 (UDP), 1 (TCP)
Possible replies:A, C, R
Relevance conditions:---
First introduced:Earlier than "baseline" V3.14/V3.51
See also:Ethernet port and network communications


Transport Protocol parameter overrides the Transport Protocol (TP) setting .

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". Transport protocol cannot be changed while the 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 using Echo (X) command (c flag).