Update cookies preferences
Promotic

Setting the parameters of the Ethernet-client - configuration window

Description:
The Ethernet-client communication parameters executed by the PmaComm object can be defined in this window.
 
This configuration window can be opened from the "Basic communication parameters" configurator, if the communication protocol is designated for Ethernet-client.
Configurators:
Network addressNetwork address of the remote device (e.g. of the PLC device), to which the communication will be connected.
The address can be entered as:
- IPv4 full address (e.g. "192.168.0.15")
- IPv4 address of this computer (i.e. "127.0.0.1")
- IPv4 computer name (e.g. "server11")
- IPv4 name of this computer (i.e. "localhost")
- IPv6 full address (e.g. "2a02:c38:8136:800a:37a:ab66:6fc9:accd")
- IPv6 address of this computer (i.e. "::1")
 
Macro expression can be used for input (it is evaluated after the application is launched).
The value can be change by the OpenPort method.
The value can be detected by method GetProtParam("EthIPAddr").
TCP/UDP remote port numberEthernet remote port number for communication.
For communication of the PROMOTIC application with the PLC this port number is usually 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").
 
See: Wikipedia: A list of TCP and UDP port numbers used by protocols to run network applications.
TCP/UDP local port numberEthernet local port number for communication.
Automatic (default) - The port value is selected automatically after the application is launched (usually a specific value does not have to be selected, it just must be unique on the computer).
In this case, the local port changes every time a connection is established.
Manual entry - The value will be entered manually in the additional configurator.
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 are transferred by separate portions so-called packets.
UDP - Only limited data transfers are allowed (often limited only 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 transmission is terminated (the onEndOfTransfer event is triggered with the 24 error or 66 error).
In case of transmission of a Master type message, it is the timeout for receiving the requested message.
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/Driver/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 the server immediately after the application is launched, 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 and 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 NOT checked this configurator (otherwise the connection would be closed after each message 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, the "Monitor" tabThe transmision status can be checked in the INFO system. The information can be found in the "COMM" item.
This item contains more tabs. The "Monitor" tab 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.
Note:
The parameters "TCP/UDP remote port number" and "Ethernet transfer type" are usually overwritten by the automated machine and it is necessary to enter the same values here.
For each driver these values are described in PROMOTIC documentation (see for example PmModbusMr description). There are also hints being displayed underline directly in this configuration window.

History:
Pm9.00.26: In the "Network address" configurator, it is now also possible to use the IPv6 address.
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.