The purpose of this tutorial is to explain how to change the PLC's IP address.
Components
Equipment: 1 computer/laptop.
1 XF300/315/325/325-W
Software: MasterTool X
Tutorial Sections
- ARCHITECTURE
- DEVELOPMENT
1. ARCHITECTURE
A computer/laptop is required to use Mastertool X.
Figure 1. Computer running Mastertool X
2.DEVELOPMENT
The PLC IP address change can be done directly through MasterTool IEC XE, a common procedure during commissioning, maintenance, or network standardization. There are two main ways to perform this change.
Method 1: Change via Easy Connection
This method is used to configure the IP directly on the network, without needing a loaded project.
Prerequisite:
- The CPU must be in STOP mode
Step by step
- Access the Communication menu
- Click on Easy Connection
- Scan the network
- Locate and select the desired PLC
After selecting:
- At the bottom of the window, locate the option for New device configuration
- Enter the new parameters:
- IP Address
- Subnet Mask
- Gateway
- Click Apply
Figure 2. IP change via Easy Connection
Operation
- The PLC will receive the new configurations
- The device will automatically restart
- After restarting, it will be operating with the new IP
Important note
- The CPU must be in STOP, otherwise the change will not be allowed
Figure 3. Confirmation of the PLC IP change
Method 2: Change via project (Configuration)
This method is used during project development, configuring the IP directly in the application.
Step by step
- In the project tree, access:
CPU (XF325) → NET1 - Configure the network parameters:
- IP Address
- Subnet Mask
- Gateway
- Save the project
- Perform the application download
Figure 4. IP change via NET1
Operation
- During the download, the PLC will receive the defined settings
- The current IP will be replaced by the new configured IP
- The device will respond at the new address
Important note
- During the download, communication may be interrupted due to the IP change
- It may be necessary to reconnect using the new address
Applications in automation
- Initial network configuration
- Address standardization
- Device maintenance
- Integration in industrial systems
General notes
- Always ensure the computer is on the same network
- Be careful not to lose communication after changing the IP
- Confirm parameters before applying
Figure 5. Downloading code to the PLC
Putting the CPU in RUN
After logging in:
- Access the Debug menu
- Click Restart (Run)
With this:
- The CPU will enter RUN mode
- The logic will start executing
Figure 6. Putting the PLC into RUN mode
Expected result
After these steps:
- The PLC will be running the program
- The user will be able to monitor variables in real time
- It will be possible to perform tests and logic validations
Important notes
- The computer and PLC IPs must be on the same network
- The Gateway must be configured correctly
- Mapping is essential before login
- The CPU may enter STOP during the process
- It is necessary to manually put it in RUN after login
In summary, the download and login process involves correctly configuring the network, creating the Gateway, mapping the device, and then establishing the connection, allowing the program to run and be monitored on the PLC.
Comments
0 comments
Please sign in to leave a comment.