Hello, Following setup: Ethercat Bus Coupler EK1100 -> ProfiNet Master EL6631-> ProfiNet Slave Hilscher CIFX 50 RE 1250.100 PCI card
According to this link http://lists.etherlab.org/pipermail/etherlab-users/2012/001862.html i was able to extract configuration of the ProfiNet Master configured in TwinCat. Adapting the ~/etherlab-hg/example/user/main.c program with the xml extracted data i was able to get the ProfiNet Master up and running. I don't understand how to add the CIFX slave to my program, though. In TwinCat i added the slave box via a gsdml file configured it and extracted the data to xml an put the related data in my /ec_pdo_entry_info_t/ array as described in the link/documentation. But i can't get master<-> slave communicating; the 'PN Err' LED on the EL6631 terminal won't even be activated (neither red blinking, nor green) . What have i missed? Is it by chance the entry in line 339-344 of the xml file? Attached you'll find the adapted main.c, and the exported xml files. Best regards Carlos Herkt
ÿþ<