Axis resource allocation and the MID-7654

Hello All,
I am currently transferring my application over to use the MID-7654 instead of third party drives.  Below is the start up process I am using to allocate the axis resources:
  //kill and disable all axes
  flex_stop_motion(boardID,0,NIMC_KILL_STOP,0x000F);
  flex_enable_axes(boardID,0,3,0x00);
  //unmap all axis resources
  flex_config_axis(boardID,NIMC_AXIS1,0,0,0,0);
  flex_config_axis(boardID,NIMC_AXIS2,0,0,0,0);
  flex_config_axis(boardID,NIMC_AXIS3,0,0,0,0);
  flex_config_axis(boardID,NIMC_AXIS4,0,0,0,0);
  //map encoder resources to axes 1 and 2
  flex_config_axis(boardID,NIMC_AXIS1,NIMC_ENCODER1,0,0,0);
  flex_config_axis(boardID,NIMC_AXIS2,NIMC_ENCODER2,0,0,0);
  //enable axes 1 and 2
  u8 mask = MASK1|MASK2;
  status = flex_enable_axes(boardID,0,3,mask);
Basically, I want to use the encoder resources for each axis for position/velocity monitoring and control the analog outputs directly to change the torque of the motors.  Since my impedance control software is closing the position and velocity loops, I do not want to use the PID controller onboard the PCI-7344.
The above code worked fine with the third party drive.  However, after starting up my application with the MID drive, all of the orange inhibit LEDs turn on and remain that way (I assume it is to do with killing and disabling all of the axes and not mapping output resources to them).  Since I wasn't previously using the inhibit output from the motion controller, my application worked fine with the third party drive (I was still able to read the encoder feedback information).
Also, when I was using the MAX '1-D interactive' interface to verify my encoder feedback, if I move either encoder immediately after initialization the 'Motor off' and 'Following error' lights turn red.  I assume this is due to the encoder moving without a command sent from the motor).
Can anyone see any problems with the above code segment or suggest an initialization procedure that would solve my problems.  Or if all else fails, is it possible to control the inhibit signals directly to enable/disable the axes on my own?
Wow... I certainly rambled on a bit there....  If you need clarification on any points let me know.  Also, I am on a bit of a time crunch, so a prompt reply would be greatly appreciated.
Thanks,
Chad

Chad,
I'm a bit astonished that you don't want to use the PID controller on the board. Onboard PID control is one of the main reasons why you would like to use a motion control board instead of a simple multifunction I/O device. The onboard PID loop of the 7344 can run with up to 16 kHz with very low jitter whilst using the DACs directly from your host application will result in a control loop with less than 200 Hz and a high amount of jitter - even if you were using a real-time OS. This will result in poor control behavior.
This is caused by the architecture of the board. The DACs can be controlled directly by the DSP on the board with high rates in a determenistic way but the host can access them only through the board's µController that runs the host communication in 5 ms cycles that can't be synchronized with the application on the host PC. So for this usecase a combination of e. g. a PCI-6229 (multifunction DAQ board with 4 analog outputs) and a PCI-6601 (4 counters with direct quadrature encoder connectivity) would do a much better job at even a lower price.
With this said I really can't reccomend the usage of a PCI-7344 as a pure I/O-board. Please provide some information why you want/need to choose this approach. There are a lot of options to build customized motion control systems. Please follow this link for some further information.
A key feature of every control system is deterministic behavior so you will need to run your application on a real-time OS. Otherwise you won't be able to get a reliable control behavior.
I can give you some more specific advice if you post some background information about your application.
Best regards,
Jochen Klier
National Instruments Germany

