With this function block,
network telegrams from third-party devices can be received and
evaluated. The communication
takes place over TCP, either via a simple text protocol or
http. Commands for writing and reading variables
can be sent here.
- Set variable to a specific value: 100/1/1=1
- Query variable: 100/1/1=?, the response 100/1/=1
is sent.
- Query all variables: ?, in response all variables
are sent, e.g. 100/1/=1\n100/2/=100 etc., at the end
?=FINISHED\n is sent.
All commands to the runtime must be terminated with \n (LF),
and \n (LF) is also appended to the responses.
|