0:00
PLC Simulator is a convenient tool for testing
and troubleshooting ladder logic programs
0:09
in your XG5000 programming software. It allows you to simulate
the operation of a Parimal Logic Controller, LS Electric PLC
0:18
without needing actual hardware. This makes it a
valuable asset for beginners and experienced programmers
0:25
We will demonstrate how to effectively use
the PLC Simulator in our XG5000 programming
0:30
software for ladder logic. Using the Start-Stop circuit we
developed last time, we will show how this can be simulated
0:36
in the XG5000 programming software before
downloading it to the actual XGB PLC
0:43
Let's get started. Detailed information contained
in this video can be found at accautimation.ca
0:49
A link has been put in the description below. If you have not watched
the other videos yet, there will be links in the description below
0:54
that will start you at video 1. There will be links
to the rest of the videos in this series as well
1:01
Open the XG5000 programming software. Open the
XG5000 programming software on your computer
1:09
Once the software runs, we can open the Start-Stop
ladder logic project we created last time
1:16
Select the Open Project icon on the main
screen, or select Main Menu Project Open Project
1:22
Alternatively, you can use the shortcut CTRL plus O. The default
directory is located under C colon backslash XG5000 backslash Projects
1:33
Please select the project we created last time and choose
Open. Our ladder logic diagram will now be displayed
1:40
We are offline to the controller due to the blue
bar at the bottom of the XG5000 programming window
1:49
Start the PLC simulator and transfer the program. Start
the PLC simulator by selecting the icon on the main screen
1:58
This can also be started by the
main menu Tools Start Simulator
2:04
The XGSim window will first be displayed. Then the
XG5000 will be shown with communication to the simulator
2:12
This is the red bar at the bottom
of the XG5000 programming software
2:18
The Write to PLC window will be displayed. XG5000 software treats the
simulator like a PLC controller and you must establish communication
2:26
and transfer the program. We will leave all
the default settings the same and select OK
2:35
Our ladder logic diagram Start-Stop circuit
will be loaded into the PLC simulator
2:40
The XG5000 Write Complete message will be displayed. Select
OK. The PLC simulator will be placed automatically in Run mode
2:52
Our program is now executing in the simulator. You can start and stop
the scan of the program in the simulator by using the icons on the
2:58
main menu. Monitoring and Testing Ladder Logic Diagram
3:12
We can use the PLC simulator's monitoring and
troubleshooting tools to observe the behavior
3:16
of the ladder logic program. We can display the inputs and
outputs we want to monitor using the monitoring windows
3:24
An easy way to add the variables to the monitoring
list is to select the ladder logic or variables
3:29
Then select Add from the main menu Monitor, Add Variable
Monitor. Your selected variables will be displayed
3:45
We can change the input variables that observe
our program behavior by double clicking on them
3:57
Adjustments can be made to the program using
XG5000 when issues or errors are discovered
4:02
We can create and save necessary changes
to our program using online edit mode
4:09
Using the PLC simulator in the XG5000 programming
software for ladder logic is an effective
4:14
way to test and debug PLC programs without physical hardware. It provides a
safe and effective environment for programmers to validate their logic and
4:23
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:33
to streamline your development process
and deliver reliable PLC programs
4:43
If you enjoyed this video, please hit the like button below. If you have
any questions about the video, please leave a comment below and I'll do
4:48
my best to answer it. If you want more information about
us or you want our free ebooks on numbering systems
4:53
or robust data logging, please click on
the link in the description below to get it
4:57
A new video is put out every Monday, so make
sure you hit the subscribe button to get more
5:01
videos like this in the future. Remember to click the bell
beside your subscription to actually receive those notifications
5:07
Thanks so much for watching. I'll
see you next time. Stay safe
5:27
Transcribed by https://otter.ai