Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9145 with NI 9476 + 9375 in TwinCAT

Hi all,

 

I need to control a NI 9145 EtherCAT chassis using TwinCAT as the Master. In short,

This setup [1] works:

Slot 1: NI 9476 (wired only 1x DO to a simple Solenoid Valve, VSup & COM to 24V supply)
Slot 2-8: Empty

 

This setup [2] doesn't work:

Slot 1: NI 9476 (same as setup [1])
Slot 2: NI 9375 (no wire at all, only slotted in)

Slot 3-8: Empty

 

I generated the TwinCAT ESI files using the NI Slave XML Creator, from NI Industrial Comm for EtherCAT 2023.

Based on those 2 setup case, I don't think there is any problem on the electrical side.

 

On setup [2], everything looks fine for me on the TwinCAT side, NI 9145 state can change to "OP" and I can set the Online value, but there is no change on the actual DO output. 9476 = sourcing output, so I'm expecting a 24V, which is present if I use setup [1]).

I can read the CoE online data, and can also use the AoE - Online tab to read them manually.

Gabriel92_0-1789282786825.png

 

Tried:

1. Wire the NI 9375 (setup [2]). The Digital Input worked just fine, but the Output didn't work (both NI 9375 & 9476).

2. Swap the modules with a spare, didn't work.

3. Swap slot 1 & 2 (with their respective ESI files), didn't work.

 

Anyone encounter similar problem, or have any experience using NI 9476 + 9375 together in NI 9145 chassis (maybe using cRIO as the master)?

Attached is the ESI file i used for 9476 + 9375 (zipped, since xml is not supported here).

 

Thank you.

Gabriel.

0 Kudos
Message 1 of 1
(356 Views)