Dual encoder feedback on single axis implementation

I have reel-to-reel transport system connected to a NI 9516 module in one axis. It has two servo motors and two encoders. One encoder is on the motor, while the other is on the linear portion of the reel. Both encoders and the feeder motor are connected to the 9516. The Take-up motor is just set to contant torque. Since I want the ribbon to travel at a constant linear velocity, I have set the primary feedback to the encoder on linear portion, with dual encoder feedback enabled. Is this a proper utilization of the dual feedback mode, with one encoder monitoring linear velocity, while the other is monitoring rotational velocity?
Linus

Hello Linus,
I think the setup that you've shown would work, generally the secondary feedback is used for backlash but you should be able to use the secondary encoder to monitor rotational velocity.
Dual Loop Feedback Information and Configuration
Regards,
Isaac S.
Applications Engineer
National Instruments

Similar Messages

  • Creating the Equivalent of a Single Axis Stepper Motor Indexer in a cRIO

    I am looking for some FPGA code that implements a complete (or near complete) Single Axis Stepper Motor Indexer function on a cRIO using an NI-9474 DO module. 
    For those that aren't familiar with the term "indexer", an indexer is a pulse generation subsystem that provides pulses to  a stepper motor driver that in turn drives the windings on a stepper motor. Some vendors provide a combination indexer/driver units that are issued motion commands via a number of communications standards.
    The FPGA indexer should:
    Output pulses in the 1Hz-800KHz range.
    Run the stepper at constant velocity continuously or for a fixed number of steps.
    Implement an acceleration/deceleration ramp when changing velocity.
    Implement clock-wise and counter-clock-wise limit switches.
    I  have some demo code provided from NI that proves to me that an FPGA indexer is feasible, I am looking for some examples of a more complete indexer.

    I am not aware of any examples of this being implemented.  You mentioned that you have some demo code.  Where did you get this, and if it wasn't from the website, could you post it?  It is very possible that you can build off of this example to get the behavior you'd like.
    Regards,
    Burt S

  • Some question about "Dual loop feedback"

    http://zone.ni.com/devzone/conceptd.nsf/webmain/E7​ABA6F4D569010A86256F5A005B64F3/
    Switch Feedback on the Fly
    Consider a heat-sink assembly application where a position sensor is the feedback device for the initial positioning along the Z axis. However, when the heat sink is pressed on to the PCB, a force sensor must be the feedback device for precise motion control in the latter part of the process. With NI motion controllers, you can switch feedback devices on the fly without reinitializing the controller. The new feedback device might require the system to have a new set of PID gains loaded immediately after the axis is reconfigured. To minimize the delay, you can configure an additional set of PID gains with the motion controllers.
    anyone can give me some detailed materials about "switch Feedback on the Fly", for example, some programme,some words to explain it.
    another question is that if i don't use the torque sensor, can i directly use the DAC to control the voltage to come true the torque control?
    Thanks for your answer

    anyone can give me more suggestion about the Dual loop feedback?
    I really know little.
    Hope your suggestion.
    Thanks a lot

  • Switching from analog feedback to encoder feedback

    Greetings,
                    I am having problems with switching feedback sources in my Labview App.  I am using a 7344 board.  I initialize the board in encoder feedback as primary.  Then I am able to switch to analog feedback, but then the problem is when I switch back to encoder feedback it acts like it is still using analog feeback as a Primary.  I can only get it back to encoder feedback only if I reinitialize the controller.  I am disabling the axis before I am making config changes and then re enabling axis to run axis on both accounts.  However it doesn't seem to be getting back to encoder feedback.  Any Ideas?
    Wade

    Hey wade,
    As mentioned in this Forum Thread, you should be able to switch back and forth between feedback sources on the 733X motion controller by disabling/enabling the axis. However, this is what you say you are doing. Perhaps changing the order in which you make the feedback switch. What happens if you make the feedback change and then simple disable/enable the axis? Are you seeing this same behavior on all of your axis? What version of the NI Motion driver are you using?
    Hope this helps.
    -Ben
    WaterlooLabs

  • Dual-DMVPN Design with Dual Hubs on a single router ??

    Hi All,
    In DMVPN, in Dual-DMVPN Design with Dual Hubs , can a single router perform the role of dual hubs.
    The router has two different internet links. It is intended that when one link goes down, spokes shud connect to the same router onto the other active internet connection. Is this possible ?

    Since no one has answered yet, I'll give you the practical answer.
    You'll have issues with IPSec and static routing. "DMVPN" itself probably wouldn't have an issue, but it would depend on IPSec and routing to work.
    It is easier, by far, to put in a second router. And when you factor in your time to try to make it work (and it may not work), the second router is less expensive.
    Rob

  • How to generate 2 breakpoints on an encoder using the NI-7344 without physically connecting the encoder to a second axis?

    I'm using the NI-7344 motion-controller (for the control of 2 servo-motors) in combination with an E-series DAQ-card.
    I need to acquire data at two different scanrates using breakpoints over RTSI, one channel for example every 10 encoderpulses, the second channel for example every 200 encoderpulses.
    I'm using on onboard program that uses the modulo breakpoint for generating a pulsetrain over RTSI, but I also need a breakpoint (from an unused axis) to generate the other pulsetrain.
    Is there perhaps a way to tell an axis to use the encoder from another axis so the breakpoint can be generated at this axis without having to connect o
    ne encoder to two different axis?
    thanx

    Hello,
    I am alittle confused about your application, but maybe this will answer your questions. In the "Configure Breakpoint VI" you can set the Axis or Encoder input as the following: Axis or Encoder is the axis or encoder to be controlled. You can enable Breakpoint Position on encoders mapped to axes 1 through 6 or directly on encoders 0x21 through 0x24.
    So you can use an encoder that is not mapped to that axis.
    Please let me know if this was not your question.
    Regards,
    Andy Bell
    Applications Engineer
    National Instruments

  • Convert dual stack systems into single stack

    Hi all,
    need some info regarding the procedure to convert dual stack systems into single stack systems.

    Hi Ambarish,
    check this below discussion... I hope raising an OSS will not be useful in this case...
    Dual stack to Single stack migration
    Regards,
    Chandru

  • Encoder Feedback question.

    I am reading encoder feedback using Visual Basic and an E-Series Board. My problem is as follows: when the motor is moving in the negative direction and the encoder is counting down towards zero counts what is the best way to start displaying the counts as negative when it passes zero?

    Since the STC is a 24-bit counter, it's a bit awkward to display the counts as negative. The least complicated solution would be to simply have a case statement that divides the counter values such that half are positive and half are negative.
    value1 = measuredValue;
    value2 = 2^24 - value1
    if(value1 < value2)
    reportedValue = value1;
    else
    reportedValue = -1 * value2;
    The only time this method would break down is when the encoder moves in a positive direction too far (2^12 ticks) in which case the numbers would go negative, but this isn't a common issue.

  • Encoder Feedback for Stepper

    Hi !
    I have UMI-4A ( Universal Motion Interfaces) and one steppermotor.
    I have trouble finding a encoder to use with UMI-4A.
    The UMI-4A user guide page 9 :
    The Index puls must occur when both Phase A and Phase B signals are logic
    low.
    Please help me to find a suitable encoder.
    Geir Kåre Refstie
    Scanmar AS
    http:\www.scanmar.no
    [email protected]

    Hi, no worries cheers for the reply! 
    I've managed to get movement to my desired location using NI motion, but my lecturer has requested that I use an incremental optical encoder for feedback, so that for every 2 steps a pulse would be registered or else the program would cease. 
    To achieve this I have written a program from scratch with all the limitations in place that I believe (from what I've read online) should generate the appropriate signals to the stepper motor, and count the steps, though at this point the encoder feedback is not included as the encoder has yet to arrive.  
    My hardware arrived at the beginning of this week and after being set up I have managed to get movement using the NI motion method, but nothing has happened with my pulse creation method. The pulse generation method runs in labview without errors when tested, so I believe the issue im having is with the output to the hardware. I have attached my VI bellow (sorry if its a little hard to follow) but im unsure as to why this isnt working! 
    Cheers 
    Ben  
    Attachments:
    Stepper motor Vi built for feedback no encoder.vi ‏31 KB

  • Secondary encoder feedback

    I would like to be able to supply an analog feedback into the primary feedback axis and thus drive to this given analog feedback position. My problem is controlling the velocity at this time. The system runs off at a velocity controlled by (initially) the P of the pid loop. This can be any velocity and is usually quite large.
    Ideally I would like to be able to drive the velocity at a mm/sec rate and thus this would lean to having the encoder connected to secondary feedback and using the Pv control. This though is not distinct in its velocity as it is function of driving parameters etc and the pid loop parameters. The driving velocity I would like to be able to set accurately say 2mm/sec variable) etc.
    I have had a bit of a playaround wi
    th altering the maximum output voltage from the board via the load torque limit setting vi, although this is not an elegant solution to the problem and may in fact create more headaches as then I am losing torque from my motor and not achieving any high torque requirement driving.

    Wayne,
    If the motor is properly tuned it should not run faster than the velocity which you loaded unless you run into a following error at which point the PID gains will kick in and may take you above your target velocity.
    The degree of precision with which you can reach a target velocity depends on how well the motor PID is tuned and the resolution of the encoder. You may want to look at Understanding Servo Tune
    You mention that the system starts by running off at a velocity controlled by P. This implies that you are introducing some discontinuity which makes the error term increase. I recomend looking for the source of the discontinuity. It may be a res
    ult of static friction you may play around with the Static Friction parameters in the servo tune section.
    If none of the above sugestions work, there is a velocity threshold parameter. You can set this to the max velocity, and then throtle back via the load torque limit setting that way you can get your full torque the rest of the time.
    Hope this helps!
    Amaruy
    NI Applications Engineer

  • Adobe Media Encoder only using single core of CPU (core parking has already been disabled and did not solve the problem)

    I only edit videos every few months and the last time I edited a video was around 6-9 months ago.  At that time, I noticed AME was only using a single core of the CPU and contacted Adobe who instructed me to disable core parking, which worked.  After disabling core parking AME used 100% of all 12 logical cores to process the video and all was good.  Then last week, I decided to edit another video and noticed AME was very slow and checked and it was again only using a single core to process the video, but core parking is still turned off.  By slow I mean that a 10 minute video with the lens distortion correction preset and one video transition effect is estimated to take nearly 3 hours to complete.  For comparison, the GoPro software processed the same clip with the same effects in 20 minutes.  Also, through troubleshooting with Adobe over the last few days, I have also tried downloading previous versions of the software but the prior versions have the same issue.
    The video I'm trying to edit was shot on a GoPro Hero 4 Black with 1080p Wide at 60 frames per second.  The default video format for GoPro is .mp4.   The output settings I'm using when I export from Premiere Pro to AME are H.264 with the YouTube 1080p HD.
    My system:
    ASUSSabertooth X79
    Intel core i7 4930k (6 physical cores, 12 logical cores)
    16GB DDR3 Quad channel RAM
    Samsung 830 SSD 128GB
    NVIDIA GeForce GTX 460 (not CUDA compatible, I know)
    Please ask if you need any additional information to help solve this problem.

    This has been driving me CRAZY... so going over the message boards from 2 to 5 am this morning I found the best explanation I have seen.   The problem is that Adobe Creative Cloud is NOT "Processor Group Aware".  Windows parses any more than 36 cores into "Processor Groups" and while the Pro version of Windows 7 & 8 can handle 256 threads they have to spread them across multiple processor groups.
    Simple Version:  AREA | How many cores does 3ds Max support?
    Microsoft's Explanation:  Processor Groups (Windows)
    Clearly, this is an Adobe Problem... If any engineers are reading this PLEASE review the below and incorporate it into your next build of Creative Cloud!!!
    https://msdn.microsoft.com/en-us/library/windows/hardware/dn653313%28v=vs.85%29.aspx
    Again, I bought a VERY expensive machine based on your white paper that recommended Dual Xeon Workstations.  Please, Please Give us the product you PROMISED!!!
    Michael

  • How do I convert a double-byte encoded file to single-byte ASCII?

    Hello,
    I am working with XML files (apparently coded in UTF-8) which encoded in double-byte characters.
    The problem is the characters for end of line: 00 0D 00 0A
    This double byte end of line is causing a problem with a legacy conversion tool (which deals with 0D 0A). The file itself contains no
    accented/international characters, so in principle converting to single-byte should not cause any problems.
    I have tried to convert this file with tools like native2ascii and the conversion tools that are part of Notepad++ but without
    any luck - the "00 0D 00 0A" are still present in the output
    Can anyone point me to a tool or some code that can convet this file into single-byte?
    Thank you.

    Amiens wrote:
    native2ascii.exe -encoding UTF-16 -reverse INPUT.xml OUTPUT.xml
    gives 00 00 0 0D 00 00 00 0A
    so clearly that is not the required output.What you've got there is UTF-16 encoded text that's been converted to UTF-16. Get rid of the "-reverse" option and you should see the result you expect.

  • Dual Line Chart : Dynamic Secondary Axis

    Hello All,
    I am currently working on Dual Line Axis to Compare  ANY Two KF's based on user Selection in the provided Dropdown boxes. Also, the data has to be switched between Month and Quarter based on the Radio button Group.
    Here is the Screen shot of the required output format. The KF1 and KF2 are filtered by code Chart.setSelectedValue(KF1 , KF2);
    I am getting an error saying 'Can't Display data, At least one Measure has to be in Rows". I took 3 Measures in Rows and Calmonth in Column in the Default View.
    Can anyone please throw some light how to achieve this ? The reason for the DUAL Axis is, One measure is $ Value and Second Measure is % Values.
    Appreciate your help.
    Thanks,
    Priya.

    Hi Priya -
    That is a nice chart you have.
    Only thing I could find that could be related is this note:
    http://service.sap.com/sap/support/notes/1942481
    It may or may not help.
    Could you also specify which version of Design Studio you are using?

  • Error in Dual Stack Splitting:SAPControl:GetAccessPointList not implemented

    Hi,
    Am doing dual stack split with Keep Database option. Environment is
    OS- Sun Solaris SPARC 64 bit
    Database – Oracle 11.2.0.3
    System – ECC 6.0 (Netweaver 7.0) NUC
    We stuck in 1sr step while taking export of JAVA. Error is – GetAccessPointList fail:SAPControl:GetAccessPointList not implemented : method name or namespace not recognized
    I have upgraded kernel from 700 Sp 333 to 720 sp 700. also set parameter alternatively
    service/protectedwebmethods = SDEFAULT
    service/protectedwebmethods = DEFAULT
    service/protectedwebmethods = NONE in all profiles, but still no luck.
    Please find below logs.
    Also output of command
    Please find below log files, as I have executed command -
    sapcontrol '-prot' 'NI_HTTP' '-nr' '20' '-function' 'GetAccessPointList' which gets completed successfully(20- Instance No of ABAP). Log file
    -sapcontrol.log
    but when I execute command
    sapcontrol '-prot' 'NI_HTTP' '-nr' '00' '-function' 'GetAccessPointList'-- which shows error (00-instance no of SCS)
    log file - sapcontrol1.log
    Please find log files.
    Regards
    Vivek

    Hi Vivek ,
    Check for the permission of sapuxuserchk in all the exe directories including the local exe directory of SCS00
    1563660 - sapcontrol, user authorization issues (SUM)
    Thanks ,
    Manu

  • Decoding pdf data which was encoded as a single string

    I am storing a single (very large BLOB) string which is a base64 encoding of a .pdf file.
    If I try to decode the string I get a corrupted .pdf file.
    Below is the code I'm using to decode...
    blob_len := dbms_lob.getlength(pdf_blob);
    offset := 1;
    amount := 78;
    DBMS_LOB.CREATETEMPORARY(blob_dec,true);
    loop
    if offset >= blob_len then
    exit;
    end if;
    dbms_lob.read(pdf_blob,amount,offset,dec_buffer);
    dbms_lob.append(blob_dec,utl_encode.base64_decode(dec_buffer));
    offset := offset + amount;
    end loop;
    NOTE: I know the inital .pdf is fine because if I take the same .pdf file and encode it via Oracle's utl_encode.base64_encode facility, I can decode the data without any issue.
    I do notice that the utl_encode.base64_encode creates individual lines of 76 characters in length with CR's at the end of each, whereas the string I need to work with is a single long string of 201,433 characters.
    The string is coming in from an external webservice so I cannot influence its format.
    I can't read in the string in a single dbms_lob.read call as iIm restricted to the size of the buffer RAW definition (i.e. 32767 ).
    Any help appreciated.
    anthony.

    ascheffer,
    Thanks for your reply.
    I set the offset to 78 because all examples on the net had this figure.
    I've just changed the offset to 76 as per your suggestion, and I can't believe that this works.
    You're a hero!!!
    Thanks,
    Anthony.

