[etherlab-users] Ethercat/ProfiNet - add correct slave configuration to program

Richard Hacker ha at igh.de
Wed Sep 10 09:16:52 CEST 2014


I don't see you using pn_config_master_0xf800 et al. anywhere in your 
proggie! Besides you're missing CoE 0x8002.

Mit freundlichem Gruß

Richard Hacker

-- 
------------------------------------------------------------------------

Richard Hacker M.Sc.
richard.hacker at igh.de
Tel.: +49 201 / 36014-16

Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Heinz-Bäcker-Str. 34
D-45356 Essen

Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com

------------------------------------------------------------------------

Am 2014-09-09 13:33, schrieb Carlos Herkt:
> 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
>
>
>
>
>
>
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>



More information about the Etherlab-users mailing list