industrialNETworXnetx

Thana

Thana

| 16.03.2009 | 10:57 | 4 replies

Set up EtherCAT Slave to OP Status

Hi
i'm trying to use a NXSTk50-RE as an EtherCAT-Slave. I connected the stick on a windows maschine and installed the corresponding driver and software. Then I configurate the "usb-stick" via the netXSetup programm as EtherCAT Slave.

From a second maschine I try to communicate with this slave via the EtherCAT Master Library. The Master initializes without problems and identifies one slave in the ring with the configured product-code and address.

But I'm not able to set the slave into op state.
Can you give me any hints where the problem might be?

Cheers
Thana

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 16.03.2009 | 15:44

Hi Thana,

how is the result, when you are using the TwinCAT application as master?

Thana

Thana

| 16.03.2009 | 19:50

Hi,

is there a linux version for TwinCAT?
The EML is installed on a Linux using Xenomai and RTNet.

Regards
Henning

Andreas Jacob

Andreas Jacob

Hilscher Gesellschaft fuer Systemautomation mbH

| 17.03.2009 | 06:28

Hi,

as far as I know is TwinCAT only for Windows machines available.

Thana

Thana

| 17.03.2009 | 07:26

It's a pity, as I have the EtherCAT Master Library running on a Linux.
Normally it should work like that, doesn't it?:

1. install the "usb-stick" drivers and software
2. use netX Setup Programm
3. download the EtherCAT-Slave parameters to the stick
4. make sure that these parameters are known by the master
5. communicate

**************************************************
i shortly saw an error while starting the communiation
Code => 0x800C002E
Function => pfnChannelBusState (NxChannel.cpp)

But where to find this cpp source file?

Login