The refId in in line 2 is randomly generated for every peripheral or object definition. If you start creating a new peripheral OOD by copying an existing one, please exchange this ID with a newly created, e.g. by using an online GUID generator.
The refLink in line 20 specifies what object description you want to derive from. So, if you want to derive from NxEcSlave, which makes sense for EtherCAT slaves, it is always the one from your screenshot.
Most important for new peripheral objects is line 23. This is the ID by which OES finds the correct OOD file for the device.
... View more