Homing switch causing motion control problems

I am controlling a dome for a telescope. I have a home position switch and motion control using one of NI's motion controllers. Everything works fine except for one bug. The dome just goes around and around. I can run a Home type reference search and it works fine. But if I command a position that runs through the home switch zone the dome stops moving. If I hit the command a second time it runs right to the correct position.
So why does the home switch stop the motion if I am not doing a reference search. Should I be using some other form of referencing?
Thanks,
Dave
David A. Taylor

Do you have the home switch also configured as a limit switch?
What motion hardware are you using.  In addition to home limits, the ni cards often have a + limit and - limit and also a software limit, these can be configured via the api or in max.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • Motion Control Problem

    Hello everyone,
    Firstly I would like to thank you all for your help in advance.
    Ok, so I am operating two stepper motors through the use of Labview/MAX
    (I switched to MAX just to be able to operate the stepper
    motors).  My setup is a UMI 7764 controller and a 2035 step motor
    driver.  I ran a search in this forum and was able to find some
    helpful hints on how to target the problem.  As such I brought in
    an oscilloscope to test if steps were being sent. 
    While attempting to run the motors in MAX I checked to see if any steps
    were being sent between the controller and motor driver.  The
    steps are being sent fine and everything seems to be ok at this
    location.
    When the scope is connected between the motor driver and the actual
    stepper motor, steps are constantly being sent whether max is being
    operated or not, which agrees with the fact that the motors cannot be
    moved by hand even when I kill it in MAX.  So I guess my question
    is does anyone have any ideas on what could possibly be wrong with
    this?  My thoughts are that the motor drivers are shot, although I
    am a grad student who just started working with this setup 2 weeks ago,
    so my knowledge of the entire setup is still fairly limited.  Any
    help would be greatly appreciated.
    Regards,
    Keith Peterson

    Hey Keith,
    I went and checked out the web page for the 2035 stepper motor drive, and by reading the description I saw the following:
    "The drive also includes an automatic feature to lower motor current by 50% anytime the motor is left at rest for more than one second. This feature can be disabled."
    So this might be the cause of the constant current being sent to the motor. You can try disabling this feature and see if that helps. This is just one thing that you can check on in the 2035 motor drive user manual. There are probably other features that you can select for this drive as well, but I am not too familiar with this specific drive. Check out the user manual, and see if you can change some settings on it to allow the motion controller to control what gets sent out to the motor.
    Another thing you can check on is if all the wiring is set up correctly. One thing specifically you can check on is if you have the Inhibit Out wired up from the UMI 7764 to the 2035. When you click on the kill operation in MAX, the drive should also be inhibited, so maybe you don't have something wired up properly. Does the 2035 drive expect an input signal to cause it to no longer output current? Last, maybe you can contact Applied Motion Products to see if they can help you in any way.
    I hope this helps. Please let me know if you have any questions about what I mentioned above. Thanks, and have a great day.
    Regards,
    DJ L.

  • SG Switch SNMP Port Control Problems

    Hello All,
    I'm trying to disable/enable ports via snmp v2 on a Cisco SG500-52P-K9-V01 switch.  The communties are setup properly and I even have successful snmpset commands which when queried display that the action was complete.  The issue is that when I disable the port via snmp the device on that port does not drop offline.  This is a PoE port with a device powered over PoE so I'd expect the port to disable but also the PoE to turn the device off - neither happens. 
    Has anyone had experience with port management on this device?  I also noticed the interface IDs (for port 1 for discussion) are 1, 101, 201 etc.  I've tried setting on 1 and 101 only but the results have been the same and what were mentioned above.
    Any help or suggestions would be appreciated.  I've tested on other switches and this works without any trouble.
    Thanks!

    I believe I've figured out the offsets.  The FastE seems to be at a 0 offset, so port 22 is is 22 and then we go to GigE and port 22 would be at index 70.
    Now that I've figured this out I can't for the life of me get an snmp set to work.  I've tried enable/disable/testing and also tried basic OID set for sysName and sysDesc.  Has anyone had luck using SNMP write on these switches?  Is there a setting that I'm missing?  I've set the SNMP access mode to SNMP Admin and the View Name to DefaultSuper and my write community is set properly.  No luck...

  • Problem with data acquisition and motion control

    I have PCI-6024E and PCI-7342 cards on a single PC. Servo motion control works fine when it goes alone or is accompanied by one point data acquisition in a while loop, but when I start data acquisition with specified sample rate, the motor moves with breaks.
    Does anybody know what is the problem? Is it possible to fix it?

    How are you performing your motion? Is it a position move or a velocity move? How are your triggering the data acquisition? Using breakpoints on the 7342? If so, are you using single breakpoints or modulo? How are you configuring the data acquisition rate? Are you triggering just the start to the acquisition and the unsing the daq scan clock or are you using the motion controller to send the scan clock itself?

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • How to include limit switches into my control loop and how to access them through Labview

    I'm developing a six degrees of freedom machine with servo motors,UMI flex6 and Labview-5.1.I was unable to access the limitswithes.So I would like to know the connections diagram,UMIflex6 board settings and the Vi's to be included in the program.please help me out in solving this problem.

    Hi Kolakanuru,
    Thanks for using our discussion forums. How you connect your limit switches depends on what type of motion board you are using. For example, if you look at the connection diagram for a PCI-7344, you can see that Forward Limit switches connect to pins 39, 45, 51, and 57. These will then pin out directly to the UMI. For the connection diagram for your particular motion control board, you can go to www.ni.com/manuals and pull up the necessary information. In regards to reading this in LabVIEW, the first thing you will want to check out is Measurement and Automation Explorer. In the interactive windows for your board, you can check the limit switch status there- Press your limit switch on and off and make sure that it changes the LED in MAX. Once that i
    s all set, then you can go into LabVIEW and use the "Read Limit Status" VI which you can find in Functions>>All Functions>>NI Measurements>>Motion>>FlexMotion>>Motion I/O palette. Good luck with your application.
    Regards
    Dan
    National Instruments

  • Can't turn off motion control

    Hello everyone,
    First time on here.  Just got a u410.  Anyway I downloaded adobe reader.  When I opened it I got a message that said motion control can be enabled for this application.  So curiously, I turned it on.  But now I don't know how to turn it off.  Everyone time I open adobe reader, the camera automatically turns off.  How can I turn off motion control?

    anderslq wrote:
    Seriously?! There has to be a simple way to switch off the quite annoying Lenovo Motion Control...?
    I have now been using it for a while, but in general iit is more of a nuissance - any movement in front of the screen when presenting makes the slideshow jump ahead or back.
    If I click the little message in the top right corner announciing that motion control is activated (it says something like "click here to configure") absolutely nothing happens.  If I click the Motion Control icon (on the Start page) the computer switches back to the last program used, no matter what it was, and then nothing else happens...
    What is the right way to really switch this function on/off...???
    Sorry, but my suggestion does not apply to your situation. I responded to the original post. I have not read your problem when I made the suggestion. You should know that. Maybe you should try openning a different thread, not bump the orginal one.

  • PCMCIA card for motion control

    Hi,
        I am trying to control a stepper motor through LABVIEW. After perusing through the site, I know that I would need a stepper motor, a corresponding motion controller and a universal motion interface. The problem I have is that I am trying to control the stepper motor through a laptop (which does not have the Parallel Port slot). I am wondering if a PCMCIA card could work (by providing a parallel port to the laptop) or if it would not meet the necessary requirements to operate the motion control through the universal motion interface. 
    Thanks

    It IS possible to drive an UMI interface with a parallel port providing TTL compatible outputs, basically the UMI interfaces are (advanced) break-out boxes feeding the step and direction pulses to a motor driver and connecting feedback signals (encoders, limit switches etc) back to the PC. But in this case, you would have to write your own routines for accelerating and slowing down, as well as evaluating the feedback signals from an encoder or limit switches. There are several manufactures making motor drivers which can be driven via a serial or USB interface, in case you cannot use a NI controller board it will be much easier to use such a setup since the motor drivers usually incorporate at least a basic motor controller providing a set of commands which makes it much easier to control a motor than with doing everything from scratch. 

  • CS3 Motion Teen problem

    I am trying to use motion tweening to fade some text in and
    out in a flash movie - when I move the timeline in the .fla the
    fade happens as it should on the stage, however, when I use the
    'test movie' option or export the movie, the text just appears
    static - without any of the fades. Does anyone know if there's
    anywhere in the program that has some sort of control over this?
    I've tried it in a fresh blank .fla, and occasionally it works as
    it should. But it never works in the .fla that I have the rest of
    the animation working in. Any ideas anyone...??

    I'm assuming you have the text in a symbol of some sort. If
    you are using a dynamic text field for the text, that would be the
    likely cause of the problem. If so, embed the font in it, or change
    it to a static text field. If it is not a dynamic text field, then
    I am currently at a loss to offer more.

  • Intel iMac; upgraded adobe flash; bluetooth keyboard no longer pairs but magic mouse still OK. With Bluetooth switched on the screen splits into 4 areas and open windows seperate and shrink. Switch off Bluetooth and problem disappears and iMac works OK

    Intel iMac; upgraded adobe flash; bluetooth keyboard no longer pairs but magic mouse still OK. With Bluetooth switched on the screen splits into 4 areas and open windows seperate and shrink. Switch off Bluetooth and problem disappears and iMac works OK with plug-in keyboard and mouse

    Hi, Derek -
    ...the screen splits into 4 areas and open windows seperate and shrink.
    Sounds like Spaces is being activated somehow. With the wired keyboard and mouse in use, select the Exposé & Spaces control pane in System Preferences, click the choice in that pane for Spaces. See what the settings are. There are some activation settings in that pane - by default, F8 activates it.
    It could be that the bluetooth keyboard has some stuck keys and is activating Spaces; or that the activation command has somehow been reset to something that the bluetooth mouse, or bluetooth itself, is triggering.

  • Firefox 5 has caused so many problems, I want to uninstall and go back to a previous version. how?

    firefox 5 has caused so many problems, I want to uninstall and go back to a previous version. the problem is that one of the issues 5.0 has caused is an error message when I click on "add or remove " on my control panel, so I can't remove Firefox 5. I have downloaded and run 3 supposedly good "fixers", but nothing has corrected my error issue. how can I uninstall 5.0 if I can't open the "add or remove" option? edit
    Details

    ''I figured it was going to be FAFSA causing your problem.''
    Install Portable Firefox 3.6.x to your hard drive for that one website. It won't affect your current Firefox installation at all. <br />
    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • Query: Best practice SAN switch (network) access control rules?

    Dear SAN experts,
    Are there generic SAN (MDS) switch access control rules that should always be applied within the SAN environment?
    I have a specific interest in network-based access control rules/CLI-commands with respect to traffic flowing through the switch rather than switch management traffic (controls for traffic flowing to the switch).
    Presumably one would want to provide SAN switch demarcation between initiators and targets using VSAN, Zoning (and LUN Zoning for fine grained access control and defense in depth with storage device LUN masking), IP ACL, Read-Only Zone (or LUN).
    In a LAN environment controlled by a (gateway) firewall, there are (best practice) generic firewall access control rules that should be instantiated regardless of enterprise network IP range, TCP services, topology etc.
    For example, the blocking of malformed TCP flags or the blocking of inbound and outbound IP ranges outlined in RFC 3330 (and RFC 1918).
    These firewall access control rules can be deployed regardless of the IP range or TCP service traffic used within the enterprise. Of course there are firewall access control rules that should also be implemented as best practice that require specific IP addresses and ports that suit the network in which they are deployed. For example, rate limiting as a DoS preventative, may require knowledge of server IP and port number of the hosted service that is being DoS protected.
    So my question is, are there generic best practice SAN switch (network) access control rules that should also be instantiated?
    regards,
    Will.

    Hi William,
    That's a pretty wide net you're casting there, but i'll do my best to give you some insight in the matter.
    Speaking pure fibre channel, your only real way of controlling which nodes can access which other nodes is Zones.
    for zones there are a few best practices:
    * Default Zone: Don't use it. unless you're running Ficon.
    * Single Initiator zones: One host, many storage targets. Don't put 2 initiators in one zone or they'll try logging into each other which at best will give you a performance hit, at worst will bring down your systems.
    * Don't mix zoning types:  You can zone on wwn, on port, and Cisco NX-OS will give you a plethora of other options, like on device alias or LUN Zoning. Don't use different types of these in one zone.
    * Device alias zoning is definately recommended with Enhanced Zoning and Enhanced DA enabled, since it will make replacing hba's a heck of a lot less painful in your fabric.
    * LUN zoning is being deprecated, so avoid. You can achieve the same effect on any modern array by doing lun masking.
    * Read-Only exists, but again any modern array should be able to make a lun read-only.
    * QoS on Zoning: Isn't really an ACL method, more of a congestion control.
    VSANs are a way to separate your physical fabric into several logical fabrics.  There's one huge distinction here with VLANs, that is that as a rule of thumb, you should put things that you want to talk to each other in the same VSANs. There's no such concept as a broadcast domain the way it exists in Ethernet in FC, so VSANs don't serve as isolation for that. Routing on Fibre Channel (IVR or Inter-VSAN Routing) is possible, but quickly becomes a pain if you use it a lot/structurally. Keep IVR for exceptions, use VSANs for logical units of hosts and storage that belong to each other.  A good example would be to put each of 2 remote datacenters in their own VSAN, create a third VSAN for the ports on the array that provide replication between DC and use IVR to make management hosts have inband access to all arrays.
    When using IVR, maintain a manual and minimal topology. IVR tends to become very complex very fast and auto topology isn't helping this.
    Traditional IP acls (permit this proto to that dest on such a port and deny other combinations) are very rare on management interfaces, since they're usually connected to already separated segments. Same goes for Fibre Channel over IP links (that connect to ethernet interfaces in your storage switch).
    They are quite logical to use  and work just the same on an MDS as on a traditional Ethernetswitch when you want to use IP over FC (not to be confused with FC over IP). But then you'll logically use your switch as an L2/L3 device.
    I'm personally not an IP guy, but here's a quite good guide to setting up IP services in a FC fabric:
    http://www.cisco.com/en/US/partner/docs/switches/datacenter/mds9000/sw/4_1/configuration/guides/cli_4_1/ipsvc.html
    To protect your san from devices that are 'slow-draining' and can cause congestion, I highly recommend enabling slow-drain policy monitors, as described in this document:
    http://www.cisco.com/en/US/partner/docs/switches/datacenter/mds9000/sw/5_0/configuration/guides/int/nxos/intf.html#wp1743661
    That's a very brief summary of the most important access-control-related Best Practices that come to mind.  If any of this isn't clear to you or you require more detail, let me know. HTH!

  • Simple straight line motion control with brushless motor and encoder/mi​croswitch

    I want to go build a motion control system/program using labview. I have a brushless motor and a controller and a National instrument DAC (NI USB-6009). This is how my system looks like: receive an input signal 4-20mA, this should be converted to 0-5V for the controller for speed, controller should move motor till it hits micro switch. The micro switch/encoder should generate a signal (5V) back to shut the controller. I want to record the position of the motor in labview. How do I do this? How do I set the system up? Thank you in advance

    Controller from anaheimautomation: MDC151-050301
    Motor:BLWSG234D-36V-4000-R3     
    Controller and motor go together.
    The input signal for the system will be 4-20mA. Using this signal I will correlate it to a specific voltage which will drive the speed of the motor. This will displace the lead screw linearly. I will have a microswitch that will be triggered by screw and will relay a signal to shut the motor. I want find a way to record the position of the shaft/leadscrew at that specific point. I want to identify a home position, halfway position and full length travel position. I will use 3 swiches or 1 switch in three positions to identify all these points.
    My end result should be whwn I turn on the system or start the program It should detect whether it is at the home position, if not travel to home then respond accordigly given an input signal(4-20mA).
    How will I program such on labview...finding all the right icons to record the data is such a mess for me since i'm a beginner.
    Thanks

  • Motion control: PXI 7350 controller and UMI 7774 to interface with third-party driver UDK5114NW2

    Dear community,
    This is about Motion control in Labview: I try to control a step motor by using a PXI 7350 controller and UMI 7774 to interface with  third-party driver UDK5114NW2. The problem is 5 Disable LEDS on UMI 7774 board always lit even when I check "enable" on "Motion I/O setting" in configuration of PXI 7350 motion controller. Furthermore, when I start to control step motor, it is not working and I found disable LED on UMI board still lit. I don't know how to solve this problem. Can someone help me to figure out? Thank you in advance!
    Hau Nguyen.

    Dear Community,
    I said wrong, 4 disable LEDS on UMI 7774 Board instead of 5 as my previous post. Why nobody help me to solve this problem. I can not turn off disable LEDs on UMI 7774 Board so I can not start the strp motor. Please help me!
    Hau Nguyen. 

  • Photos in Timeline and Ken Burns Effect (Motion Control)

    I'd like to check my processes for setting photos with the Ken Burns Effect. I've used Tom's Motion Control example to set Ken Burns Effect on two or more photos that are next to each other in the timeline. I have found that if the photos are approximately the same pixel size that it works well. When they are significantly different I still see the second pic holding still for a few frames and then the movement.
    So, I'm interested in other experiences. Did you also find that the relative size of the photos makes a difference? And, when you have photos that are significantly diff in size, what process do you use to bring them closer together?
    Thanks,
    dave

    Hi David,
    I think the problem you are having is similar to one that I was encountering while finishing a project a few weeks ago. I also was using photos of differing sizes, but the issue with the late start on the "Ken Burns Effect" on the second photo wasn't related to the differing photo sizes, but to the transition I used between the images.
    I found that when I applied Motion to a photo using keyframes, the motion looked fine on both images until I applied a cross dissolve in between images. I realized that the cross dissolve is looking for frames before the motion keyframe to blend with the previous photo. Since the frames before the keyframe are "generated" (I'm not sure if that's the correct word) from the first frame of the still (which has no motion) it generates 15 frames (for a 1 second cross dissolve) that are not moving. That makes it appear like it's stuck and then starts moving when the playhead hits the motion keyframe.
    My solution was to move the still photo clips (one at a time) up one video track, extend both ends 15 frames and set the motion keyframe at the "new" beginning of the clip and the "new" end and do my motion based on that new clip length. I then brought in both ends back to their original positions and dropped the clip back into its original spot and then applied the cross dissolve. Now the cross dissolve would have 15 frames with motion to work with for blending the two pictures.
    It was incredibly tedious, but I had to do it because the images made up a large part of the video project I was working on. If anyone can suggest a better way of doing it, I would greatly appreciate it.
    Despite the time involved, I was really happy with the final results.
    I hope that helps.
    I don't log in here very often, so if you have any questions, feel free to email me at cgonzalezat*sfchronicle*dotcom
    Good luck.

Maybe you are looking for

  • Simultaneously read more than one input and generate output

    Is it possible To simultaneously read more than one input and generate outputs depending on these inputs? If this isn't possible what is the best way to go about making some sort of timed loop that will read an input, read the next input, decide whet

  • 2 songs wont play on Nano 3rd Gen

    I have a 3rd gen Nano, and I have 2 songs that play in my iTunes Library, but when I sync them to the Nano, they dont play...anyone know how to fix this?  I have reset the Nano, removed the 2 songs from the playlist and readded them, and still not pl

  • FF slow to load or will not load without rebooting PC

    Over the past few weeks I have been having a range of problems with FF. (I am posting this using a different browser as a result!). The problems seem to have begun when I upgraded to 3.6.10 - along with having the FF4 Beta running on my machine. FF 3

  • RSXMB_ACTIVATE_ICF_SERVICES for non-XI systems?  Anyone have code?

    Anyone have code that can take a list of SICF services and activate them, similiar to how RSXMB_ACTIVATE_ICF_SERVICES activates all the necessary services for XI? For instance OSS Note 517484 lists a lot of services that need to activated manually, a

  • HT4910 How do I restore iPhone from icloud?

    How do I restore my backup from ICloud onto my new iPhone?