Maybe you are looking for

  • Blog Summary Formatting

    I have added a shadow effect to the text in my blog entries however this effect is not carried over onto the main blog summary page. The option to add a shadow effect to the text on the blog summary page is greyed out.

  • Running Slow, Displaying information I can't find...

    I have a MacBook Pro and when I run any application it runs slow. At first I thought, 'It is almost full, I should clear it.' I did, about 30 gigs of it but it is still running incredibly slow. I've looked into About This Mac and it says there is 100

  • Acrobat 9 Pro - PDF Optimizer fails when selecting overwrite file during save process

    Hello Everyone, I am wondering if Acrobat 9 Pro has changed in the way it handles PDF Optimizing functioning when trying to overwrite the file you are attempting to optimize. In Acrobat 8 Professional, it overwrites the file just fine when it gets to

  • Unable to add PST file in office 2010

    Hello - - I cannot add the PST outlook file in my outlook 2010, probably for 2-3 months now....I researched the web and found the link describing exactly my issues----- I followed exactly what they said in the discussions - - apply "fix it" tool....t

  • Cost Assignment

    Hi, I haveconfigured a cost assignment for "finance and funds" i.e. Cost Center (W/GR) in both ecc and srm..but when i try to create a shopping cart for this cost assignment i'm getting an error "enter material or account assignment category". please