Your cart is currently empty!
How to Use the PLC Web Server for Remote Monitoring and Control
In this tutorial, you will learn how to use the Modular PLC Web Server program in MapleLogic. It will allow you to monitor and control the values of a Maple PLC device online via an internet browser.
Software Required
- MapleLogic Control Software
- MapleLogic – Web Server feature is ONLY available with 8.21.29 or later.
Hardware Required
- PLC-ES1616P – The Web Server feature ONLY works with this PLC-ES Modular PLC Series because it requires an SD Card. The PLC-ES1616P is the only Maple PLC with an SD Card slot.
Features and Specifications
Features and Specs
- Eliminates the need to install additional software for configuration and monitoring.
- Enhanced security: Only authorized IDs and IP Addresses are permitted to access the webserver. There are 15 distinct security levels for users and pages.
- Stores web pages on the SD card of the Modular PLC CPU module, freeing up the CPU module’s programming memory.
- Supports uploading .htm files to the web server.
- Allows a maximum of 3 concurrent users to access the web server.
Item | Web Server |
HTTP version | 1.1 |
Memory of SD Card | FAT32 Format, Max. 8GB |
Security level | Level 1 ~ 15 |
Refresh time | 1 ~ 10 seconds |
Number of Web Page | Max. 30 pages |
Memory of Web Page | Max 60KB per page |
- Files names must contain fewer than 8 characters
- Only .htm files are supported.
- Attached files ( ex. PDFs or images) must be smaller than 60 KB.
Browser Name | Min. Version | Company |
Internet Explorer | V11.0 | Microsoft |
Chrome | V43.0 | |
Safari | V5.1.7 | Apple |
Firefox | V38.0.5 | Mozilla |
Creating a Web Server Project
New Web Server Project Steps
1.Select the “PLC-ES” and click “Next”

2. Name the project, select the path, and click “OK(O)”

3. In the Project Tree, right-click “Program” and click “New Program”

4. Create a new “Web Server Setting” program. Select “OK” when finished.

5. Type the Port Setting to use, User Security (optional), and IP Address Security (optional), and click “Save(S)”

PLC Setup
The PLC-ES1616P can host a web server. The web server allows the user to control data registers, CPU functions, and more.
Required Items:
PLC-ES1616P
PLC-ES CPU Web Firmware
SD Card (up to 32GB) (FAT32 Format)
Note: When the web server firmware is loaded onto the PLC-ES CPU, the CPU will lose all non-webserver Ethernet functionality. The ethernet protocol, Modbus TCP/IP, and more will not work through the Ethernet port. A communication module like the MOD-SENT01 will be required to use the CPU’s original Ethernet functionality.
First, let’s create a new project in MapleLogic with a “PLC-ES” and add a “Web Server Setting” Program.
Next, we’ll load the Web Server Firmware on the PLC-ES CPU.
PLC Setup Instructions
1.Create a WEB Folder on the SD Card
- Plug the SD Card into your PC. On the SD card, create a folder named “WEB“

2. Load the Web Server Firmware on the PLC-ES CPU
- Connect the CPU to MapleLogic. To do this, navigate to “Online” and “Connect”. To change the method of connecting to the PLC-ES, navigate to “Online” and “Connect Option”.
Afterwards, click “Connect”.

3. Navigate to “Online” and click “Firmware Upgrade”.

4. Click the “Path” button to navigate to the web server firmware’s location. An example firmware name is “ES1616P_V063408_20250224_SVN2671_WEB.BIN”. The firmware file must match the CPU type.

5. Once the path is selected, the firmware should appear in the white box. Click the firmware ending in “_WEB.BIN” to install, and then click “OK”


6. Click “Yes” to load the firmware onto the PLC-ES CPU

- This window will appear while the firmware is downloading:

7. Once the firmware is downloaded, switch the PLC-ES CPU to STOP MODE, then POWER CYCLE the PLC-ES CPU, and switch the PLC-ES CPU to RUN MODE once it’s powered back on..

