Not blending in the right spot

This is a four axis gantry palletizer. I am blending xyz axis. After picking up the boxes it goes up(z), then horiz (x,y),
then down to pos abs 298,200 counts on z, then a tuck move of 9940 counts in x, y, and z. On the first layer of the pallet, it is not waiting for z down to nearly complete before the tuck move starts. In other words the tuck move starts about 12" before it should, however it does finish the move. On the rest of the layers it works fine. The only thing different on the first layer is a larger Z pos abs move, as it repeats the pattern on the other layers.
The encoders are scaled (in cnts/inch) X= 3175, Y= -3175, Z= -4970
gnRet = flex_flush_rdb(gnBrdID)
'Reset bit 15 (user status bit 3) in the Motion complete status
register which shows that the program has completed
mustOn = 0
mustOff = &H80
status = flex_set_status_momo(gnBrdID, mustOn, mustOff)
gnRet = flex_begin_store(gnBrdID, 1)
gnRet = flex_config_vect_spc(gnBrdID, &H11, 1, 2, 3)
gnRet = flex_set_op_mode(gnBrdID, &H11, 0) '0=PosAbs
gnRet = flex_load_accel(gnBrdID, &H11, Acl&, &HFF)
gnRet = flex_load_decel(gnBrdID, &H11, Acl&, &HFF)
gnRet = flex_load_vel(gnBrdID, &H11, Spd&, &HFF)
gnRet = flex_load_blend_fact(gnBrdID, &H11, -1, &HFF) '-1=immediate
PlaceXYZ:
Call ZCruisePosition(Zpos&) 'get the ZPosition (varies by the layer)
Zpos& = Zpos& * glCpi&(3)
'Go up to ZCruisePosition (keep X and Y stationary, move Z)
mustOn = 2: mustOff = 0: timeout = 3000 'timeout of 30 seconds
gnRet = flex_wait_on_condition(gnBrdID, &H10, 0, 15, mustOn, mustOff, 0, timeout, 0)
gnRet = flex_load_vs_pos(gnBrdID, &H11, glEncoder&(1), glEncoder&(2), Zpos&, &HFF)
gnRet = flex_start(gnBrdID, &H11, 2) 'start VS1
'Go horiz over Place (move X and Y, keep Z stationary)
gnRet = flex_wait_on_condition(gnBrdID, &H10, 0, 15, mustOn, mustOff, 0, timeout, 0)
gnRet = flex_load_vs_pos(gnBrdID, &H11, glPlc&(1), glPlc&(2), Zpos&, &HFF)
gnRet = flex_blend(gnBrdID, &H11, 2)
'Go down to Place (keep X and Y stationary, move Z)
gnRet = flex_wait_on_condition(gnBrdID, &H10, 0, 15, mustOn, mustOff, 0, timeout, 0)
gnRet = flex_load_vs_pos(gnBrdID, &H11, glPlc&(1), glPlc&(2), glPlc&(3), &HFF)
gnRet = flex_blend(gnBrdID, &H11, 2)
'Do the 2" tuck (move X, Y and Z 2")
gnRet = flex_wait_on_condition(gnBrdID, &H10, 0, 15, mustOn, mustOff, 0, timeout, 0)
gnRet = flex_load_vs_pos(gnBrdID, &H11, glDt&(1), glDt&(2), glDt&(3), &HFF)
gnRet = flex_blend(gnBrdID, &H11, 2)
'Set bit 15 (status bit 3) in the Motion complete status register
'which shows that the program has completed
mustOn = &H80
mustOff = 0
gnRet = flex_set_status_momo(gnBrdID, mustOn, mustOff)
gnRet = flex_end_store(gnBrdID, 1)
gnRet = flex_run_prog(gnBrdID, 1)

A possible problem you may be gettings is in the wait for blend complete status. When you configured your blend factor for the moves, the mode you set it to was immediate. This bvasically sends the blend complete signal at the moment when the constant velocity section of your move is done, just before the deceleration section starts. For this reaso it might be possible that the wait on condition is returning before you expected and completing its move. Something you can try is to set the value of the blend factor to a higher number, this basically allows the blend to happen a certain number of milliseconds after the deceleration section starts and thus will return the blend complete status later.

