Insert a visualization in the device tree.
Then the Visualization Manager is inserted with the visu types TargetVisuand WebVisu.
|
|
|
|
|
|
|
Create a new POU named ClientInfo and call it from Visu_Task.
The call of the ClientInfo POU must originate from the Visu_Task because only then is the required client handle passed. |
Adapt the ClientInfo POU as follows:
|
|
Start the project and set a breakpoint in line 6 of the ClientInfo POU.
After the client has connected, execution is halted at the breakpoint and the IP address can be read.
The information is available only for web clients. A TargetVisu connected to the controller does not contain this information. |