DSP con CompactRIO e protocollo EtherCAT

Buongiorno a tutti!
Sto sviluppando un programma di acquisizione e elaborazione in FPGA.
Il software utilizzato (LabVIEW, modulo FPGA, Modulo RT, NI-RIO, NI-IndCom) è tutto aggiornato al 2014.
Prima di scrivere nel forum ho consultato lo stesso sia italiano che inglese e ho letto i due manuali "Getting started with Labview FPGA" (con annessi video) e "High Performance FPGA Developer's Guide". Non ho trovato però una soluzione.
L'hardware che al momento sto utilizzando è composta da:
1) Uno chassis 9104, con un modulo di acquisizione 9220;
2) Un controller 9022 collegato a 1);
3) Uno slave 9144 collegato via EtherCAT al controller 9022, con modulo di I/O digitale 9401.
4) Dispongo anche di un controller 9014 collegato a un secondo chassis 9104.
Attualmente sto facendo girare un primo VI di acquisizione e elaborazione nello chassis 9104. Vorrei che i tre segnali di uscita elaborati da questo VI arrivassero in ingresso al 9144, che in seguito a una successiva elaborazione inviasse dei segnali di uscita tramite 9401.
Se non ho capito male, per poter utilizzare il protocollo di comunicazione etherCAT devo utilizzare le user-defined variable e passare necessariamente attraverso il controller real-time.
Preventivamente ho misurato il tempo impiegato per l'esecuzione di ogni programma, riscontrando che:
a) Il VI di prima acquisizione e elaborazione ha un periodo di 12,5us.
b) Il VI sullo slave ha un periodo di 164us.
Le domende che porgo sono:
Come mai non posso fissare il tempo di Scan Period a 164us sincronizzando con quest'ultimo tutti i VI? Provando infatti mi dice che il tempo è troppo breve. Il tempo continua a risultare breve fino a 264us, mandando comunque in timeout il programma (anche fino a 300us). Per l'applicazione che sto sviluppando mi è necessario restare in prossimità dei 164us. Utilizzando questa configurazione hardware è possibile? Come mai lo scan period risulta "troppo piccolo" anche se inserisco un VI semplicissimo della durata di qualche tick?
Ho pensato quindi a una seconda configurazione hardware che prevede la comunicazione diretta di due chassis, tramite moduli I/O digitali. Potrebbe andare bene anche questa?
Allegati:
cRIO1.png ‏14 KB
controller-bridged1.png ‏4 KB
slave-nofifo.png ‏5 KB

