Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO : Ethercat (scan engine mode) + FPGA

Hi all,

 

A few weeks ago, NI France tolds me by phone that is possible to execute in the same time the followinf mix :

- Ethercat with the scan engine

- Acquisition in a FGPA VI, and FPGA to RT with FPGA interface

 

Project :

Sans titre.png

 

I did the following :

Put my cRIO in FPGA interface

Deploy my settings (C Modules declared under FPGA Target)

Put my cRIO in Scan mode

Launch my RT VI

--> Error -61201, impossible to connect to FPGA

 

If I try to go back to FPGA Interface :

--> warning 66030 on my Ethercat variables, and stalled values

 

My question is : Is it possible, or not, to run in the same time Ethercat variables, AND FPGA interface VIs to get data from FPGA VI ?

Jesse ?

 

Thanks !

0 Kudos
Message 1 of 5
(6,343 Views)

Up,

Anybody please....

0 Kudos
Message 2 of 5
(6,317 Views)

usually, if your cRIO is expected working in FPGA mode, you don't have to put it back into scan mode.

 

EtherCAT scan is sourced from cRIO. But it requires the scan engine explicitly put in Active mode, which can be viewed in DSM or by right clicking on the RT target item in the project and selecting the Utilities->Scan Engine mode.

0 Kudos
Message 3 of 5
(6,300 Views)
Hi Sebastien,
I believe you can achieve what you are describing if you get your cRIO to work in hybrid mode. Follow the instructions from the relevant KB article on this subject.
Hope this helps,
Michael
0 Kudos
Message 4 of 5
(6,273 Views)

^^yep, you're trying to use hybrid mode. For hybrid mode the main two points are that your chassis must be deployed in FPGA mode and that the FPGA intereface reference must be open. Opening the FPGA interface reference deploys scan engine and switches it to active mode. Once you're there everything should work.

0 Kudos
Message 5 of 5
(6,223 Views)