Similar Messages

  • I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    The simplest method is to run a defaults command on the client Macs (easily pushed via Apple Remote Desktop):
    defaults write com.apple.SoftwareUpdate CatalogURL 'HTTP_URL_FOR_CATALOG'
    for a user. If you run it via sudo it will set it for whenever you use softwareupdate as root.
    The HTTP_URL_FOR_CATALOG has been changed with Mac OS X 10.6.  If you use MCX it will automatically pick the new catalog – however if  doing it manually the following URLs need to be used for whichever  client version is in question:
    Mac OS X 10.4: http://mysus.example.com:8088/index.sucatalog
    Mac OS X 10.5: http://mysus.example.com:8088/index-leopard.merged-1.sucatalog.sucatalog
    Mac OS X 10.6: http://mysus.example.com:8088/index-leopard-snowleopard.merged-1.sucatalog
    Mac OS X 10.7: http://mysus.example.com:8088/index-lion-snowleopard-leopard.merged-1.sucatalog
    Mac OS X 10.8: index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
    To double check this applied you can run the following command:
    /usr/libexec/PlistBuddy -c Print /Library/Preferences/com.apple.SoftwareUpdate.plist
    and /usr/libexec/PlistBuddy -c Print ~/Library/Preferences/com.apple.SoftwareUpdate.plist
    to see what settings are for the computer and user appropriately.
    If  this is working correctly when running Software Update (GUI) you should  see the server address appear in parenthesis in the title of the  window.
    MCX
    Another alternative is to use Workgroup  Manager to manage the preferences via MCX from your server. This can be  done for users, or for computers if they are bound to your Open Directory.
    If you are using 10.5 Server or newer: you can simply use the Software Update section under Preferences.
    Manually:
    Choose the accounts, computers, or groups to have the preference applied to.
    Click on Preferences, and then the Details tab
    Press the Add… button and navigate to /Library/Preferences/com.apple.SoftwareUpdate.plist
    Press Edit…
    Under Often, add a New Key and enter the name CatalogURL
    Make sure the type is string and then enter your SUS URL (eg. http://mysus.example.com:8088/index.sucatalog or if using 10.6: http://mysus.examle.com:8088/ – see above from the defaults section)
    Press  Apply Now, then Done. Once users/computers have refreshed their MCX  settings (usually the next login or restart) the new settings will take  over.
    If this is working correctly when running Software  Update (GUI) you should see the server address appear in parenthesis in  the title of the window.
    In order to have a system-wide configuration one has to run the following:
    sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index.sucatalog"
    In order to correctly work both on Leopard and Snow Leopard the right command to issue is:
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index-leopard-snowleopard.merged-1.sucatalog"
    Happily used and tested on my network
    The DNS trick that Chealion points out is fantastic. I use it at our office, and every computer on our LAN  will automatically pull the updates from the local repository at high  speed without any configuration.
    Create the swscan.apple.com DNS zone on your internal DNS server, and have it resolve via an A record to your Mac
    Tags: automaticupdates mac clients macosx setting as default software update
    Category: Serverfault
    Share
    0
    0
    Google +
    0
    0
    0
    5
    You might also like:
    Can I Update My Jb 4s To 6.1.2 Without Restore? Tue. Jan 21st, 2014
    Iphone 4 Not Charging After Update To IOS6 
    IPad 2 Not Updating To IOS 5.1 
    How To Resolve The â€âunable To Install Update” Error For OTA IOS Updates? 
    What Is â€âSoftware Update” Doing When It Says â€âChecking For New Software”? 
    Advertisement
    Comment
    - See more at:  http://www.eonlinegratis.com/2013/how-do-i-change-the-software-update-server-add ress-on-a-client-mac-to-use-my-own-server/#sthash.YhHp5zWk.dpuf

  • Add new tab button does not appear at the right of the previous tab

    Just upgraded to Firefox 4 and the plus sign (T) for a new tab does not appear on the right of the previous tab as it had in earlier versions. I thought it was there briefly after I upgraded but it's not there anymore. How do I get it back? I did download the extension "new tab at the end" but that didn't help....

    That button should be available by default. However, if you use tab related Add-ons it may not show up as expected. You can add it back by right clicking on the navigation bar, clicking Customize, then drag the New Tab icon to the right end of tab bar.
    If that doesn't work, please try starting Firefox in Safemode to see if add-ons are indeed interfering.

  • HT204093 the body of my email does not appear to the right when I select a mail message.

    The body of incoming mail messages do not appear to the right when I select a mail message?
    Anybody know how to adjust this?
    Jgm

    Hello!
    Please try these steps: Can't see email message content

  • Idocs are not processed in the right order.

    Hi,
    I face a problem that when there are a large number of IDocs (Inbound) posted the Idocs are not processed in the right order.
    Msg type: MBGMCR
    any idea how this can happen?
    what is the solution?
    br
    Karen

    No answer

  • Can I shrink the iTunes webpage on my PC monitor so it does not cut off the right and left margins?

    Can I shrink the iTunes webpage on my PC monitor slightly so it does not cut off the right and left margins?

    Can you?  Are you capable of resizing the window?
    Only you can answer that question.
    If you want to know if it is possible, yes, it is possible.

  • Why is my secondary click is not working on the right?

    why is my secondary click is not working on the right?

    system preferences/Trackpad/point and click
    check and uncheck secondary click or alter method
    Try SMC reset
    http://support.apple.com/kb/HT3964
    Pram Reset
    http://support.apple.com/kb/ht1379

  • Pdf not saving on the right location

    pdf not saving on the right location

    Are you downloading pdfs using a web browser? An attachments from an email program? What OS are you using? What programs are you using? Give version numbers? What steps are you using to save the pdf?

  • I have put several clips with transitions into the timeline in final cut pro. There are two clips which are followed by transitions which do not play at the right speed. It is extremely frustrating, can anyone help?

    I have put several clips with transitions into the timeline in final cut pro X. There are two separate clips which are followed by transitions which do not play at the right speed. I'm at a loss as to why this is happening - any thoughts/help?

    The two HD clips were purchased from itunes (MPEG - 4) and converted to .mov for use in Final Cut Pro. Project properties - 720p HD 1280x720 (60p)
    Is this enough information?

  • The Firefox screen lies slightly to the right od the desktop since installing v5, how can I centre it so as not to lose the right hand part of the screen, I have tried dragging it but it wont move

    The FF screen is about 20mm from the left hand edge of the desktop and I can not move it so that I can read the right part of the FF screen

    I tried the zoom thing but it still didnt resolve my issue   Im gonna try to clarify my issue a little bit more, before the change, my screen when I would surf the web would have the apple logo and safari and file and edit and view buttons at the top left hand of the screen and the upper right hand screen would have the time and the wifi strength and my name and the spotlight box and a volume control but now they dont show while Im browsing the web unless I take my arrow and move it to the very top of the screen then those boxes will drop down like it used to be but when I take my arrow and move it from the top of the screen it disappears again and ll I get is a back and forward arrow and the url input bar.  Anyone else have any ideas of what I did to mess this up?

  • Trouble with newly downloaded albums duplicating themselves and not saving in the right place.

    When I buy an album from iTunes it created grey duplicates i can't delete and doesn't show up in my media location on my external drive. It's plays from the iCloud but the download from iCloud is greyed out. I didn't sign up for iTunes Match. But I think I do have an iCloud acount. Not sure what I'm doing wrong.
    Next to the songs in question in my library there is a dotted line circle where the track number should be. The duplicated are all greyed out and it won't let me delete them. It also won't find the artwork even when I ask it to. It should up on my iPhone though. When I was clicking on the available downloads (not sure why i have to do this, instead of it downloading automatically), I got a pop-up message saying it was unable to find my external drive, but that is ******** becuase it's still shows the right location and path in the iTunes Media Folder Location in the advanced tab in Preferences.

    Somewhat resloved. I quit iTunes and restarted it. The albums are their now and the duplicates are gone. Now the option to download it from the cloud is there and the album art has also appeared. Still not sure what caused the issue. I think it was a glitch or freeze with the cloud.

  • "Save Image As" does not appear on the right click menu of an image I want to save.

    Trying to save images as a file to my desktop/laptop. I right click on the image and the menu appears. The entry Save Image As... is not present on the menu. How do I get the menu to show this entry?
    I've heard that the problem may have something to do with plug-ins, but I've reinstalled and disabled each of them. It didn't change anything.

    Does that happen with all images or only on specific web pages?
    Can you post a link if the later applies?
    Can you save the images via Tools > Page Info > Media ?
    To be sure:
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    You can also try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.

  • Slideshow-Images not displaying in the right place on the screen

    I am trying to use the SlideShow widget for the first time. I have a pretty basic slideshow with six images that I want to display. When I preview it in IE or Firefox,what I get is really weird. The first image displays in the right place.  The second displays in the right place, but with a black box underneath it. The third displays under where it's supposed to go, with a black box above it. After this, the images alternate between where they're supposed to be and just below that, with a black box of the same size in the second location. I've looked at the source of other webpages that have working slide shows, and I don't see a difference between what I'm doing and what they're doing. Here is what I think is the relevant code. Can anyone suggest a way to fix this?
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SprySliderPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFilmStrip.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageLoader.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryImageSlideShow.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryThumbnailFilmStripPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryTitleSliderPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/ImageSlideShow/SpryPanAndZoomPlugin.js" type="text/javascript"></script>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-81003-5']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </style>
    <link href="Spry-UI-1.7/css/ImageSlideShow/basicFS/basic_fs.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    /* BeginOAWidget_Instance_2141543: #ImageSlideShow */
    #ImageSlideShow {
    width: 426px;
    height: 303px;
    border: solid 1px #000000;
    background-color: #717c96;
    #ImageSlideShow .ISSClip {
    background-color: #000000;
    /* EndOAWidget_Instance_2141543 */
    </style>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2141543" binding="#ImageSlideShow" />
    </oa:widgets>
    -->
    <div class="column2">
    <div id="thumb">
    <div>
    <ul id="ImageSlideShow" title="">
        <li><a href="images/balloon1a.jpg"><img src="images/baloon1a.jpg" alt="" /></a></li>
        <li><a href="images/balloon2a.jpg"><img src="images/baloon2a.jpg" alt="" /></a></li>
        <li><a href="images/balloon3a.jpg"><img src="images/baloon3a.jpg" alt="" /></a></li>
        <li><a href="images/balloon4a.jpg"><img src="images/baloon4a.jpg" alt="" /></a></li>
        <li><a href="images/balloon5a.jpg"><img src="images/baloon5a.jpg" alt="" /></a></li>
        <li><a href="images/balloon6a.jpg"><img src="images/baloon6a.jpg" alt="" /></a></li>
    </ul>
                                                          <script type="text/javascript">
    // BeginOAWidget_Instance_2141543: #ImageSlideShow
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
    widgetID: "ImageSlideShow",
    injectionType: "replace",
    autoPlay: true,
    displayInterval: 8000,
    transitionDuration: 2000,
    componentOrder: ["view"]
    // EndOAWidget_Instance_2141543
                                                          </script>
    <h3 align="center"><br />A Different Way of Thinking</h3></div>
    </div>
    </div>

    If you have a look at basic_fs.css, you will notice that the styles taget a class called BasicSlideShowFS.
    Yet when I look at the constructor, the class is missing as in
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        widgetID: "ImageSlideShow",
        widgetClass: "BasicSlideShowFS",
        injectionType: "replace",
        autoPlay: true,
    Because you are not using the thumbnails (filmstrip), I am wondering why you did not implement the basic slideshow, which will make it a lot easier for you.
    Gramps

  • EarPod does  not work on the right side. What should I do?

    My grandma brought me an iphone5s that came with Apple EarPods And when I tried using it the right side EarPod does not work... What should I do?

    Settings > General > Accessibility > Mono Audio > OFF

  • Hardle ever goes to the right spot when visting a html#page link

    http://www.macintouch.com/readerreports/macbookpro/index.html#nov17
    almost everyday i goto the macintouch.com web site, and click on the macbook pro report, it usually has a html#date link. the first time it goes right to top of the page instead of the #nov17 place holder. if i refresh, it goes to the nov17 spot everytime. why does this happen ?

    Page works OK for me.
    It may be you are initially accessing a cached page, which would reflect prior activity from a previous visit. Go to the Safari Menu and select "empty cache". Then try the site. See if that makes a difference.
    Message was edited by: Hawaiian_Starman

Maybe you are looking for