Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO via EtherCAT with Beckhoff ELM3146

Hello all,

 

I am trying to use for the first time  cRIO-9064 as a EtherCAT master and Beckhoff coupler EK1100 as a slave with installed modules ELM3146, EL3218,EL2809 and EL1809. The modules are shown in the project tree the same way as I am used to with EtherCAT chassi NI9144 and C cards. All I/O avalibale are shown as shared variable under each module. I can place them in the block diagram and create appropriate code to manipulate  the data. Everything works fine except the module ELM3146. There is variable named " PAI Samples 1 Channel 1-Samples__ARRAY [0]" which should return the latest measured value from channel 1. But it always return 0. There is no error, the card is in operetional mode, scan engine is in active mode , but I still cant get any relevant output from this variable. I have checked it in TwinCAT Xae Shell which is the Beckhoff  development SW and there I can see under the same variable the correct value.Does anyone have experience with Beckhoff modules and can help me?

 

JanBarton_0-1719514072536.png

JanBarton_1-1719514270850.png

 

 

Thank you,

 

Jan

 

0 Kudos
Message 1 of 1
(302 Views)