0:00
PLC simulator is a convenient tool for testing and troubleshooting
structured text or ST programs in the XG-5000 programming software
0:12
It allows you to simulate the operation of a program logic
controller, LS Electric PLC, without needing actual hardware
0:20
This makes it a valuable asset for beginners and experienced programmers. You will
use the PLC simulator in the XG-5,000 programming software for structured text
0:29
Structured Text. Typically, structured text hard to
troubleshoot, but the simulation of monitoring screens solved
0:34
this problem. Using the Start Stop Circuit we developed
last time, we will show how this can be simulated in
0:40
the XG-5,000 programming software, before
downloading to the actual XGB PLC. Let's get started
0:48
Detailed information contained in this video can be found at
ACCautomation.ca. A link has been put in the description below
0:54
If you have not watched the other videos yet, there will links in the description below that
will start you a video 1, but will links to the rest of the videos in the series as well
1:03
Open the XG 5000 programming software. Open the
XG 5000 programming software on your computer
1:12
Once the software runs we can open the Start Stop Structure Text project we created last time Select the Open Project
icon on the main screen or select Main menu Project Open Project Alternatively you can use the shortcut Control Plus O
1:31
The default directory is located under XG 5000
projects. Please select the project we created last time
1:37
and choose Open. Our St.Diogram will now be displayed.
We are offline to the controller due to the
1:45
blue bar at the bottom of the XG-5,000 programming software
window. Start the PLC simulator and transfer the program
1:57
Start the PLC simulator by selecting
the icon on the main screen
2:02
This can also be started by the
main menu Tools Start Simulator
2:08
The XG SIM window will first be displayed. Then the
XG-5000 will be shown with communication to the simulator
2:16
This is the red bar at the bottom of
the XG-5,000 programming software
2:21
The right to PLC window will automatically be displayed.
XG-5,000 software treats the simulator like a PLC controller
2:29
You must establish communication and transfer the program. We will leave all the default settings the same and select OK Our structured text
start circuit will be loaded into the PLC simulator The XG write complete message will be displayed Select OK The PLC simulator will be placed
2:51
automatically in run mode. Our program is now
being executed in a simulator. You can start and
2:57
stop the scan of the program in a simulator
by using the icons on the main menu
3:05
Monitoring testing the structured text code We can use the PLC simulator's monitoring
and troubleshooting tools to observe the behavior of the structured text program
3:21
We will display the inputs and outputs we
want to monitor using the monitoring window
3:26
An easy way to add variables to the monitoring
list is to select the latter logic or variables
3:31
then select add from the main menu monitor, add to variable monitor. to variable
monitor your selected variables will be displayed we can change the input
3:40
variables and observe the program behavior by double clicking on them
adjustments can be made in the program using xg 5000 when issues or errors are
3:52
discovered we can create and save the necessary changes in our program using online edit mode using the PLC simulator in
the XG programming software for structured text is an effective way to test and debug PLC programs without physical hardware
4:09
It provides a safe and efficient environment
for programmers to validate their logic
4:13
and ensure proper operation before deploying it to the real-world applications. By
following the steps outlined above, you can harness the power of the PLC simulator
4:23
to streamline your development process and deliver reliable PLC
programs. If you enjoyed this video, please hit the like button below
4:32
If you have any questions about the video, please
leave a comment below and I'll do my best to answer it
4:37
If you want more information about us or you want our
free e-books on numbering systems or robust data logging
4:41
please click on the link in the description below to get it. A new video is put out every
Monday, so make sure you hit the subscribe button so get more videos like this in the future
4:50
Remember to click the bell beside your
subscription to receive those notifications
4:55
Now that you know more about the XGB PLC simulator,
click here to see it in action for the ladder
5:01
To see all the posts and videos
for the XGB PLC, click here