Similar Messages

  • How do i regulate the voltage/current from the MID 7654

    I am trying to control a linear motor using flex motion and the MID 7654 power drive, however there are variuos discprencies between what should happen and what is happening:
    1) I have configured AXIS one as an open loop stepper, i have specified a target postion (1000) counts, Max reports movement complete however the power amplifier is outputing 50 volts as soon as motion is started and after it has finished. ( should this value not vary with varying speed and positions, i have tried and it does not ???)
    2) If configuring the axis as a servo loop and specifying KP as zero, i still get a max output, should this not be zero also.
    3) Follow intiialisation i get maximum output from the power amp. I realise the ax
    is must be energised and a holding torque applied, but this is causing the motor to shoot off ! why ??
    Any help or advice would be much appreciated !!!!

    Hello,
    MID 7654 is a servo amplifier and will only work with servo motors. Do not expect anything reasonable to happen when the axis is configured as a stepper instead of a servo as it's not the intended use.
    After you configure the axis as a servo you need to tune the PID loop parameters. Until you do that the current sent to the motor will not be correct and you might see unexpected movement on your axis.
    Also make sure the current settings of the amplifier matches the ones in the motor's spec sheet.
    Hope this helps!
    Regards,
    Yusuf C.
    Application Engineering
    National Instruments

  • How do i Model the MID 7654

    I am trying to produce a simulink model in Matlab of my force control system ( A servo motor , connected to the MID 7654, which is connected to the NI 7344 flex motion board, A force sensor connected to ADC-1 closes the loop). In order to complete the system transfer function i need to know what output voltage is being applied across the servo motor as it is this (if my understanding is correct) , which determines the current through the motor, the growth rate of which is goverend by the motor inductance. I know the NI 7344 outputs a signal between +/-10V, how is this acted upon by the MID7645??, the only onfo given in the manual is a current output, surely there must be an accompanying gain applied to the voltage which is then applied to the mot
    or which then detemines the current running through the sytem. Any help which could help me better understand the system and produce a model would be much appreciated !.

    There is no "characteristic" transfer function for our MID motor controller. That transfer function is going to be the result of the MID in combination with the motor that you are using. The output of the MID is going to be in current. That current is going to be related the current that you select with the MID's jumpers, and the voltage input that the MID receives from the Motion Control Board. This output is characterized by two charts that you can find in the MID's user manual.
    MID's user manual
    That current output plus the characteristics of your motor should allow you to calculate the relevant transfer function.

  • Can I Connect a 6-wire Unipolar Stepper Motor to the MID-7654/7652?

    I am trying to connect a 6-wire unipolar stepper motor to the MID-7654/7652  motor driver and was wondering how the wiring would work on that?

    The connector is simply a pass-through for the signals generated by the motion controller card for hooking up to a separate driver compatible with stepper motors. It would be used if you had a combination of servo and stepper motors in your system used in conjunction with separate servo and stepper drives.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • I have a graph with the x axis for volume and the y axis for mass, I need the data to correlate with the volume and mass, I can not simply label the axis this way, how can i do this?

    This is extremely urgent and please help!!!

    Do you mean something like this?
    If so, go to the Chart inspector. On the Axis tab of the Chart Inspector you can set the format for each axis. Choose "custom" then type in the units at the end of the format that is there.  You can't get fancy, like having superscripts or anything.
    Alternatively you can show the axis titles, also in the chart inspector:

  • Modifying DSP resource Allocation on the AS5300

    It seems I may have some faulty DSP banks on an AS5300 but aren't sure how to 'juggle' the resources around to identify where the faulty channels lie. Could anyone point me in the right direction??
    Many thanks

    Many thanks for that.
    I'm unsure whether it is a DSP problem...basically whats happening is that the DTMF tones are going astray when the AS5300 is busy, I'm unsure how to edit the DTMF settings on the box. So there's two things, firstly how would I be able to tell if it's a DSP resource that is faulty?? And also, where in the config can I manipulate the DTMF transport methods??
    Many thanks again

  • Field for resource allocation in project online

    Hi,
    I'm running Project Pro for Office 365. I'm trying to build some Business Intelligence reports. I would like to make a PivotChart in excel where the X-Axis is the time and the Y-axis is the allocation percentage. I would have a filter to select the resources
    i want to show the bar chart for. That way i can see over the next few weeks/months who is going to be too busy once they go over 100%. How/where do I get the field for a resource allocation in the OData? What is the name for it, is there a list somewhere
    of all the fields one can include into a custom OData?
    Thank you for your help.

    Jim,
    No, using the GUI. Resource Rates are per resource, and will have to be populated when creating the resource.
    However, you can bulk edit the resources in project pro and set the standard rate in one go.
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • MID 7654

    Hello everybody,
    I have been using MID-7654 for like 1.5years for now with the motion controller PCI-7358. I have encountered several problems and I now am controlling 4 different servo motors simultaneously. But today when I powered the system up, the motor connected to the 3rd axis of the MID-7654 wasn't responding to the commands. I opened MAX and saw that when I commanded any thing the motor wasn't moving at all, but the following error was increasing and the axis was killing itself. I tried to assign the axis 5-8 of motion controller to driver and again all axis except axe 3 was working.
    Can there be sth wrong electrically inside the driver? Has anyone faced a similar problem? Is there a chance to overcome this problem changing the settings of the axis?
    Thanks for all the responses in advance...
    Gencer
    Solved!
    Go to Solution.

    Thank you Jochen,
    First of all I've never opened a thread with an implicit header like this before but I think this time though I've changed the header the browser sent my query word as a header. I've already tried everything you've offered. I've tried different cables, different motors and also I've verified these components using other axis and they worked.
    So as you suspected there would be a very great chance that the MID-7654 has an H/W failure. In that case what can I do, I will check my guarantee situation? Do you think it can be repiared or what?
    thanks again...
    Gencer

  • What  is difference btw project Assignment, Resource Assignment and task Assignment.

    Hi,
    I am new project accounting Module .
    what  is difference btw project Assignment, Resource Assignment and task Assignment.

    Project Assignment, Resource Assignment refers to the resource management part and Task assignment is basically the work assignment to the resource.
    An assignment/requirement is created in PJR for create demand for the resource requirement of the project and when the resource is aligned he can be assigned to the task in the work plan.
    Refers to the top down approach in this case.
    Additionally a resource can be assigned to the work plan and a assignment can be created to get the resource allocated to the project.
    Refers to the bottom up approach in this case

  • Resource allocation issue

    Hi,
    I have configured 2 resource classes in ACE as follows:
    resource-class BE-Nonprod
    limit-resource all minimum 20.00 maximum unlimited
    limit-resource sticky minimum 20.00 maximum equal-to-min
    resource-class FE-Nonprod
    limit-resource all minimum 20.00 maximum unlimited
    limit-resource sticky minimum 20.00 maximum equal-to-min
    I have applied it to the respective contexts. When i execute "show resource allocation" on the admin context, I see that the minimum bandwidth is 17.77% instead of 20%(see the attachment)Is this a bug or am i doing something wrong. Please advice.

    Hi
    send me the output for,
    show running-config resource-class
    You can also use
    limit-resource rate banddwidth minimum 20% maximum unlimited.
    It will override the
    limit-resource all minimum 20.00 maximum unlimited
    command.
    This command shows the resource allocation but does not show the actual resources being used.
    You can display the resource usage for each context from the Admin context by using the show resource usage command in Exec mode. The syntax of this command is as follows:
    show resource usage [all | ] [counter [all | current | denied | peak [count_threshold]]]
    The keywords, arguments, and options are as follows:
    •all-(Optional) Displays the resource usage for each context individually. This is the default setting.
    •context name-(Optional) Displays the resource usage for the specified context. The name argument is case sensitive.
    •summary-(Optional) Displays the total resource usage for all contexts. For example, the denied column shows the items that have been denied for each context limit.
    •top number-(Optional) Displays the greatest n users of a single resource arranged from the highest to the lowest percentage of resources used. You must specify a single resource type. You cannot use the resource all keywords with this option.
    •resource-(Optional) Displays statistics for one of the following specified resources:
    -acc-connections-Displays the number of application acceleration connections.
    -acl-memory-Displays the ACL memory usage.
    -all-Displays the resource usage for all resources used by the specified context or contexts.
    -conc-connections-Displays the resource usage for the number of simultaneous connections.
    -mgmt-connections-Displays the resource usage for the number of management connections.
    -probes-Displays the resource usage for the probes.
    -proxy-connections-Displays the resource usage for the proxy connections.
    -rate-Displays the rate per second for the specified connections or syslog messages.
    Kindly send me the output also for
    #show resource usage all
    best regards
    sachin garg

  • MID-7654 Current Limits

    Hello,
    I am using an MID-7654 drive to power DC servo motors with the following specifications:
    - Continuous Current:  4.2A
    - Peak Current:  21A
    - Inductance:  1.92 mH
    - Maximum Terminal Voltage:  50V
    My original understanding was that the current limit DIP switches on the front panel changed the gain of the system such that a +/-10V input would correspond to the peak current limits (+/-) [Quote from the  MID-7654 manual pg 10 - "The MID-7654/7652 varies the gain applied to the input voltage so the maximum input voltage corresponds to a current output equal to the peak current limit, Ipeak."].  Being paranoid like I am, I wanted to verify this thought before doing anything.  For current settings of 0.85A/1.7A (cont/peak) I measured a gain of approximately 0.99A/V and for current settings of 1.25A/2.5A (cont/peak) the gain was approximately 1.0A/V (ie:  no altered gain).  In both cases the output current saturated at the specified continous current limit (for a continuous input voltage).
    Based on the above measurements, I have the following questions:
    - Do the DIP switches simply change the current limits without altering the actual gain of the MID-7654? 
    - If this is indeed the case, is there a way to change the gain of the drive such that +/-10V corresponds to a desired peak current range (say 4.2A or 4.9A)?
    Thanks,
    Chad

    Hi David,
    I have attached an Excel spreadsheet with the voltage and current measurements I made.  I supplied the input voltage by directly accessing the DAC on the PCI-7344.  The actual voltage measurements were made from the AOUT block on the back panel of the drive.  The current was measured with a DC ammeter in series with the motor, while the output shaft of the motor was fixed in place to prevent motion.
    As you can see from the measurements, the motor is not saturating right away and the gain is linear (~1A/V) with a slight DC offset.  Voltages higher than those shown in the Excel sheet simply saturated the output current at the level specified by the DIP settings on the front panel.  Since the output saturated around the selected limits, I would think that these current measurements are reasonably accurate.
    Thanks,
    Chad
    Attachments:
    amplifier_gain.xls ‏20 KB

  • "The MIDI Server can't be opened" Mountain Lion

    Hello all, so I'm encountering this issue when I try to open up the Midi Window in audio midi preferences. I have tried emptying the Midi Drivers folders, restarting repairing permissions of the hard disk, both from recovery mode and with the system running. I have also used Onyx to do a full automation on my disk, and disk warrior to service the disk as well. I'm still having this issue.
    it's making Ableton Live 9 hang on startup for 5 minutes, and upon opening will not let me select the midi controllers that I have plugged in. I don't think this error is caused by any recent midi driver installations, as I haven't really installed anything recently, and had all my controllers working just days ago
    For reference sake, this issue exists on my iMac (mid 2011), and not my MBP (mid 2010). I'm using the most recent version of Mountain Lion 10.8.5, and the most recent version of ableton and all of my other midi controllers, and software are totally up to date. The Midi controllers I have are my Maschine MKII, M-Audio Oxygen 25 3rd Gen, and my NI Komplete Audio 6 Interface. As I said, they were working perfectly just earlier this week, and only recently began to act up and give me this error message.
    I'm at a a total loss here, as anything I do doesn't remedy the situation, and I still cannot access the midi preferences, or use any of my controllers.
    I sincerely hope somebody can help me rectify this, as it's becoming absolutely detrimental to my production, and it's a complete waste of my time, over something that I don't think should be causing this big of a deal.
    Thanks in advance, I hope to hear back real soon from you folks.
    Cheers
    Chris

    Just noticed you are using 2  M-Audio MIDI devices, the MIDISport Uno and the MIDI portion of the 410.
    Let me clarify... the M-Audio 410 Core MIDI driver is not compatible.
    The Uno is probably a system compliant device that doesn't use a driver, I'm betting the 410 installs a MIDI driver with the installation package.

  • ASM resource online and ASM idle instance

    Hi all,
    SO..........: CentOS 5.8 32bits (VM - VirtualBox)
    Oracle...: 11gR2 (11.2.0.1.0)
    On my test environment, i have a VM running Oracle Clusterware and 2 11g instances. The problem is: The ASM service appears online (through ./crsctl status resource -t, see below), but when a try to connect to the ASM instance as sysasm, it shows me that the instance is idle, and if i try to startup it, the message "ORA-15149: another ASM instance found running on the host" is shown to me.
    --output of ./crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       vm-cent5                                    
    ora.DG_MANOBRA.dg
                   ONLINE  ONLINE       vm-cent5                                    
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       vm-cent5                                    
    ora.asm
                   ONLINE  OFFLINE      vm-cent5                 Instance Shutdown  
    Cluster Resources
    ora.auxdb.db
          1        ONLINE  ONLINE       vm-cent5                 Open               
    ora.cssd
          1        ONLINE  ONLINE       vm-cent5                                    
    ora.diskmon
          1        ONLINE  ONLINE       vm-cent5 If i try to start the ora.asm resource through ./crtctl start, the following output is shown:
    [root@VM-Cent5 bin]# ./crsctl start resource ora.asm
    CRS-2672: Attempting to start 'ora.asm' on 'vm-cent5'
    ORA-01012: not logged on
    CRS-2674: Start of 'ora.asm' on 'vm-cent5' failed
    CRS-2679: Attempting to clean 'ora.asm' on 'vm-cent5'
    CRS-2681: Clean of 'ora.asm' on 'vm-cent5' succeeded
    CRS-4000: Command Start failed, or completed with errors.I am probably doing something stupid, but i still could not see what i'm doing wrong.
    Any help will be appreciated. Thanks in advance.

    Just one thing that i saw in my recent tests. I restarted CRS (crsctl stop | start resource -all), and the asm service (ora.asm) was back online, both target and state, as you can see below:
    [root@VM-Cent5 bin]# ./crsctl status resource -t
    NAME           TARGET  STATE        SERVER                   STATE_DETAILS      
    Local Resources
    ora.DATA.dg
                   ONLINE  ONLINE       vm-cent5                                    
    ora.DG_MANOBRA.dg
                   ONLINE  ONLINE       vm-cent5                                    
    ora.LISTENER.lsnr
                   ONLINE  ONLINE       vm-cent5                                    
    ora.asm
                   ONLINE  ONLINE       vm-cent5                 Started            
    Cluster Resources
    ora.auxdb.db
          1        ONLINE  ONLINE       vm-cent5                 Open               
    ora.cssd
          1        ONLINE  ONLINE       vm-cent5                                    
    ora.diskmon
          1        ONLINE  ONLINE       vm-cent5                       ... but when i connect as sysasm using user oracle (sid +ASM), i see again the idle instance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Set resource type and projectid

    Hello together,
    we want transform a xml-document in a xml-form. Therefore we had to change/set the resource type and the projectid to create xml-forms for form based publishing.
    I tried this code but it doesn't work.
    String namespace = "http://sap.com/xmlns/cm/app/xmlforms/<projectid>";
    String name = "resourcetype";
    IMutablePropertyMap mutableProperty =null;
    mutableProperty = new MutablePropertyMap();
    IPropertyName propertyName = new PropertyName(namespace, name);
    mutableProperty.put(property);
    resource.setProperty(mutableProperty);
    Has anybody an idea??
    Regards Theresa

    Thank you very much....
    I solved it with the code
    String namespace = "http://sap.com/xmlns/cm/app/xmlforms/";
    String name = "resourcetype";
    IPropertyName propertyName = new PropertyName(namespace, name);
    Boolean value = new Boolean(true);
    IProperty property = new Property(propertyName, value);
    IMutableProperty mutableProperty = property.getMutable();
    mutableProperty.setBooleanValue(true);
    resource.setProperty(property);
    You know something about setting the project id???
    Regards Theresa

  • Grouping the same Resources Names and summarizing % Allocation from multiple files in one master file

    Hello,
    We are reviewing resource % allocation from multiple project files at once in a 'master' project file (via the Insert -> Project function). Each resource has the same name in each of the respective 'sub-files', and so we created a group in the master
    to group by name.
    When we apply the group to the resource usage view, the hours summarize correctly for 'Work', but when switching to % allocation to make things easier, the 'Summary' line doesn't sum the individual lines below it:
    url: goo.gl/r6daeI (I can't paste a link in this message right now)
    Does anyone have a solution for this nesting?
    Thanks!

    VSAT Ryan,
    I don't have Project open at the moment but a couple of thoughts come to mind. First of all it sounds like you are creating a dynamic master without a resource pool. In that configuration, your resources will show separately for each subproject. If you instead
    create a static master (i.e. uncheck the Link to Project option in the lower right corner of the Insert Project window when you build the master), identical resources in each subproject will automatically be combined into a single resource in the new master.
    Then you won't need to use grouping to see the data you want. Another advantage of creating a static master is that it will not be prone to file corruption like a dynamic master. The disadvantage of a static master is that it is a snapshot in time of the subprojects
    and there will be no dynamic interaction between the static master and the subproject files. You will need to build a new static master each time you want to update the combined data for all subprojects. This however is a pretty easy process and you can record
    a macro while doing it the first time such that it be even easier thereafter.
    Another approach is to create a resource pool file. That consolidates all resources into a single resource only file and should also eliminate the need to use grouping to get the data you want. And with a resource pool, you won't necessarily need to create
    a master since the pool file will contain the resource data you want. Use of a resource pool is however also a linked structure like a dynamic master and is therefore also prone to file corruption.
    Hope this helps
    John

Maybe you are looking for

  • URGENT : How to retrieve Last Accessed Timestamp for all Users in GRC

    Dear Experts, Please help me with this urgent request. Appreciate your help in advance. My client is trying to understand the usage of the GRC application and would like to know information regarding the Last Accesse Time for all users who have logge

  • Some songs from my iTunes library do not show in my Finder music folder

    Some songs from my iTunes library do not show in my Finder music folder. For example one of the three CD's form a triple album do not show in Finder. And therefore they do not get saved when I back up my Mac either. Any ideas?

  • Hi, I need help in refunding

    I have been charged for $114 for 2 games which is not even on my iPhone, I m really stress out, I am contacting the customer services but no use please help me

  • Hotspot not working...

    This is truly as basic as it gets; yet I cannot figure out for the life of me why the hotspots I have assigned are not functioning. Additionally, the alt text shows the name of the file instead of what I entered ("home"). The images are contained in

  • Acquisition Postings at Cutover not showing up in FI

    Hi, I am trying to investigate why acquisition posting at time of Cutover are not showing up in FI as a posting. I have tested a new acquisition for the asset, and the acquisition is successfully posted, so I know that the account determinations are