To learn more: https://www.automationdirect.com/ls-electric-plc?utm_source=nPbmgc0zBwE&utm_medium=VideoTeamDescription
(VID-XG-0103)
LS XGB Help File Video: LP502
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
let's look at configuring an XM motion controller for pulse train outputs the onboard motion controller and the PLC CPU are both housed in the XM controller if we look at the io parameter screen in the xg5000 software we see that the CPU and its IO occupy slot zero and the motion controller is in slot one the motion control for the XM is limited to single-ended open collector outputs that use a pulse and Direction signal output type if we have an xmm DN variant the outputs will be syncing or npn if we have an XM DP variant the outputs will be sourcing or PNP it is important to note that the motion controller uses the CPU iio for its outputs the physical terminals that the PLC uses for certain percent QX points will be the same terminals that the motion controller axis output pulse and direction to it is also important to note that those outputs are hardcoded for specific axes for the XM CPU axis one will always be percent QX 0.0.0 for pulse and percent QX 0.0.6 for direction access two will always be percent QX 0.0.1 for pulse and percent QX 0.0.7 for direction if we are using an H2 variant all other output points are standard outputs if we are using the 6axis HP variant axes 3- 6 we use the percent QX 0.0.2 through 5 for for pulse and they percent QX 0.08 through 11 for direction avoid using these outputs in the xg5000 project if the access they are assigned to is going to be enabled and used for motion to set up our project in X GPM we could either create a new motion project open an existing motion project or read a motion project from our motion controller we cover this information as well as connecting to the motion controller in another help topic please refer to for further details the XM CPU will always have a valid motion project available as even a fully reset PLC has a default motion project let's open XG PM from our xg5000 software interface connect to our motion controller and read the project to ensure we have the correct settings for our PLC and motion controller we are using an XM dn32 HP for this example now that we have the project read from the most controller we will save it to our hard drive as example motion project we need to set up an axis with initial parameters to do this we will go to the project window on the left side of the screen expand number one access data and double click on parameter the new. parameter window opens showing all six axes we will select the drop down for pulse output under the one axis heading we can then select enable this enables this axis for use with the xgp pm and xg5000 projects we will set the unit and adjust pulses per rotation travel per rotation unit multiplier and speed limit to reflect the motors gears drivetrains Etc of our specific motion system for our example we will be using the first three axes so we will enable those axes we will set the unit type to zero pulse engineering units of millimeter inch or degree are also available we will then set pulses per rotation to 1,000 for each axis since our unit type is pulse we can ignore the travel per rotation setting as it is only used with engineering units we will also leave unit multiplier at the default of X1 and we will set our speed limit to 3,000 pulses per second for all three axes if we keep scrolling we immediately see there is an issue the software has highlighted a few cells in red since we are using 3,000 pulses per second for our speed limit we will have to change the jog speed and homing highe speed on all three axes to something less than that let's use 1,000 instead we can now save our project to our hard drive and then write it to our motion controller by going to online WR or clicking on the icon of a computer with an arrow to a PLC when we do the rights project pop-up window appears this window allows ows us to select individual axes and information we wish to write this is a great way for us to only write the changes we care about and save some time during the right process we will select the entire motion project to ensure we send everything we need to the controller once the project finishes writing we have now set some initial parameters for our axes and are ready for motion programming
Voted #1 mid-sized employer in Atlanta
Check out our
job openings