-
Notifications
You must be signed in to change notification settings - Fork 162
Description
I have some RPDOs that I want configured to start/default to the disabled state. This would involve setting bit 31 of subindex 01 for the RPDO communications OD entry.
0x1404,1 COB-ID = 0x200 + $NODEID
Using the editor changed this to 0x80000200 + $NODEID hoping that the default configuration would have the associated RPDO to be disabled. My application code would later clear bit 31 to enable the RPDO.
After making this edit I was able to save the change, save the device xml file but on attempting to reopen the device xml file I receive an error...
Error parsing node id 0x3+0x80000200 nodes, System.OverflowException: Value was either too large or too small for a UInt16.
at System.Convert.ToUInt16(String value, Int32 fromBase)
at libEDSsharp.EDSsharp.GetNodeID(String input) in c:\Users\jal\Downloads\libedssharp-master\libedssharp-master\libEDSsharp\eds.cs:line 1433
Since COB-ID is UNSIGNED32 I presume that the editor is checking for overflow of the lower 16 bits of the value.
How can I create RPDO/TPDOs which are disabled initially?
Thanks
Jim