0:00
We will be wiring discrete inputs and outputs to an XGB PLC
0:09
This will be the lighted pushbuttons start and stop. In industrial automation, programmable logic controllers, or PLCs, are critical in controlling
0:18
various machines and processes. One of the most widely used PLCs is the LS Electric XGB series, which is known for its
0:26
reliability and flexibility. We will focus on wiring discrete inputs and outputs to an LS Electric XGB PLC, providing
0:34
insights and tips for successful implementation. Using the XG5000 programming software, we will connect to the XGB PLC and monitor the
0:44
physical input locations. Turning on and off the outputs and viewing the inputs will test our wiring and ensure
0:50
we understand the addresses involved. Let's get started. Detailed information contained in this video can be found at accautomation.ca
0:59
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
1:04
that will start you at video 1. There will be links to the rest of the videos in the series as well
1:12
Using ferrules for stranded wiring. When physically wiring inputs to PLCs, often these are screw terminals
1:20
Using a ferrule when using stranded wire ensures a good connection. Ferrules are any tube used to bind together strands of material together
1:29
In the case of wire ferrules, this tube is crimped to ensure that all wire strands are
1:33
kept together. Strip off the end of the wire and place a ferrule on the end, ensuring that all the
1:39
wire strands are in the tube. Use the crimping tool to crimp the ferrule tube
1:48
Discrete inputs. Using sensors and switches, discrete inputs interface the PLC with various digital sensors
1:56
and switches such as limit switches, push buttons, and proximity sensors. These inputs are critical for monitoring the status of different devices and signaling
2:04
the PLC to take appropriate action. When wiring discrete inputs to an LS Electric XGB PLC, following a few steps is essential
2:13
to ensuring proper functionality. First and foremost, selecting the correct input type with the LS Electric XGB PLC is critical
2:21
DC or direct current inputs on the CPU can be wired with the common point at 0VDC, syncing
2:28
or 24VDC, sourcing. In our case, we will be wiring the common at 0VDC for our inputs and outputs
2:36
Follow the wiring diagram provided by the manufacturer. It's critical to pay attention to the polarity and voltage specifications when making the
2:44
connections to prevent damage to the PLC or the connected devices. The onboard I.O. of the XGB PLC requires 24VDC power
2:57
Check the power according to the manufacturer's wiring diagram. We can now wire the push buttons to the PLC input, starting with the 24V signal wire
4:13
We will wire the normally open, and O of the green switch, and the normally closed, and
4:18
C of the red switch. One side of the lamp will also be wired to the 24V signal
4:27
The other side of the normally closed green switch will be wired to the first input, IX0
4:32
which we will be using a yellow wire. The other side of the normally closed red switch will be wired to the second input
4:39
IX1, which we will be using the red wire. The XGB series offers a variety of input modules with different voltage and current ratings
4:49
to accommodate diverse industrial applications. These modules or cards can be added to your PLC system
4:55
Labeling the input terminals and documentation of the wire scheme can greatly facilitate
5:00
troubleshooting and maintenance activities in the future. Since this is just for testing, we are using different colored wires so you can see the connections
5:11
Discrete Outputs Discrete outputs control actuators and devices such as solenoid valves, starter motors, and indicator lamps
5:20
These outputs enable the PLC to activate and supervise different components of the system
5:25
based on the programmed logic. When wiring discrete outputs in the LS Electric XGB PLC, it is essential to adhere to best
5:33
practices to ensure safe and reliable operation. Like discrete inputs, selecting the appropriate output voltage compatible with the LS Electric
5:41
XGB PLC is the first step in the process. Our CPU outputs on the XGB PLC are syncing
5:49
This means that the common for the PLC voltage is at 0VDC
5:53
Once again, refer to the manufacturer's wiring diagram. Our outputs will be the LED lamps with the green and red pushbuttons
6:02
The other contact of the LED lamp for the green light will be wired to the output QX0
6:18
The other contact of the LED lamp for the red light will be wired to the output QX1
6:23
with a black wire. Our wiring is complete. Power up the PLC
6:38
You will notice that the input 1 is on. This is because it is wired to the normally closed contact of the red pushbutton
6:45
If no one is touching the switch, the signal is 1, high, or on at the PLC
6:52
The XGB series offers output modules with different current and voltage ratings to meet
6:56
the requirements of different actuating devices. These modules or cards can be added to your PLC system
7:02
Labeling the output terminals and documentation of the wiring scheme can greatly facilitate
7:07
troubleshooting and maintenance activities in the future. Since this is just for testing, we are using different colors so you can see the connections
7:14
It is also essential to ensure that the connected devices stay within the current capabilities
7:19
of the output module to prevent overloading and potential damage. Testing wiring
7:27
Ringing out the inputs and outputs. Testing is the next step once the inputs and outputs are wired to the PLC
7:36
This is sometimes referred to as ringing out the I.O. Start a new project using the XG5000 programming software
7:43
We will place an end statement for our program. Set the IP address and connect to the XGB PLC
7:50
We have previously covered how this is accomplished in a previous post
8:09
You will see the status of our PLC connection at the bottom of the XG5000 programming software
8:15
Green means we are connected, and the PLC is writing the program
8:19
Red means we are connected, and the PLC programming is not running
8:25
Write the program to the XGB PLC
8:37
Call up monitor 1 and enter the input contacts
8:49
Activate the monitor icon on the main screen to view the status of the inputs
8:55
We can now activate the inputs and see the corresponding bits turn on and off
9:07
Add the two outputs to the monitor 1 window
9:22
Double clicking on the output status will allow you to turn them on and off
9:26
You will see that our green and red LED outputs light. This ensures that our LEDs are wired correctly
9:35
General tips and considerations. When wiring discrete inputs and outputs to an LS Electric XGB PLC, several general tips
9:43
and considerations can enhance the overall installation and operation. Grounding and shielding
9:51
Proper grounding and shielding techniques should be employed to minimize electrical noise and ensure signal integrity
9:59
Cable routing and protection. Carefully routing and protecting the input and output cables to prevent provincial damage
10:05
and interference from external sources. Safety considerations. Following safety standards and practices is crucial in preventing accidents and ensuring
10:15
a secure working environment. Testing and validation. Through testing and validation of the wired inputs and outputs, it is essential to guarantee
10:25
proper functionality before integrating them into a more extensive control system. Wiring discrete inputs and outputs to an LS Electric XGB PLC requires careful planning
10:37
attention to detail, and adherence to best practices. By selecting the suitable modules, following the provided wiring diagrams and documentation
10:45
and installation, you can ensure reliable and efficient integration of sensors, switches
10:50
actuators, and devices with the PLC. Proper grounding, cable protection, and safety measures further contribute to a successful installation
11:00
With these guidelines, you can confidently wire discrete inputs and outputs to the LS
11:04
Electric XGB PLC for various industrial automation applications. If you enjoyed this video, please hit the like button below
11:14
If you have any questions about the video, please leave a comment below and I'll do my best to answer it
11:19
If you want more information about us or you're wondering for ebooks on numbering systems or robust data logging, please click on the link in the description below to get it
11:27
A new video is uploaded every Monday, so make sure you hit the subscribe button to get more
11:30
videos like this in the future. Remember to click the bell beside your subscription to actually receive those notifications
11:37
Thanks so much for watching, I'll see you next time. Stay safe