The objective of this tutorial is to explain how to access the web server of the XF325-W CPU through the browser.
Components
Equipment: 1 computer/notebook.
1 325-W
Software: MasterTool X
Tutorial Sections
- ARCHITECTURE
- DEVELOPMENT
- ARCHITECTURE
A computer/notebook will be required to use MasterTool X.
Figure 1. Computer running MasterTool X
2. DEVELOPMENT
After creating the visualization in the project, the user can access it through a browser using the PLC Web Server, allowing monitoring and control directly through the web page.
Important note
For this procedure:
- It is necessary to use a physical PLC (XF325-W)
- It does not work in simulation only
- The PLC must have the Web Server active (via project download)
This occurs because the controller will open a web port to make the visualization available.
Prerequisites
- Computer connected to the PLC (directly or through a network)
- Project with Visualization configured
- Download completed successfully
- CPU in RUN mode
Step-by-step
- Connect the computer to the PLC
- Perform the project download normally
- After the download, set the CPU to RUN
Figure 2. Project with the web server configured and transferred to the CPU
Access through the browser
With the PLC running:
- Open any browser, such as:
- Google Chrome
- Microsoft Edge
- Opera
- In the address bar, enter:
PLC_IP:8080/webvisu.htm
Example:
192.168.15.1:8080/webvisu.htm
Figure 3. Command to run the web server in the browser
Operation
After accessing it:
- The browser will load the graphical interface created in MasterTool
- The PLC Web Server instance will be opened
Available features
On the web page, the user will be able to:
- Supervise the process
- View variable states
- Interact with the application
- Send commands
Example:
- Activate a Boolean variable
- Turn outputs on/off
- Change values
Figure 4. Web server instantiated by the browser
Comments
0 comments
Please sign in to leave a comment.