Cannot detect forward/re​verse limits

I'm having trouble with the forward and reverse limit switches for my stepper motor system. When I create an NI Softmotion axis in Labview, no matter how I configure the limit switches, they either show up as both active or both inactive, regardless of the position of the platform. For my limit switches, I am using photointerrupters. When I do not have any of the hardware turned on, the photointerrupters work as expected and give a 0 V signal when the platform is not at the limit and gives a 5 V signal when the platform is at the limit. But when I try to use the interactive panel in Labview (or in a VI for that matter too) the limits aren't detected and behave differently as well. I had a voltmeter hooked in to see how the voltage was behaving and the voltage readings were odd. In one case when I tested each switch's "active" signal, one of the limit switches was at 6.7 V and the other was at 3.7 V even though they had the exact same wiring and setup. I am completely stumped on how to wire these into the system to make them work or how to configure Labview in order to correctly recognize these limits (Meaning sourcing vs. sinking and active state being on/off). I have searched forums and manuals, but I cannot seem to find a solution. Here are more details on the system:
The stepper motor is moving a platform back and forth and the stepper motor is being driven by a Kollmorgen P70530 stepper drive. To communicate between the stepper drive and the computer, I am using a cRIO 9076 with a NI 9512 in the chassis. To connect the limit switches into the system, I have been using the NI 9512 37-pin terminal block. The photo interrupter that I am using is a Sharp GP1A05 OPIC Photointerrupter with Connector. For this photointerrupter, it has 3 pinouts: a Vcc (voltage source) input, a GND input, and a Vout output. The Vcc is supposed to be connected to a 5V source and GND to ground (obviously) with a pull-up resistor between Vcc and Vout (I am using a 10k Ohm resistor as that has what has worked for me in the past with this specific photointerrupter). Vout is supposed to give a 5V signal when the limit would be active and 0V when it isn't active. The way I had connected the photointerrupter to the 37-pin terminal block was as follows: For the forward limit, I had Vcc in pin 9 (+5V OUT), GND was in pin 3 (COM), and Vout was in pin 1 (Forward Limit). For the reverse limit, I had Vcc in pin 9 (+5V OUT), GND was in pin 24 (COM), and Vout was in pin 20 (Reverse Limit). I have also tried connecting the GND terminals of the photo interrupter into the GND (Shield) pin on the terminal block with no success either. As for Labview, I am running Labview 2011 SP1 on my computer. 
If you have any insights, I would greatly appreciate it if you would share them as I am truly stumped with something that seems on the surface to be quite trivial.
Thanks,
Steve
Solved!
Go to Solution.

