Network address | Network address of the remote device (e.g. of the PLC device), to which the communication will be connected.
The address can be entered by both IPv4 address (e.g. 192.168.0.15) or by computer name (e.g. server11). The IPv4 address 127.0.0.1 is the local address of this computer. 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 remote port number | Ethernet remote port number for communication.
For communication of the PROMOTIC application with the PLC this port 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"). |
TCP/UDP local port number | Ethernet local port number for communication.
Automatic (default) - The port value is selected automatically after starting the application (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 type | Deatiled 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). |
Number of repeats after unsuccessful Master transmission | Selection 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 chars | Specifies 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. |
Not connect until first transfer | If checked, then the PROMOTIC application will not connect to the server immediately after starting the application, but it will connect when the first transfer starts. |
Close connection after every transfer | If 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" tab | The 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. |