Web Server Manager
Now, lets see how to configure and manage web pages for a Maple Systems Modular PLC Web Server using the Web Server Manager tool.
Managing Steps
*Format the SD card and create a folder named “WEB” in your SD card before inserting SD card into PLC.
1. After creating a new project and upgrading the firmware, click “Web Server Manager”

Enter the name of the web server in the Title field.

Enter the PLC-ES IP Address into a web browser. This title will be used in the web page name and login page, as shown below:


2. This menu list will appear on the web server menu. (Maximum 30 .htm can be added)



- Menu name: Click here to change the name
- File name: Name of the .htm file.
- Page level: Choose from 0 to 15 security level or Default. (Level 0 is the highest level)If you choose “Default,” the default level will be determined by the “User Security Default Level” in the Web Server Security program. For example, if the User Security Default Level is set to 15, the Default Page Level will also be set to 15.
- Refresh: Specifies the refresh duration for updating values. Choose a duration between 1 to 10 seconds or select “Do not set.”
- Start Page: Page that has been set as the first page
- Add menu links: Select a .htm file to upload to the menu list.
- Up and Down: Rearrange the sequence of pages.
- Set Start-page: Click the page you want to set as the first page when opening the web server, then click Set Start-page.
- Delete: Remove the page from the menu list; however, the original .htm file will remain in the folder
3. Under the Engineer page click “New Page” to create a new web page or select the page and press “Edit” to make changes to the page.

- Add Engineer Page to Menu List: If an engineer page is not included in the menu list, the web server page will not display the page in the menu. After creating a new page, click “Add Engineer Page to Menu List” to add it to the web server menu.
- New Page: Create a new engineer page to display on the web server.
- Edit: Modify an existing engineer page.
- Load File: Update a .htm file from another folder.
- Delete: Remove an engineer page from the file name list.
Note: Even if you delete an engineer page from the file name list, the .htm file will remain in the htm folder in the Project folder
4. Click “New Page”.

– In the Create a new engineer Page window, enter a name (less than 9 characters) and click OK. A new engineer page configuration window will then appear.

– Using the Web Server Editing tool, you can add various content to the web page. The web page will display content in order based on the content number.
– Device: To control or monitor a variable’s value, you can add the device address here.


- Type: Select the device type from the drop-down “Type” menu.
- Device: Enter a device address (e.g. M00, D01).
- Y, M, K, L, C, D: Read and Write (R/W).
- X, F, T, C: Read-only (R).
- Variable Name (optional): Read and Write (R/W).
- Read & Write: Choose either Read or Read/Write
- Description (optional): Enter a description of the device address, if needed.
– PLC information: This information will appear on the web page.

– A maximum of 4 items can be selected per content line.
– Add more PLC information to the web page by creating additional PLC information content lines.

– Image: Choose an image file to display on the web page.

- Image Type: jpg, png, gif.
- Image size: Less than 60KB
- File name: Max of 8 characters in length.

– Text: Write text to display on the web page.

- Font Size: Small, Normal, Large, Big
- Alignment: Left, Center, Right
– PDF Document: Link a PDF document

- Select file: Choose the pdf file and add it.
- PDF size: Less than 60KB
- File name: Max of 8 characters in length
5. After creating each content, click Preview to see how it will be displayed on the web page. If the web page looks correct, click OK to save the engineer page.

6. Click “Add Engineer Page to Menu List” to save the web page to the web server menu.

* If you don’t add an engineer page to the Menu list, the web server will not show the page in the menu.

7. To set the start page, in the Menu List select the page you want to display when opening the web server and click “Set Start-page”.

8. Click “Next >>>” and the Web Server Step 2: Data Download window will appear.

9. To display links, PDF files, and images, selected on the engineer page, click “Add” and choose all links, PDF files and images here.

* If you don’t add links, PDFs, or images to the Additional File List, they will not be displayed on the web page.
10. Click “Save” and “Write to PLC” to download the web page settings and contents to the PLC CPU.