Steve:
Glad you got it to work!
I'd still like to hear from NI why the specs on page A-3 are calling logic out voltage levels for the limits (I had to clean up some of the unit and GT/LT symbols):
Forward, reverse, and home inputs
Input type ........................................ Programmable: sinking or
sourcing
Digital logic levels, OFF state
Input voltage ............................
<= 5 V
Input current ............................
<=250 uA
Digital logic levels, ON state
Input voltage ............................ 11 to 30 V
Input current ............................
>=2 mA
Input impedance.............................. 30 kohm ± 5%
Min pulse width
2............................. 100 μs
-AK2DM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • TS1538 Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows.

    Hi, I have the problem which iTunes cannot detect my iPhone 4s. I tried the steps you have provided in your troubleshooting, but it won't work for me because the Apple Mobile Devilce is perfectly installed on my windows. However, the driver "Microsoft teredo Tunneling adapter" has a yellow exclamation mark, which i believe means it's not installed correctly or something is wrong with it. This driver is under the Network Adapters (Please see picture below).
    This is what happens when I connect my iPhone 4s to my laptop (Windows 7 Starter 32-bit)
    1. The phone charges it's battery
    2. I can open it in My Computer and import/export media files.
    In iTunes
    3. It start to sync until step 3 then stops.
    4. The iPhone option with an arrow appears beside the iTunes Store, but when the arrow is clicked it disappears.
    I hope you can provide me a solution for this problem.
    Thanks,
    Ralph

    Hi ralphagir,
    Welcome to the Apple Support Communities!
    For your iTunes issue with it not recognizing your iPhone, I would go ahead and suggest deleting iTunes and all of its components from your Windows computer and installing fresh.
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    As far as the arrow button that you click and the iPhone disappears, it sounds like you may be clicking on the eject button. Please take a look at the following article for information on the eject button in iTunes.
    Safely disconnect iPod
    http://support.apple.com/kb/HT1853
    Have a great day,
    Joe

  • I cannot detect my wireless hp desk jet 3520 printer, I cannot detect my wireless hp desk jet 3520 printer

    I cannot detect my wireless HP desk jet 3520 printer from my iPad? 

    I can't find an Arris router with that model number, are you sure it is not a TG862?
    Regardless, Arris routers are known to either be incompatible with Bonjour or have problems with Bonjour packets hence Airprint will not work. Check with Arris' website and see if there is a firmware update availble for your router for Bonjour/Airprint compatibility and install it or switch out your router.

  • When I purchase music through iTunes from my MacBook Pro, my iPhone 4 iTunes app cannot detect those purchase to allow them to download to my phone. If I open up the iTunes app and select "purchased music not on this iphone" it tells me "All of your a

    When I purchase music through iTunes from my MacBook Pro, my iPhone 4 iTunes app cannot detect those purchase to allow them to download to my phone. If I open up the iTunes app and select "purchased > music > not on this iphone" it tells me "All of your available music has been downloaded to this device." However, my purchases are not yet downloaded to the iphone and not available to download. If I go to "purchased > music > all > recent purchases" it will show me the purchases that were most recent the last time I synced my phone, but not the purchases since then.
    Any thoughts on how I can remedy this and make all of my purchased music available on my phone without requiring syncing?
    iPhone 4

    So I have been searching the iStore for Airplay and I find lots of information about what it is, but nothing about how much it costs, how/where to buy it, etc.?
    Fortunately, AirPlay does not cost anything as it is a streaming protocol used by Apple. Currently, the AirPort Express and Apple TV are AirPlay-ready. A number of other companies, like JBL, iHome, Denon and Klipsch are also rumored to be working on AirPlay versions of their products.
    Your other option would be to get an AirPort Express and connect it to your Onkyo analog or optical digital audio input and stream from iTunes that way. I currently do this with my 10+ year old Harmon Kardon HT receiver.

  • My itunes cannot detect my ipod touch 5g. How do I fix this?

    My itunes cannot detect my ipod touch 5g. How do I fix this?
    All I know is that my itunes has not been updated. If this is the problem, I tried to close and reopen the program but the "update" popup isn't popping up anymore and I'm not sure where I can manually update it myself.
    Please help!
    Thanks

    The 5G (iOS 6) require 10.5 or higher
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.7 or later7 (free download from www.apple.com/itunes/download)

  • Office Network cannot detect MBP

    Hi,
    My office is using Windows Server. I managed to connect to my server drives but the centralised printer and scanner cannot detect my MBP in the configuration setting. Without being detected on the centralised scanner, I cannot scan documents to my MBP.
    Thanks.

    Hi,
    My office is using Windows Server. I managed to connect to my server drives but the centralised printer and scanner cannot detect my MBP in the configuration setting. Without being detected on the centralised scanner, I cannot scan documents to my MBP.
    Thanks.

  • My v3753au (32bit win7) bios cannot detect internal dvdrom & hard to detect internal hdd?

    hi...
    my v3753au is wonderfully running on 32 bit win7.  lately the bios cannot detect the internal dvdrom & kinda hard to detect (longer than usual) the internal hdd during startup.  i've tried with the other dvdrom & it's still the same.  however, the one that i used is still ok on other laptop.  fyi, i've tried with the original f.15 version as well as the latest f.28 version but both let me down.  when win7 runs, dvdrom doesn't appear either in win explorer or device manager.  i've also checked the registry for that filter thing but it isn't there.  any suggestions of what should i try next?
    tq for the help...

    > I couldn't reinstall/recover new system from CD cos Win7 couldn't detect any drive while installing.
    Its no matter if the SATA mode is set to AHCI or compatible mode. The HDD should be recognized by BIOS even if the AHCI mode has been selected.
    At the first BIOS page the HDD should be listed with the name and size.
    If it isnt the case, it could be possible that your HDD controller is faulty.
    What HDD did you purchase exactly? Is it a 2.5 SATA HDD?

  • Camera Window pops the message "Cannot detect Camera, Check connection to camera, then retry"

    I have installed Camera Window in my Windows 8.1 laptop. The moment I invoke Camera window, there is a popup which shows . "Cannot detect Camera, Check connection to camera, then retry. I do not have this issue in my iPAD though. Has anyone come across this issue..?Thanks

    zebah_alfred,
    Please make sure you have the latest versions of the software installed by downloading them from our website.  Please click HERE to go to the download page.
     1.  Are you connecting to your computer with a USB cable or over Wi-Fi?
     2.  Are there any other devices connected to your computer other than the camera, aside from a keyboard and mouse of course?
    If this is a time sensitive-matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I install windows 8 in my macbook pro, the problem is it cannot detect wifi connection and bluetooth

    I install windows 8 in my macbook pro, the problem is it cannot detect wifi connection and bluetooth, because when i click the wireless in settings there are no choices... but when i use the mac os, everything is fine, the wifi, the bluetooth everything is functional, can you help me fix this problem? help will be much appreaciated.. thanks

    How did you install Windows? Did you use Bootcamp Assistant or did you use a virtual machine like Parallels, Fusion, or VirtualBox.
    If you used Bootcamp Assistant, did you download and install the Windows Support software (drivers) in accordance with the Bootcamp instructions?

  • Windows 8 and iTunes cannot detect iPhone

    Hi, I am using Windows 8 and iPhone 4S. Recently both Windows and iTunes cannot detect my iPhone. I have tried uninstalling and reinstalling the latest iTunes and related software, but no use. I tried follow this article http://support.apple.com/kb/TS1538 , but in doing the step "If the Apple Mobile Device USB Driver is not listed", replugging the device, I still can't find Apple iPhone in Device Manager.

    Hi, I have run the diagnostics and this is the result.
    Microsoft Windows 8 x64 Business Edition (Build 9200)
    Hewlett-Packard HP Pavilion g4 Notebook PC
    iTunes 11.0.2.26
    QuickTime not available
    FairPlay 2.3.31
    Apple Application Support 2.3.3
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.1.0.13
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0116B83009FC5BA0
    Current user is not an administrator.
    The current local date and time is 2013-03-19 21:29:56.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 102972d87e159603ee6a64fcec3e408b
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:          {B17D9219-7E1D-40CE-BAC6-420714253A52}
    Description:          Bluetooth Device (Personal Area Network)
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 08:00:00 1970
    Lease Expires:          Thu Jan 01 08:00:00 1970
    DNS Servers:
    Adapter Name:          {66304A8E-7EBA-4CAA-B2BF-A8AEF04C5A68}
    Description:          Microsoft Wi-Fi Direct Virtual Adapter
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 08:00:00 1970
    Lease Expires:          Thu Jan 01 08:00:00 1970
    DNS Servers:
    Adapter Name:          {43659E23-A7AF-4613-BF73-52663D28FCA9}
    Description:          Qualcomm Atheros AR9485 802.11b/g/n WiFi Adapter
    IP Address:          192.168.1.3
    Subnet Mask:          255.255.255.0
    Default Gateway:          192.168.1.1
    DHCP Enabled:          Yes
    DHCP Server:          192.168.1.1
    Lease Obtained:          Tue Mar 19 20:53:56 2013
    Lease Expires:          Wed Mar 20 20:53:56 2013
    DNS Servers:          192.168.1.1
    Adapter Name:          {CDCA5430-75A2-4270-B5C3-181137F729B5}
    Description:          Realtek PCIe FE Family Controller
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 08:00:00 1970
    Lease Expires:          Thu Jan 01 08:00:00 1970
    DNS Servers:
    Active Connection:          LAN Connection
    Connected:          Yes
    Online:                    Yes
    Using Modem:          No
    Using LAN:          Yes
    Using Proxy:          No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2013-03-19 21:23:25.
    **** Device Connectivity Tests ****
    iPodService 11.0.2.26 (x64) is currently running.
    iTunesHelper 11.0.2.26 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    No Universal Serial Bus Controller found.
    No FireWire (IEEE 1394) Host Controller found.
    Most Recent Devices Not Currently Connected:
    iPhone 4S running firmware version 6.1
    Serial Number:          C39H7QQMDTD7
    **** Device Sync Tests ****
    No iPod, iPhone, or iPad found.

  • Error 1074397153 Cannot Detect Recognizable Video source

    I'm using a single PCI1410 card to acquire images from two cameras and display those images in Labview using the Multiple Camera Acquisition.vi found on the NI website.  I'm running Windows XP, and my two cameras are Sony XC-HR70's with a resolution of 1024X768 each, running ~15FPS (total for both) thru the frame grabber.  I have one camera as a master, supplying the HD & VD synch signals for both my slave camera and the PCI1410.  Here is my problem:
          Whenever I change the light intensity for the cameras drastically (ie, abruptly shutting off the light source or blocking the camera), I get an error in Labview:  "1074397153 @ IMAQ Extract Buffer.vi.   NI-IMAQ: Cannot detect recognizable video source".  If I perform a gradual decrease in light intensity, I don't get the error.  Unfortunately, the users often need to toggle on and off my camera illuminators abruptly, so a gradual transition is not an option.
           I thought this was a MAX issue, but it is not-MAX gives no errors regardless of light intensity.
           I also tried decreasing the white level and/or increasing the black level-(per NI Knowledgebase post) all that did was decrease my image quality, error still appeared.  The error first appears in imgwaitforimaqoccurrence.vi which is inside imgsessionexaminebuffer.vi. 
    If I could somehow ignore the error and insert a ~ 500mS delay and then re-attempt to acquire video lock, it would probably work.  Just not sure how to do this, or if it is the right approach.  Any ideas?

    Hey wowens,
    I was wondering if you ran just a simple grab example program, and perform the same action of shutting off the camera's light source, do you get the same error? The error you are getting means that the frame grabber is not receiving any data from the camera in the expected timeout period. There shouldn't be any reason why decreasing the light quickly should stop the camera from sending data, as the camera should still be sending some data, like all black pixels or something. I might suggest tapping the data coming in with an oscilloscope to see if the data stops when you decrease the light. If you can't do this, I might suggest altering the code so that you don't stop the loop. You could also look at the shipping example called LL Scan Multiple Channels.VI. What version of the NI-IMAQ driver are you using? I would suggest that you upgrade to the most recent if you don't have it. Other than that it sounds like you need to find out what is causing the error before you start to find a solution.
    I hope this helps at least a little. Let me know if you have any questions or concerns. Thanks, and have a great day.
    Regards,
    DJ L.

  • Error 0xBFF6001F - Cannot detect recognizable video source

    Hi,
    I'm using a NI PCI-1433 card with a Sentech camera.
    When I try to get a snap from the camera in MAX, I've the following error : 0xBFF6001F - Cannot detect recognizable video source.
    I use the icd file given by the camera constructor (Alliance Vision) for the camera parameters.
    I have Labview 2012 SP1 and MAX 5.4.0.
    Has someone any idea ?
    Maugan.

    Hi Maugan,
    Did you already look at this KB?
    Best regards.
    Paolo_P
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Travaux Pratiques d'initiation à LabVIEW et à la mesure
    Du 2 au 23 octobre, partout en France

  • Microwaved iPhone 4, cannot detect WiFi.

    I have microwaved my iPhone 4 for 3 seconds (hearing rumors about it charging your phone) and it turns out now it cannot detect WiFi what's so ever.

    Seriously? You bought into that crap?
    Guess you'll be buying a new phone.
    Don't believe everything on the Internet...

  • My Iphone 3g cannot detect wifi

    my iphone 3g cannot detect wifi and the bluetooth is not working as well it can't detect bluetooth also... help me

    The basics from the manual are reset, restart, and restore.
    Have you tried any of these?

  • EPSON NX415:  Computer cannot detect scanner at all

    I just upgraded to snow leopard and bought this new printer, an Epson NX415 All-in-One printer. The printing and copying works fine, but I cannot use the scanner at all. When I finished installing the scanner driver, I immediately got this pop-up message:
    "Unable to create a work folder on the current disk, therefore the work folder will be returned to the default location."
    I opened up photoshop and the scanner's name was listed under the import from devices tab. However, when I clicked it the same popup window appeared again. But for some reason, Preview and Image Capture cannot detect the scanner. I then opened up Print/Fax in system prefs and saw the Epson NX415 printer listed in the printer queue. However, there was no scanner tab. Its almost like the computer doesnt know that the scanner exists.
    I tried uninstalling, reinstalling, and upgrading all the drivers per apple and epson's instructions but to no avail. After every reinstall of the scanner driver, i get the same pop-up message i quoted above.
    HALP! The printer/copier functions work beautifully. I just cannot figure out why I cant even scan.

    My problem has been solved by the solution on this thread:
    http://discussions.apple.com/message.jspa?messageID=10105981#10105981
    I went to Print/Fax, Selected my printer, Printer Setup, Driver, and selected "Epson NX400" from the dropdown list. For some reason, that one unlocked the scanner. When I went to add new printers in the printer queue, i saw the Scanner icon at last

Maybe you are looking for