Übersicht Network Input


With this function block network telegrams from external devices can be received and evaluated.





Inputs

FG
Enable
Optional Enable. If this input is not used, the logic is automatically enabled, otherwise only if 1 is applied to the input.

Outputs

PL
Puls
As soon as a valid telegram is received, 1-0 is sent at this output at intervals of one second.
WT
Value
Value that was evaluated from the received data.
AT
Number of threads
Number of currently running server threads, a separate thread is started for each connection. If 16 parallel connections are exceeded, no more are accepted.

Parameter

Protocol

  • TCP data: Evaluation via a string, the text between search start and search end is sent as a number to the output, this method is easier to use than regular expressions. Evaluation using a string, the text between the start and end of the search is sent as a number to the output, this method is easier to use than regular expressions.

  • TCP-API: This protocol can be used to send commands via TCP. Commands for writing and reading variables can be sent. "1/100/171=1" to set the variable to 1, "1/100/171=?" to read the value of a variable.
Port
Port number
Data search Start
Evaluation via a string, the text between search start and search end is sent as a number to the output.
Data Search End
Evaluation via a string, the text between search start and search end is sent as a number to the output.
Data Search Number
If the string to be searched for occurs several times in the response, the position can be specified here.
Answer
If a response is to be returned, a corresponding string can be specified here.


See also general parameters of all function blocks.