sParam | (String) The parametr name.
"EthIPAddr" - Ethernet IP address. The value je of the String type.
The value can be set by the OpenPort method or in the "PmaComm > Setting the parameters of the Ethernet-client > Network address" configurator. This value cannot be set by the SetProtParam method. "EthPort" - TCP/UDP remote port number. The value je of the Integer type.
The value can be set by the OpenPort method or in the "PmaComm > Setting the parameters of the Ethernet-client > TCP/UDP remote port number" configurator. This value cannot be set by the SetProtParam method. "SerPort" - Serial port. The value je of the String type.
The value can be set by the OpenPort method or in the "PmaComm > Setting the parameters of the serial link > Serial port" configurator. This value cannot be set by the SetProtParam method. "ProtType" - The value je of the String type.
This parameter can be used for the driver PmSNMP: Specifies the version of SNMP and additional parameters. See Changing SNMP protocol parameters. |
---|
var sVal1 = oComm.GetProtParam("EthIPAddr");
var sVal2 = oComm.GetProtParam("EthPort");
var sVal = oComm.GetProtParam("ProtType");