* Until you click “Write to PLC”, the PLC CPU will not have a web page, even if the project is downloaded to the PLC.
Security Settings
Next, lets see how to set up User and IP-based Security for the Modular PLC Web Server.
Security Instructions
1. To set up security for the web server, the “Security (User/IP)” program must be configured.
- Right-click on “Program”, select “New Program”, and then choose “Security (User/IP)” under the Communication Configuration sections.

- Choose the security options you want to configure for the web server.
- Options include
- User ID
- User IP Address
- Auto Logout
- User MAC address is not available at this time but is coming soon
- Options include

- User ID: Only registered User IDs with passwords can access the web server.
- A maximum of 16 User IDs can be registered.
- IP Address: Only registered IP addresses can access the web server page.
- A maximum of 16 IP addresses can be registered
- Auto Logout time: The web page will automatically log out after the specified time. (1-255 minutes).
- To configure User ID security, click the “ID” tab and click “Add(A)”

- Enter the “ID” name and click “Check ID”
- Set a password (4 to 15 characters) and confirm it in the “Check Password” field.
- Choose a “User Level” (0 to 15)
- Level 0 is the highest, granting access to all levels of pages.
- Example: A page level of 5, users with levels 0 to 5 can access the web page
- Add a “Remark” if necessary (e.g. “Admin – Top Level”)
- Click “Add(A)” to save

(Note: If you want to use only an ID and password for the web server, you do not need to configure the IP Address settings.)
* If User ID is enabled, the login page shown below will appear. The user viewing the page MUST know the user ID and password defined when enabling the User ID. Otherwise, they will NOT be able to log in to the main web page on the web server.

- To configure IP Address security, click the “IP Address” tab and click “Add(A)”

- Write the IP address from which you want to access the web server. Once complete, click “Save”

(Note: If you want to use both User ID and IP Address security, select User ID and User IP Address)
2. After configuring the “Security (User/IP)” program, open the “Web Server Setting” Program to apply security settings to the web server.

- Port Setting: Set the HTTP port (default: 80).
- Web Server Setting:
- Enable “User Security” to restrict access using User IDs.
- Enable “IP Address Security” to restrict access using registered IP addresses.
- Web Page Default: Set the default page security level (e.g. Level 15).
- Online Edit: While accessing the web server, you can also edit security settings.
If you want to use either “User ID” or “IP Address” for web server security, these settings must first be configured in the “Security (User/IP)” program.
Note: The “User Security Default Level” is linked to the “Page Level” in the Menu list in the Web Server Manager. For example, if the default level is set to Level 15, the Page Level will also be Level 15.
Connecting to the Web Server
Finally, let’s learn how to access and interact with the web server hosted on the Modular PLC.
Connection Steps
1. Navigate to a browser that supports HTML. In the browser’s search bar, Type the IP address of the PLC followed by a colon and the port defined in the Web Server Project. Make sure the PLC is connected to the network properly via Ethernet. The Ethernet cord MUST be plugged into the PLC-ES CPU.

2. The web server will redirect to the main page defined in the Web Server Manager. This is where the data registers can be modified. Click edit to modify a data register’s value.

3. Enter a value allowed by the data register’s data type. This example uses a DWORD data register. After clicking “send”, it will say “Success!” The message will appear in the bottom left.

4. The value of the data register on the web page will appear to be updated.

5. In MapleLogic the Device Monitor window will also display the updated changes made on the web server.

6. The Memory Monitor window will also display the updated changes.

Sample Project
The project shown above was designed for the specific hardware mentioned at the beginning of the tutorial and is intended to provide you guidance when programming your unit. If you are using models other than the one specified in this sample project, these steps CANNOT be duplicated within your own project.
Download MapleLogic Sample Project
Resources & Documentation
MapleLogic Resources
- MapleLogic (8.21.29)
- PLC Web Server User Manual
- MapleLogic User Manual
- Maple Modular PLC User Manual
More
Tutorials
Sample Projects
Software Downloads
See our Support Center for a complete list of Quick Start and Installation Guides

About the Author