To learn more: https://www.automationdirect.com/ls-electric-plc?utm_source=c-ETUznPl4w&utm_medium=VideoTeamDescription
(VID-XG-0095)
LS XGB Help File Video: LP216-3
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
previously we used the addressing for communication devices software to establish the addressing for our bsrt input and output information in this video we will generate an EDS file using the xg5000 software and then import that EDS file into the productivity Suite software we will also establish the connection between a p1550 and the bssr allowing the productivity PLC to control the remote IO using the data offsets let's start in xg5000 this is the bsrt project we created in our setup video we are connected to the bus coupler and are in run mode to generate an EDS file we simply go to Project export ethernet IP EDS file this will open the save as window and we can select a place to save the Eds we will save it in the documents folder and we will keep that default name of xl- bssr tore RX once we click save we can go to Windows Explorer and see our EDS file in the documents folder great we are now ready to add it to our productivity PLC project I will open productivity Suite version 4.1.1 point10 we will start a new project and select the p1550 as our PLC we can then click go to Hardware configuration it creates a new project and opens the hardware configuration window if we go to the ethernet IP tab on the right side is EDS file Library there are some pre-install options but we want to click import EDS file let's go to our documents folder and there is our bsrt EDS we click the Eds file and then click select it added the xcl bsrt as a new device and has version 1.2 of the file available we can drag and drop it over to the left to create a client connection for this EDS we will use a structure and call it xelor bsrt our device name will be xelor ssrt as well and our IP address is 192.168 27120 since this is the IP address we set for the bssr in our video on configuration now let's add a message we click the green plus symbol and we will add an inout message most of the fields will be prepopulated by data from the Eds file but we want to add a tag in the extended status field this is technically optional but most of the troubleshooting for ethernet IP actions in productivity will be greatly improved by having this detailed information available we will call our tag bssr tore extended status for the message itself we see there are three tabs since this is an IO message there is input data output data and config data on the input tab we need to select unicast or multicast RPI time and a data array to handle the information transfer for this example the productivity will be the only scanner reading information from the bus coupler so we will use unicast multicast would be used if we had several scanners using list and only connections to the bus coupler in addition to our exclusive owner connection from the p1550 RPI is determined by a balance of your iio response needs and your available network throughput if this number is larger the lag between IO changing and the information being seen by the scanner in our case the PLC will increase potentially leading to poor system response if it is smaller the system respon response will be much faster but the additional messages will increase the load on the network if this gets too fast the network can drop packets or even shut down all together depending on the networking hardware for our RPI time we will leave it at the default of 250 milliseconds that just leaves the data array for the input information the bssr T uses a minimum of 16 bits for each input or output data section so we can use a 16-bit word array for the data processing since our input is set to be 122 bytes in the EDS file we know we will need a word array of 61 elements as 122 bytes is 61 words we will name our array bsrt input array productivity will then prompt us to create this tag array before moving forward we will leave it as a 1D array of 16bit integer with 61 columns this will create 61 word elements accounting for the 122 bytes of input information let's run the same setup on our output tab we will keep the 250 millisecond RPI and name our array bsrt output array we will create a 1D array of 16 bit elements and eight columns to correspond to the 16 bytes of information the Eds requires we can take a quick glance at the config data tab but there isn't anything to set here as the config data size is zero for the bsrt let's click okay and it will prompt us to create all the structure tags for the ethernet IP client properties we will leave them all at the default and click okay again we can now see our xcl bssr T at IP address 192.168.20.10 let's close out of that window and choose a CPU for this project to connect to the autosan and productivity Suite shows us that our p1550 is already at 192.168.255.255 if we want to use our PC project or the project already in the plc's memory we have just created our project in the PC so we will select no use PC project we can then transfer the project to the p1550 now let's create a data view window for the ethernet IP information tags we created earlier the productivity software makes this easy because we can go back into our Hardware config right click on the bssr T and select monitor in data View the software then asks us if we want to create a new data view or use an existing one we will create a new one if we now double click data view on the left side of the screen it will open our data View and our second tab is the bssr information none of the information is populated yet because we haven't initiated the connection let's enable the message by checking the box next to msg1 enable and then send that edit to the CPU we get the TCB connected return the software populates the adapter name and vendor ID and the connection online Boolean also becomes true let's try and turn on the first output of our digital output card if we go over to xg5000 and then to the io parameter screen which is already open in our case we see that the TN 32A output card is in slot two which is the third slot and that the first output point is variable percent QX 0.2.0 let's add that to the monitor window so we can observe when the module turns it on off we will also go into monitor mode and we see that the output point is currently off let's pull up our data addressing tool we set this up in the previous video so please refer to it for further details we see that the TN 32A will be at an output address offset of two note that the first address offset is zero so address offset 2 will be the third address if we select the module we see that it stores the output bits as four bytes of data so our first output point will be Bit Zero if we selected a more complex module such as our analog module this information would detail which bits contain which key pieces of information such as module or Channel status we go back to productivity suite and maximize our output array the software starts its array element number at one so we will actually use element three not element two to control the tn32 a productivity also has a cool feature to allow us to look at the individual bits Within A Word we right click on the element and select show bit of word details it breaks out each bit as true or false we can write a value of one to the word which will correspond to the first bit being on we send the edit to the PLC and if we look back at xg5000 we see that sure enough the output Point has changed to on let's go back to productivity suite and turn that bit back off by writing a zero to the word and back to xg5000 and the point is back off perfect reading information would be the same process but with the input words we are now able to control our remote IO with our productivity PLC using the Eds file generator in xg5000
Voted #1 mid-sized employer in Atlanta
Check out our
job openings