Industrial Communications

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

read an EtherCAT device address

解決済み
解決策を見る

Some EtherCAT devices have 3 rotary switches that you can use to set the device address. How do I find out what this address is from LabVIEW? I know if you daisy chain ethercat devices then the device number that shows up in LabVIEW is the order of the network connection. I'm not asking for that. This is a fixed address assigned by using the physical switches. I'm assuming there is an ethercat spec for defining this in an SDO somewhere.



Michael Aivaliotis
VI Shots LLC
0 件の賞賛
メッセージ1/4
5,680件の閲覧回数

I believe it's the "position address" property that you can read when you wire in an EtherCAT slave vairable to a property node. I believe you can drag the variable from the project or discover programmatically

 

MarkCG_1-1580857702271.png

0 件の賞賛
メッセージ2/4
5,358件の閲覧回数

No, I'm already aware of that property. This "position address" is not the one I'm looking for. That lists the address assigned to the device by the NI ECAT driver after it scans the network, which is different. For example, if you have 3 devices daisy-chained. Then the addresses are 1,2,3 (or 0,1,2).



Michael Aivaliotis
VI Shots LLC
0 件の賞賛
メッセージ3/4
4,734件の閲覧回数
解決策
トピック作成者MichaelAivaliotisが受理

To follow-up on this. I got a response from NI support. They claim that this feature is only required by FSoE (Functional Safety Over Ethercat). Their hardware doesn't support this ETG spec so therefore they cannot read the hardware ID. It would be nice for NI to support this capability as it's becoming more popular in industrial automation.



Michael Aivaliotis
VI Shots LLC
0 件の賞賛
メッセージ4/4
4,655件の閲覧回数