To learn more: https://www.automationdirect.com/ls-electric-plc?utm_source=LRuJau5BLIQ&utm_medium=VideoTeamDescription
(VID-XG-0093)
LS XGB Help File Video: LP216-1, LP217-1
XG5000 V4.77 2024-06-28
To view the LS XGB Help File please visit: https://cdn.automationdirect.com/static/helpfiles/ls_plc/Content/Home.htm
**Please check our website for our most up-to-date product pricing and availability.
Related AutomationDirect.com Part Numbers: N/A
One of the great features of the XGB PLC family is the ability to use Remote I/O. The XEL-BSSRT remote IO module is capable of EtherNet/IP Implicit and Explicit connection and Modbus/TCP communication with controllers or devices on its network. It is flexible and works with many different manufacturers’ controllers. Today we are going to spend a little time getting to know the BSSRT and setting it up for use as a Remote I/O platform. This initial setup process will work for either Modbus/TCP or EtherNet/IP. The differences between the protocols lay in how the data is accessed by the Modbus master or EtherNet/IP scanner or client. First, let’s take a look at the LS modules that are able to be used with the BSSRT. The communication and EtherCAT motion modules are not supported. However, the platform does support a vast array of discrete, analog, temperature, and load cell input and output modules, as well as multi-channel high speed counter modules for encoders and speed detection systems. In our example we are going to have an XBF-HD02A high speed counter module, an XBE-DC32A discrete input module, an XBE-TN32A discrete output module, an XBF-AD04A analog input module, and an XBF-LD02S load cell input module. For our initial configuration of the BSSRT, we will use the XG5000 programming software. In XG5000, we could create a new project for this XEL-BSSRT, however the module ships from the factory with a pre-configured blank project installed, and it is much easier to get all the settings correct if we simply connect to the module and read the project from it. To connect with the module, we can either use USB or Ethernet. This function works exactly the same for the XEM CPU, and we cover that in another video. Please refer to it for further details. We are going to use USB for our connection as it is quicker than trying to move our computer to the same subnet as the controller to connect. We will use the “Open from PLC option,” select USB under the “Type” field and then click “OK.” We get a Module type mismatch error because we have our 5 modules physically connected to the BSSRT, but the default program from the factory contains no modules in it. We will close this warning for now. Our first step will be to rectify that. We add I/O to the BSSRT exactly the same as the XEM CPU as well, so please refer to that video for further details. If we aren’t in test mode we will need to enter it now, and we will use the I/O sync function by going to “Online> System Diagnostics> I/O Information.” This opens the “I/O information pop-up window and we can select “I/O Sync.” It will give us a warning saying that we are overwriting the existing module information, and this can cause information to be erased. Since we are bringing the empty project into sync with our actual hardware, we are OK with this and will select “Yes.” If you are doing this with an existing setup use caution as you may unintentionally delete variables or I/O information if you do this step to the wrong BSSRT module. The software then gives us a confirmation message telling us that the synchronization is complete. We can select OK to close that pop-up window. Now, let’s go to the Project window on the left side of the screen and double-click “I/O Parameter.” This opens the “I/O Parameter” tab, and we can see that our I/O synchronization has automatically added the 5 modules we have connected to the BSSRT. We also see that we can have a total of 8 modules connected if necessary. We have yet to apply this information to the project however, so we will select “Apply.” The software then gives us another warning message telling us that changing this information in the project can lead to a loss of comments. We don’t care about this for a new project so we will again click “Yes.” It then shows us the modules that need to have variables created for them. By default, none of the boxes are checked on the left side of this screen, and we want to register variables for all our modules, so we will check them and click “OK.” Now that our I/O is synchronized we are ready to look at communication configuration for the BSSRT. We can access this by going to the project window on the left side of the screen and selecting “Basic Parameter.” This opens the Basic Parameter setting screen. On the “Basic Operation Settings” tab we can name our module, change the input filter for our non-high speed digital inputs if desired, and select or deselect a few device settings. We don’t want the outputs to stay frozen when we lose connection, we want them to go off. We also don’t want the data words swapped, but we do want the inputs to stay frozen in their last state. So, we will stick with the default setup of #1 and #2 unchecked and #3 checked. On the communication basic settings tab, we can setup our IP address settings. The BSSRT supports Static, DHCP and BootP IP information assignment. We will use Static and set our IP address to be 192.168.27.120 and our gateway as 192.168.27.1. These IP address settings are selected based on the network that I am using. Your network settings will likely vary from this, so you may need to check with an IT professional to see what IP addressing you should use. We will leave the other settings alone as they are good for our application. The driver setting section is only used with RAPIEnet+ protocol, which we won’t be using so we can ignore it. The final tab is the Host table settings. This also works like the host table settings in the XEM CPU so please refer to that video for further details as well. Since we aren’t worried about unauthorized IP address access, we will leave the table disabled so any IP address can access the data. Once we select “OK” we can save the project, and then write the project to the BSSRT module. We are now ready to access the remote I/O information from our controller. Perfect!
Voted #1 mid-sized employer in Atlanta
Check out our
job openings