Capisco! Non credo esista un modo diretto per misurare unicamente il tempo di scan delle variabili. Quello che mi viene in mente è fare in modo analogo a come avevi proceduto in precedenza: dato che lo scan period (tempo scan variabili + tempo esecuzione dell'applicazione) è noto (misurabile con Get Scan Engine Period.vi o impostabile a progetto in my computer -> properties), proverei a diminuirlo gradualmente, vedendo qual è un limite approssimativo per il quale la applicazione inizia a crashare e sottrarre da questo tempo limite il tempo di esecuzione dell'applicazione... Nel tuo caso, se hai individuato 300us come tempo limite, immagino che lo scan delle variabili impieghi circa 300us-164us = 146us
In bocca al lupo!

Similar Messages

  • Problems con pixel DSP

    Hi!... i have a big problem. I created a Interactive DVD and i burned, but when i watch in my computer and other computers, the menu´s and bottons are seen terrible. They are created in photoshop 720 x 534 in 300 resolution. The menu´s looks no good. the images looks very soft and "pixelado". Why this happening?? Help me plis =(
    thks

    hola de nuevo videogpp,
    como todos tus menus son staticos, eso me ayuda mucho! primero, debes de tener una imagen de fondo(background) y una imagen de fondo del recubrimiento(overlay). la imagen primaria (de fondo) debe ser 96 dpi y la profundidad de color puede ser el recubrimiento 16bit. la imagnen de recubriemnto tambien puede ser the 96 dpi, pero la profundidad de color debe ser 4bit, con el el rojo, azul, negro y blanco fijado como los colores del "primarious" (por supuesto pueden ser diferentes, pero estos nomas son ejemplos).
    lo que llo ago es tener 2 diversos archivos, 1 para el fondo y para el fondo del recubrimiento.
    .tiff esta bien, pero tambien se puede utilizar el .psd si usted quiere
    como una nota final, si estas siguiendo las reglas antedichas, yo no ve porque estas teniendo problemas de pixelation.
    donde en mexico estas videogpp?
    Mikey M

  • What are the pros and cons re using an intel iMac vs MacPro with LP8?

    I'm considering getting a new intel Mac in the near future (presuming a new MacPro will be released in the near future - maybe at the same time as Leopard). I compose largely for film and television and I am composing largely using a combination of loops, software instruments and some recorded live performance. I usually sync to a low res quicktime movie.
    I do like the idea of a simple and uncluttered work environment with an iMac, added to which there's also a degree of portability with the iMac however the MacPro is obviously more powerful. I'm not sure how much the difference in power between the two computers would affect me.
    Would I be compromising myself much if I went for the iMac over the MacPro? What are the pros and cons of the iMac vs the MacPro in relation to Logic Pro 8?

    In the world large-scale music composition using samples, loops, etc (especially for film) your two biggest needs are RAM and HD speed/access. The imac looses big time in this department (as a single computer at least) as it can only be upgraded to 4gb ram, and only holds one internal HD, and also lacks any PCI expansion for DSP cards, audio interfaces, etc.
    In generalyou want to separate your data vs applications as much as possible, to ensure both can be accessed quickly and easily by the computer. So its best to have your system software / applications on one internal HD, and your logic data (samples, audio recordings, loops) on another drive(s). You can do this with an iMac via USB, FW800, & FW400, but depending on how big your projects get, how many USB and FW drives / interfaces you use, and how much data you need to stream, you could overload the buss on the imac (not sure if it has multiple busses or not). Plus speed wise, internal SATA are much faster than external drives, and the mac pro with its 4 internal slots seems like a great choice for speed and flexibility.
    However, if you dont find yourself doing large scale projects, then you might be better off going with an imac. We just purchased one for my father and it runs great! It blows the socks off of my Dual 2.5 G5 tower in terms of CPU speed! If you run into problems running things from the imac, you could always add a mac-mini down the road to stream sample libs, as a Logic node, etc, which seems to be a much more cost effective solution.
    I hope this was helpful, but I probably just made the decision harder . In fact, if I were to start over today, I dont know if I'd go with a MacPro, or an iMac / mac mini combination. they both seem to have their advantages / disadvantages.
    Best of luck!

  • TES6.1 Load Balancing and DSP

    Haven't gotten much response to my other posts, hoping I get some about this.
    For those using load balancing, do you name your DSP the same on both servers?  I was trying to see if there were pros and cons to naming them different or the same (or if you can't name them the same).
    We have them named different, one is TesDevCM1 and the other is TesDevCM2.  This makes it easier to troubleshoot and know where someone is connected BUT I realize that this is not good when you are trying to truly utilize loadbalancing for example for Transporter and TESCmmandline as this forces you to bound these apps to a specific CM.
    Just wanted to see if there were opinions out there. (Made my post shorter, hopefully someone will respond ^_^)

    Hi Jesse,
    Actually it works after you asked me to go through the web cache documentation which i posted question on how to do the load balancing and failover. Thanks for you help. I just want to double confirm whether i did correctly. Since i have problem in passing the session variables. Which the server switch between the two servers for load balacing, it can't bring the session variables from server 1 to server 2. It will give error on the pages. I want to ask whether anyway to bring the session variables from server1 to server2??
    Besides, can you please tell me if i just wanted to have failover but not load balancing, can this be done???
    Thanks
    Regards,
    Ming Jade

  • PXI as EtherCAT Slave?

    There is substantial information concerning operating a PXI system as an EtherCAT master, and there is documentation about how to operate a CompactRIO 9144 chassis as an EtherCAT slave with a PXI or third party master, however there is no information as to whether or not you can run a PXI system as an EtherCAT slave.
    I have a distributed real-time system in which I have one entity which controls the system and acts as an EtherCAT master.  I would like to use a PXI system for data acquisition and processing however, it would need to work as a slave.  Is this possible?  EtherCAT slave devices typically require more than a standard NIC, and that gives me pause as to whether a PXI system can operate in this mode.
    I like the idea of the RIO 9144, however I don't think I can achieve all of my acquisition requirements within the capabilities of this expansion chassis.
    Any suggestions would be much appreciated.
    Chandler

    DirkW,
    Thank you for your prompt replies to both this question, and the one I posed over on the real-time board: "High Speed CANbus on a 9144 Slave."  As I am sure you concluded, the two questions are related.
    I have a heterogenous distributed real time architecture with a variety of different real time systems performing various tasks (computation, actuation, data acquisition, etc.).  Currently, the system incorporates a combination of deterministic shared memory and UDP for communications.  For cost, scalability, and simplicity reasons we are reconfiguring the architecture to commonize on EtherCAT.
    Relative to data acquisition requirements, I have a variety of configurations that are used based on overall system configuration.  The lightest weight versions have a very light I/O load, on the order of 5 analog inputs, 10 digital inputs, and 1 CANbus broadcasting 10 or so messages.  The heaviest configuration has significantly higher channel count:  ~10 analog in, ~10 digital in, ~20 analog out, ~10 freq/PWM inputs, ~5 freq/PWM out, and 2 CANbus.  Overall system communications rate, again, depends on system configuration and target performance.  This could be in the range of 500Hz or considerably higher. 
    Again considering the 9144 slave chassis, I have a feeling that the lightweight I/O configuration should not be a problem (assuming CANbus will work vis-a-vis my other posting).  The more complex configuration may be a bit much for the slave chassis to handle relying on just the FPGA.  Knowing now that a PXI can only be operated as a master, it is not impossible to consider reconfiguring the system topology to operate in this manner.  However, there are still compelling reasons as to why we would want to maintain our current master. 
    If it is capable, my preference would be to go with a 9144.  However, I would also like to "commonize" to a single data acquisition platform and not split between cRIO for lightweight applications, and PXI for heavier burden ones.  I suppose this raises the fundamental question, currently is the 9144 the only device in the NI lineup that can operate as an EtherCAT slave?
    Again, everyone's expertise is much appreciated,
    Chandler

  • Qualche ITALIANO mi aiuta con PROTEUS X ?

    salve,
    mi chiamo Matteo e scrivo dall'Italia...
    chiarisco subito che non sono ne un musicista ne un'esperto di computer...ma il mio problema è questo:
    - io uso emagic - Logic 5.5 - con scheda audio EMU 0404 Proteus X
    Se io voglio registrare tutto quello che ascolto...come devo fare?
    Selezionando gli ingressi in Logic riesco a registrare solo un canale per volta (es. PCI card In L).
    Sapreste indicarmi come devo impostare il PatchMix DSP per registrare contemporaneamente tutto quello che ascolto?
    Lo so che non sono stato molto chiaro...ma so anche che un esperto riuscir* a capire.
    p.s. è possibile trovare le istruzioni in italiano?
    grazie
    ciao a tutti

    Capisco! Non credo esista un modo diretto per misurare unicamente il tempo di scan delle variabili. Quello che mi viene in mente è fare in modo analogo a come avevi proceduto in precedenza: dato che lo scan period (tempo scan variabili + tempo esecuzione dell'applicazione) è noto (misurabile con Get Scan Engine Period.vi o impostabile a progetto in my computer -> properties), proverei a diminuirlo gradualmente, vedendo qual è un limite approssimativo per il quale la applicazione inizia a crashare e sottrarre da questo tempo limite il tempo di esecuzione dell'applicazione... Nel tuo caso, se hai individuato 300us come tempo limite, immagino che lo scan delle variabili impieghi circa 300us-164us = 146us
    In bocca al lupo!

  • Liga Fieldpoint con ejecutable

    Muy buen dia a todos.
    Tengo una duda, ya que en una empresa instalaron un FieldPoint ligado a un SCADA, el cual se dejo instalado pero ha tenido algunas fallas por lo que estoy modificando el codigo fuente para crear otro ejecutable. La duda que me surgio es si desinstalo esta aplicacion vieja y pongo la nueva se perderian las ligas con los FieldPoints? o ya automaticamente se ligan nuevamente. Tengo un poco de temor ya que si desintalo la version vieja y pongo la mia y no queda bien me meteria en un grave problema, todo esto surgio ya que yo no desarrolle el SCADA por lo que no conozco los puntos finos de este. Tambien es posible tener dos o mas instalaciones en una misma maquina sin que exista algun conflicto con el FieldPoint? Cabe recalcar que no tyendria las dos aplicaciones corriendo al mismo tiempo, si no que seria solo una.
    Otra pregunta seria la de cual es mejor equipo los FieldPoints o los CompacRio???
    Les mando un cordial saludo.

    Hola Mr. Bungle!
    Imagino que las ligas a los field points se refiere a la configuración de los canales, escalas y demás, de ser así toda la configuración para los field points se guarda en un archivo .iak que puedes obtener desde MAX. Incluso es posible guardar toda la configuración que ya tengas para poder implementarla en otra PC sin problema. La forma más sencilla de hacerlo es navegando a Tools > Fieldpoint > Save, aquí puedes guardar el archivo de configuración. De cualquier forma te anexo un par de ligas con información:
    http://digital.ni.com/public.nsf/allkb/2EF82CA062692F4886257325008067BC?OpenDocument
    http://digital.ni.com/public.nsf/allkb/B0567407397065F586256BE30063F302?OpenDocument
    Respecto a las dos instalaciones, solo puedes tener un archivo de configuración por PC, así mismo, solo puede haber un ejecutable corriendo en el Field Point cuando lo tienes en modo de tiempo real. Puedes guardar tus dos proyectos de LabVIEW en la misma PC sin problema pero al momento de ejecutar uno u otro, se haríauna sustitución en el Field Point como tal.
    En el caso del mejor equipo, definitivamente el CompactRio es mejor, te da mayor flexibilidad y cuenta con la capacidad de programación de FPGA. Puedes encontrar más información al respecto en:
    http://zone.ni.com/devzone/cda/tut/p/id/2856
    http://forums.ni.com/ni/board/message?board.id=280&message.id=5355&requireLogin=False
    http://zone.ni.com/devzone/cda/tut/p/id/5423
    Que tengas un excelente día!

  • Problema para comunicar labview 2011 con un compact RIO 9074

    Hola migos, el problema es que al abrir el MAX y busco  en (Remote SYstems) no cargan los compacts conectados a la red. Alguien sabe si es un driver lo que hace falta 
    ya instale todos los drivers relacionados con los compcts rio que vienen en la pagina 

    Hola Lalo;
    Para poder usar un compactRIO en tu máquina, debe contar con lo siguiente
    NI LabVIEW
    NI LabVIEW RT
    NI LabVIEW FPGA
    NI RIO (debe ser instalado después de LabVIEW)
    Se recomienda que la PC tenga una IP fija y se encuentre en la misma subred que el equipo
    Firewall de windows debe permitir la conexión (puedes apagarlo por un par de minutos para hacer la prueba)
    Si cumples con todo lo anterior puedes agregar el cRIO de forma manual conociendo su IP; si no lo conoces, te recomiendo lo resetees según estas instrucciones
    Exito en tu aplicación

  • Crear PWM con CompaqDaq o CompaqRIO (Scan interface mode solamente)

    Que tal amigos.. Estoy realizando un proyecto en el cual es necesario enviar ya sea digital o analógica una señal PWM pero a altas velocidades.Requiero que la frecuencia máxima sea de 200kHz. Lo he intentado de diferentes maneras pero lo mas veloz que he obtenido son 500Hz. Tambien dispongo de un CompaqRIO 9074 y si pudieran ayudarme de igual forma con este chasis estaría de lujo, solo que también lo he intentado pero no me da los resultados deseados y mas aun porque no estoy familiarizado con la programación en FPGA solo con scan interface mode.
    ¡Resuelto!
    Ir a solución.

    Que tal Reno32
    Trabajando en Scan Interface:
    Dentro de los ejemplos de LabVIEW, viene un proyecto que podemos utilizar como referencia para trabajar con salidas PWM en Scan Interface. Dentro de LabVIEW, seleccionamios Help >> Find Examples y en la pestaña de Search buscamos por la palabra 'PWM'. Hay un proyecto en particular que me gustaría que revisara, el cual se llama "NI 94xx - Pulse Width Modulation - Scan Mode.lvproj". Particularmente este ejemplo lo podemos utilizar para trabajar con un chasis cRIO 9074 y cualquier modulo NI 94xx. Dentro de este proyecto, las salidas digitales de un modulo NI 9401 se configuran como PWM. De hecho si damos click derecho sobre el modulo con el que estemos trabajando, y vamos a Properties, podemos seleccionar que queremos trabajar la salida digital como PWM, y podemos seleccionar la frecuencia a la que deseamos generala. 
    La máxima frecuencia que podemos alcanzar, trabajando en Scan Mode es de hasta 20 kHz. Dentro de este proyecto, viene el código utilizado para trabajar con estas salidas PWM, que quizá nos pueda servir de referencia. 
    Trabajando en FPGA:
    Ahora bien, si deseamos alcanzar velocidades más altas, esto lo podemos lograr bajandonos a configurar el FPGA de nuestro cRIO. De igual forma, dentro de Help >> Find Examples, buscando en la pestaña Search por 'PWM', hay un proyecto titulado "PWM Generation.lvproj" el cual nos puede servir de referencia para configurar con salidas PWM configuradas directamente desde el FPGA. De igual forma, le comparto el 'Getting Started with CompactRIO and LabVIEW', en donde viene una sección de 'Creating a PWM Loop', en donde vienen los pasos sobre como crear una salida PWM configurarada directamente en el FPGA. 
    Getting Started with CompactRIO and LabVIEW
    http://www.ni.com/pdf/manuals/372596b.pdf
    Espero que esta información le resulte útil. Puede explorar las dos opciones y decidir cual forma de trabajar se adecúa mejor a su aplicación. 
    Un saludo !
    Omar R.
    Applications Engineer

  • Puedo hacer un sistema SCADA con dsc y las tarjetas DAQ

    BUEN DIA, PRETENDO REALIZAR UN SISTEMA SCADA CON AYUDA DE TOOLKIT DSC Y USAR LOS MODULOS DAQ (NI 9174, NI9403,NI9263...), EN LUGAR DE UN PLC.
    ¿SE PUEDE REALIZAR ESTE CONTROL SCADA CON ESTOS ELEMENTOS?
    ¿QUE TIPO DE PROTOCOLO DE COMUNICACION ES MAS RECOMENDABLE PARA ESTE CASO?
    ESPERO SU ORINETACION
    SALUDOS

    Que tal noecito.
    Gracias por usar los foros de National Instruments. Claro que es posible realizar un sistema SCADA con los módulos que mencionas sin embargo debes tomar en cuenta algo, el cDAQ 9174 trabaja por medio de USB y es dependiente de una PC a diferencia de un PLC que puede trabajar en modo StandAlone, en caso de que requieras eso te recomiendo usar la plataforma RIO la cual es una plataforma que puede trabajar en modo StandAlone para aplicaciones de control, la plataforma DAQ está más enfocada para sistemas de adquisición de datos ya que el control es por Software a diferencia del RIO que el control es por Hardware y por lo tanto otorgando mayor determinismo y confiabilidad.
    Si gustas puedo comunicarme contigo para discutir más acerca de estas 2 plataformas y recomendarte alguna de ellas dependiendo de tu proyecto o aplicación. Por lo mientras te dejo esta información de ambas plataformas:
    RIO
    http://www.ni.com/compactrio/esa/
    DAQ
    http://www.ni.com/data-acquisition/esa/
    ** Respecto a los módulos que comentas (9103, 9263) son compatibles con ambas plataformas.
    Saludos y que tengas un excelente día!
    Luis C
    National Instruments
    Ingeniería de Aplicaciones

  • Pci-7342, onboard dsp and pid

    Hi
    I am currently working on a system where we use the PWM capability of the pci-7342 board to set the speed of a motor.
    In theory it is fairly simple, I sample the encoder position every n ms, compare the speed to the setpoint value, and feeds it to a PID controller (home-made in labview). This gives me a PWM duty cycle, and it works ok.
    The problem is that, using labview, I use a timed loop and it is hooked to the standard 1 kHz timer. That gives me a minimum loop time of 1 ms, and I would like it to be faster.
    The pci-7342 board has several axes, which may be programmed and tuned using the onboard dsp. For the axes the are posibilities of doing profiles and controling the movement using a PID controler. I would like to know if it is possible to use these controller to output something else than the signals for the servo/stepper channels.
    It seems that I could build my own pid-loop using register and basic arithmetics. Does anyone have a link to an example program for an onboard pid controller?
    Also, I have been unable to find the clockfrequency of the internal dsp. Is it fixed or does it just run as fast as possible?
    Links, comments or code samples would be appriciated.
    Regards
    Morten

    Morten,
    it looks like you are a little bit on the wrong track here. The 73xx boards run the trajectory generation and the PID loops on the DSP. This ensures deterministic and stable system behavior, as the DSP has direct access to the IOs.
    In your case you are using the motion board as a simple I/O-board, bypassing all the onboard intelligence. This is not the intended use case for these boards and the system behavior will be everything but fast and deterministic, as all the I/O operations need to run through a low priority process on the onboard CPU. With a timed loop running at 1 kHz you will get a jitter that is in the millisecond range, destroying the deterministic behavior that is required for a stable PID loop.
    I understand that you are doing this because you need to generate a PWM signal instead of a +/-10 V DC signal, but this approach won't work.
    Unfortunately onboard programming will not result in better behavior, as onboard programs run also in a low priority thread on the onboard CPU without direct access to the IOs. In terms of jitter onboard programs don't perform better than host PC applications and loop rates may be even slower.
    So here are some alternative approaches:
    For the case that you are working with motors from PI (Physikinstrumente), there is a drive available from PI, that converts the +/- 10 V signals of a NI motion control board to PWM signals required by PI motors. Here is the link.
    Use an NI multifiunction board, like a PCI-6221 instead of a motion control board. Even if you use this board under Windows, you will get much better I/O performance, as you can access the I/Os directly through the NI-DAQmx driver interface. Still this is not a really good option, as Windows introduces a significant amount of jitter to your control loop, which will make your system unreliable.
    Same idea as in 2.) but run the system in a real time environment (LabVIEW RT). This will greatly improve the performance (timed loop with µs-resolution timer or hardware timing) and system reliability (jitter in the lower µs range). Additionally you could use the NI softmotion development module, that provides all the functionality of a motion board (e. g. trajectory generation, advanced PID algorithms, spline engine,...) in a convenient LabVIEW library.
    As a very high performance option you could consider using an NI CompactRIO system, that allows you to run the motion control on a combination of a LV RT controller and an FPGA, both programmed with LabVIEW.
    I hope this helps,
    Jochen Klier
    National Instruments

  • CompactRio 9074 y ni 9234

    Hola, estoy instalando compactRio 9074, pero al momento que estoy solicitando el ni 9234 no me aparece como device de opcion en la pantalla de MAX,
    no se si se tiene que instalar con anterioridad o solo se inserta en el compactRio, al igual intente mandarlo llamar desde labview pero me marca NO DEVICE
    Solved!
    Go to Solution.

    Hola
    Las tarjetas de la serie C conectadas al cRIO, como la 9234,  no aparecerán debajo de Devices and Interfaces de MAX. Siempre y cuando puedas ver el cRIO en MAX con la leyenda "Connected and Running" no tendrás ningun problema
    PAra poder tener acceso a ellas debe de ser mediante el Distributed System Manager o desde LabVIEW.
    Desde LV deberás crear un nuevo proyecto, y después agregar el target . (click derecho al proyecto>>New>>Target &Device. mDesde ahí podrás seleccionar el 9074, tranajar con el ScanInterface y esto de manera automática descubrirá los módulos que estén conectados al chassis.. aquí un ejemplo
    Para hacerlo desde DSM (distributed system manager) sigue este tutorial.
    Espero esta info te sea útil
    Saludos

  • EPOS2 y una CRIO con un modulo CAN. ¿Necesito la libreria CANopen?

    Quiero mover un motor Maxon con una controladora EPOS2 y una CRIO con un modulo CAN. ¿Necesito la libreria CANopen?

    Hola,
    Lo más sencillo es que utilices el módulo de CANopen para CompactRIO:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209998
    Si optas por utilizar los módulos de CAN estándar 985x, vas a tener que programar parte de la capa CANopen porque la librería “CANopen LabVIEW Library”:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/202614
    …no funciona en equipos VxWorks. Como indica esta tabla:
    http://zone.ni.com/devzone/cda/tut/p/id/5859
    ...la implementación de CANopen en los módulos 985x es limitada y es a través del ejemplo:
    http://zone.ni.com/devzone/cda/epd/p/id/5474
    http://zone.ni.com/devzone/cda/epd/p/id/6093
    Un saludo.

  • Softmotion using CANOpen/EtherCAT with 3rd party drives

    Hi,
    We have a LabVIEW application on Windows that is controlling 3 Bosch rexroth servodrives using CANOpen.
    (Using Industrial Communications for CANOpen toolkit) and PCI-8531.
    The application is controlling the 3 drives individually (no motion control / NC)
    We would like to upgrade this application so that we can do motion control (combine the individual drives to make NC-movements).
    I found this link : softmotion using CANOpen : http://sine.ni.com/nips/cds/view/p/lang/nl/nid/201873
    However this is only with certain 3rd party servodrives. Is there a solution for other CiA DSP 402 compliant servodrives?
    Is my only alternative to switch to EtherCAT servodrives and use the NI SoftMotion for EtherCAT?
    Will this work with any 3rd party ethercat drive (in this case Bosch Rexroth Indradrive Cs)?
    Thanks!
     

    Hi Thomas,
    1) The NI Softmotion Controller for CANopen is no longer a sold product and therefore would not be a viable upgrade path.
    However, there are Third Party Add-Ons (developed by partners) that are written for CiA402 compliant devices.
    The first example I found was the following one:
    http://sine.ni.com/nips/cds/view/p/lang/nl/nid/210877
    If you want to verify if this 3rd party toolkit also support your CANOpen Modules, then you should verify this with the 3rd party.
    2) If you are planning to use the NI SoftMotion Module, then the following table can be useful in determining which HW/SW combinations will work (eg. EtherCAT):
    http://digital.ni.com/public.nsf/allkb/5F019205291BF02686257A07007D1B06?OpenDocument
    Aside from which interface you are going to use (eg. EtherCAT, ...) it would be also important to keep in mind the NI Hardware set-up you are going to use (eg. cRIO).
    Using the NI SoftMotion Module for specific Interfaces imposes some requirements for the type of hardware that can/should be used:
    http://zone.ni.com/reference/en-XX/help/371093T-01/mclvhowto/smrequirements/
    http://zone.ni.com/reference/en-XX/help/371093T-01/mclvhowto/motionprojectresourcesecatdrive/
    One of the first requirements for this would be that you have to use a Real-Time Controller.
    One solution to accomplish this could be to use a cRIO with an EtherCAT port and connect an etherCAT based drive to it (eg. AKD drive).

  • Power off before swapping EtherCAT hardware?

    NI has provided the ScanEngine API to allows user's the ability to discover C-series and EtherCAT chassis dynamically and I really like it. This allows me to "hot swap" hardware and my software can just adapt dynamically based on the discovered modules. Is turning off my etherCAT chassis prior to doing this recommended anywhere?
    In otherwords, I like the idea of putting the ScanEngine in Configuration Mode then pulling out C-series modules and replacing them with new ones without powering off the chassis. Could this potentially harm my hardware? Does NI strictly advise against this?
    Thanks,
    Craig

    Hi Craig,
    NI CompactRIO is a small rugged industrial control and acquisition system, and all the NI C-Series modules used in this system are hot-swappable industrial I/O modules. That’s being said, when using a CompactRIO (no matter it’s a cRIO controller or an expansion backplane like NI 9144 EtherCAT slave chassis) with modules in the slots, it is NOT necessary to power down the device.  CompactRIO was designed with this feature in mind.
    A slight deference a CompactRIO RT Controller (e.g. NI 9074) and NI 9144 is that, when you swap (even an identical) C-Series IO module on NI 9144, the slave device will report an emergency data to your host system, which might disturb your system if it’s running. The emergency will disappear when you manually or programmatically switch Scan Engine to Active Mode again. But anyhow, this is all for software side; it will not harm your hardware.
    Hope it answers your question!
    Josiane Zhou
    NI-IndComm for EtherCAT

Maybe you are looking for