Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting of CoE parameters of EtherCAT chassis NI-9145

Solved!
Go to solution

Hello ,

 

I am working on a project that uses an EtherCAT master Beckhoff EK1100 with several Beckhoff terminals and an NI-9145 slave chassis. The main program runs in TwinCAT and communicates via ADS with a LabVIEW API.
I added the NI-9145 chassis to the TwinCAT project and configured its modules. I am using the NI-9203 and NI-9205. I imported the ESI file downloaded from the NI website, and the TwinCAT project works well so far.

However, I need to change the input ranges and input configurations (RSE/Diff) of the NI-9205. I don’t know how to do this, because I can’t see the relevant parameters in the CoE table.
Does anyone know how to configure these settings?

0 Kudos
Message 1 of 2
(232 Views)
Solution
Accepted by JanBarton

From Using the NI 9144 and NI 9145 EtherCAT Slave Chassis with 3rd Party EtherCAT Master Tools

The XML Tool only generates the PDOs (channels) for each Object, not the SDOs (configuration). These SDOs need to be sent by the 3rd party master to the device. When using TwinCAT, this can be done in the "Startup" section of the Chassis. You can add SDO write steps there. To change configuration of a module, you need to write the index of the desired module to 0x5FFF (Value = 1..8), then write to the config-address found in the Vendor Extensions Documentation (e.g. 0x2002). After that set the 0x5FFF back to 0 and continue for the next module.

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
Message 2 of 2
(204 Views)