Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Beckhoff EtherCAT settings cRIO

Hi,

 

I'm using a cRIO RT controller and a Beckhoff EtherCAT Module (EP3184-0002). The Module I mentioned is a analog input module. I can implement it in my LabVIEW Project and read all the Values and Status.

However the module can read voltage or current. By default they are configured to voltage. How can I switch the setting to current?

 

Here you can find the Beckhoff documentation: http://download.beckhoff.com/download/document/io/ethercat-box/ep31xxen.pdf

to change the CH01 and CH02 input to 4...10mA you have to change the index F800:01 and F800:02 from 0 to 2.

 

I found a promising post in the forum but I still can't figure out how to implement it on a cRIO or what specific commands I have to send to change the setting.

http://forums.ni.com/t5/LabVIEW/beckhoff-ethercat-Are-there-NI-drivers-for-this/td-p/1191239

I attached the DLL file as .txt file you have to change the suffix to .dll.

 

Hopefully anyone has experience with configuring EtherCAT devices in LabVIEW and help me out here.

0 Kudos
Message 1 of 2
(4,595 Views)

Hi,

 

Please try Write SDO invoke method as below to change the setting.

WriteSDO.png

Refer to the Read SDO example project to draft your code:

example finder.png

You can find the NI Example finder by go to Help->Find Examples...

 

Any problems let me know.

Thanks.

 

Wendy

 

 

0 Kudos
Message 2 of 2
(4,584 Views)