From your first post we see that in
object Index="1A00", SubIndex="01" the defaultValue field has been edited as "0x0008000000016000" but defaultValue field is not written to CDC file.
Instead the defaultValue field should be left as "0x0" and the actualValue field is to be added as shown below,
object Index="1A00", SubIndex="01" actualValue="0x0008000000016000" defaultValue="0x0"
The defaultValue in the XDD reflects - as the name indicates - the value that is contained in the object when it is not configured. If you want to set the mapping by default, you'd need to enter the value in the object dictionary of your device. Then your XDD would be correct.
Otherwise, you have to tell the MN to write the mapping via SDO. openCONFIGURATOR will write the setting only to the CDC if the actualValue (i.e. the value requested by you) differs from the defaultValue.
You can either do as Kalycito suggested (writing your value into an actualValue entry in the file) or you could enter the actualValue also in the openCONFIGURATOR GUI in the Value field of the mapping subobject (or via the PDO mapping table).
Best regards,
Wolfgang
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you so much for your help. Kalycito it worked just like you said. I had not noticed the ActualValue field. And thank you Wolfgang for your reply, it gave me a deeper understanding of the mapping between MN and CN.
Best regards,
Sixten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Last edit: Sixten Isaksson 2013-05-07
Xdd file..
Last edit: Sixten Isaksson 2013-05-07
openConfigurator project..
Hello Sixten,
From your first post we see that in
object Index="1A00", SubIndex="01" the defaultValue field has been edited as "0x0008000000016000" but defaultValue field is not written to CDC file.
Instead the defaultValue field should be left as "0x0" and the actualValue field is to be added as shown below,
object Index="1A00", SubIndex="01" actualValue="0x0008000000016000" defaultValue="0x0"
Then the output would resemble the below,
/ / / / Configuration data for CN-1
1F22 01 00000084
0000000C
1600 00 00000001 00
1A00 00 00000001 00
1006 00 00000004 0000c350
1020 01 00000004 000029df
1020 02 00000004 02651150
1C0B 03 00000004 00000050
1C0D 03 00000004 00000050
1C14 00 00000004 02faf080
1600 01 00000008 0008000000016200
1A00 01 00000008 0008000000016000
1600 00 00000001 01
1A00 00 00000001 01
//// NodeId Reassignment
1F81 01 00000004 80000007
The same correction is to be done for object Index="1600" SubIndex="01" also.
Hope this solves your problem.
Regards,
Powerlink-team
Kalycito
Hi Sixten,
The defaultValue in the XDD reflects - as the name indicates - the value that is contained in the object when it is not configured. If you want to set the mapping by default, you'd need to enter the value in the object dictionary of your device. Then your XDD would be correct.
Otherwise, you have to tell the MN to write the mapping via SDO. openCONFIGURATOR will write the setting only to the CDC if the actualValue (i.e. the value requested by you) differs from the defaultValue.
You can either do as Kalycito suggested (writing your value into an actualValue entry in the file) or you could enter the actualValue also in the openCONFIGURATOR GUI in the Value field of the mapping subobject (or via the PDO mapping table).
Best regards,
Wolfgang
Thank you so much for your help. Kalycito it worked just like you said. I had not noticed the ActualValue field. And thank you Wolfgang for your reply, it gave me a deeper understanding of the mapping between MN and CN.
Best regards,
Sixten