The purpose of this tutorial is to explain how to download the project and perform the login on the PLC.
Components
Equipment: 1 computer/laptop.
1 XF300/315/325/325-W
Software: MasterTool X
Tutorial Sections
- ARCHITECTURE
- DEVELOPMENT
1.ARCHITECTURE
A computer/laptop will be required to use MasterTool X.
Figure 1. Computer running MasterTool X
2.DEVELOPMENT
Network Configuration (Prerequisite)
Before starting, it is essential that the computer and the PLC are on the same network range.
This means that:
- The first three octets of the IP must be the same
- Only the last number (device identifier) should be different
Example:
- PLC → 192.168.15.10
- Computer → 192.168.15.100
Gateway Configuration
After ensuring network communication, follow these steps:
- In the project tree, click on Device
- Locate the Gateway field
- Click on Add a new Gateway
When the window opens:
- Select the option Local Host
- In the address field, enter the PLC IP
- Optionally, change the Gateway name (can be any identification)
- Click OK
Figure 2. Creating and configuring a new gateway
Device Selection and Mapping
After creating the Gateway:
- Click the Gateway selection combo box
- Select the newly created Gateway
- Click Map Network
After this:
- The software will search for the device
- The PLC information will be displayed on the right side
- This indicates that the device was found correctly
At this point, we already have a pre-established connection
Figure 3. Mapping the network with the created gateway
Performing the Login
With the device mapped:
- Access the Communication menu
- Click Login
- Confirm the messages displayed by the software
During this process:
- The application will be transferred to the PLC (if necessary)
- The CPU may automatically go into STOP mode
Figure 4. Downloading the code to the PLC
Putting the CPU in RUN
After login:
- Access the Debug menu
- Click Restart (Run)
With this:
- The CPU will enter RUN mode
- The logic will begin to execute
Figure 5. 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 validations of the logic
Important Notes
- The IP of the computer and the PLC 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 execution and monitoring of the program on the PLC.
Comments
0 comments
Please sign in to leave a comment.