Hello,
Since my knowledge about this protocol is very limited, I am struggling to make this module to work with the B&R controller (X20 CP 0484) I have here in my workbench.
First question is related to node address and IP. During setup, I send to the module both information, IP addresses (192.168.0.10 for instance) and node ID (5 for example), similar to what I do for all other supported protocols. This works fine for all modules but with Powerlink I’m not sure. The module comes up with the last byte of the IP address set to the node ID I sent during boot up, hence 192.168.0.5. I guess this is what the documentation calls NMT_CS_BASIC_ETHERNET. Looks ok. But then there is the NMT_CS_EPL_MODE state. Is the controller responsible for switching to this mode? If so, is the IP addresses going to change to the range 192.168.100.xxx?
Important to highlight that I am not using any kind of switch (DIP1 and DIP2). All settings are done via software. So to set the node ID I am calling APPL_SetAddress(), the same way I do for Profibus DP-V1.
Second, how is the number of words, set during Anybus setup stage, influence the initialization. Powerlink (and CANopen) have a different way to set cyclic data. How the PDOs relate to the these words?
Third. Does the standard XDD file which I’ve downloaded from the website allow me to put this module into operation right way? I mean, do I need to do something else?
Sorry if these are dumb questions. I have read the Powerlink network guide but didn’t figure out the answers.
Best Regards,
Luciano.