Setting the parameters of the Ethernet-client

The Ethernet-client communication parameters executed by the PmaComm object can be defined in this configuration window.

The window is called from the "Basic parameters of communication" configurator, if the communication protocol is designated for Ethernet-client.

Configuration items:
Network addressNetwork address to which the communication will be connected. The address can be entered by both IP address (e.g. or by name (e.g. server11).

Macro expression can be used for input (it is evaluated after starting the application).

The value can be change by the OpenPort method. The value can be detected by method GetProtParam(""EthIPAddr"").

TCP/UDP port numberEthernet port number for communication.

For communication of the PROMOTIC application with the PLC this number is usually hardware predefined and the PROMOTIC application must use the same value (see the note below).

The value can be change by the OpenPort method. The value can be detected by method GetProtParam(""EthPort"").

Ethernet transfer typeDeatiled Ethernet protocol type specification.

The communication protocol is usually firmly implemented into the automated machine, therefore the PROMOTIC application has to adapt identical protocol type (see the note below).

TCP (default) - Allows unlimited, security checked data transfers. The data is transferred by separate portions so-called packets.
UDP - Only limited data transfers are allowed (often limited to 500 Bytes). The data transfer is very fast.
Number of repeats after unsuccessful Master transmissionSelection of the number of repeating the message transmission if the response has been defective or it hasn't been received at all. This setting is meaningful only for the communication messages of the Master type. The default value is 0 (i.e. without repeat).
Timeout of one packet transfer [ms]If the data transfer (1 packet) takes longer than defined, then the transfer is terminated (the onEndOfTransfer event is triggered with the 24 error or 66 error).

The default value is 2000 ms.

Filter ECHO charsSpecifies whether the received data have to be removed (filtered) because it goes about repeating characters transmitted from the message.

Note: Received filtered ECHO characters are recorded together with other characters in the "/COMM/Monitor" item of the INFO system.

No (default) - No filtr
Yes - Filter. As many first received characters are removed as many characters were transmitted last. This is relevant only if serial link/Ethernet converter is used and this converter returns transmitted characters.
Not connect until first transferIf checked, then the PROMOTIC application will not connect to server immediately after starting the application, but it will connect when the first transfer starts.
Close connection after every transferIf checked, then after each transfer the connection is closed. Next time, the data transfer occures, the application will connect to the server first.

This process slows down the communication, therefore it is suitable only for infrequent communications. The ceaseless connection opening/closing may cause problems with the PLCs rendering this kind of communication less reliable.

If it is necessary to send multiple messages before connection close, then it is better to UNcheck this configurator (otherwise the connection would be closed after each transfer) and call the ClosePort method after the transfer is finished.

See also: Connection Limit - open connections limit.

Max.number of rows in INFO/COMM, 'Monitor' pageThe transmision status can be checked in the INFO system. The information can be found in the "COMM" item.

This item contains more pages. The "Monitor" page contains circular transfer history list including the characters that has been transferred. The size of the circular list can be entered here.

The default value is 1000.

The parameters "TCP/UDP port number" and "Ethernet transfer type" are often overwritten by the automated machine and it is necessary to enter the same values here.

For each driver these values are described in corresponding PROMOTIC documentation (see for example PmModbusMr). There are also hints being displayed underline directly in this configuration window.

Pm7.00.00: Created
PROMOTIC 9.0.8 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice