tool/SdoCommand.cpp
branchstable-1.4
changeset 1686 e206f4485f60
parent 1184 75cd6681eb08
child 1334 da3d22a27500
equal deleted inserted replaced
1685:399ef727bf62 1686:e206f4485f60
    68     {}
    68     {}
    69 };
    69 };
    70 
    70 
    71 /*****************************************************************************/
    71 /*****************************************************************************/
    72 
    72 
    73 /** Sdo abort messages.
    73 /** SDO abort messages.
    74  *
    74  *
    75  * The "Abort Sdo transfer request" supplies an abort code, which can be
    75  * The "Abort SDO transfer request" supplies an abort code, which can be
    76  * translated to clear text. This table does the mapping of the codes and
    76  * translated to clear text. This table does the mapping of the codes and
    77  * messages.
    77  * messages.
    78  */
    78  */
    79 const SdoCommand::AbortMessage SdoCommand::abortMessages[] = {
    79 const SdoCommand::AbortMessage SdoCommand::abortMessages[] = {
    80     {0x05030000, "Toggle bit not changed"},
    80     {0x05030000, "Toggle bit not changed"},
    81     {0x05040000, "Sdo protocol timeout"},
    81     {0x05040000, "SDO protocol timeout"},
    82     {0x05040001, "Client/Server command specifier not valid or unknown"},
    82     {0x05040001, "Client/Server command specifier not valid or unknown"},
    83     {0x05040005, "Out of memory"},
    83     {0x05040005, "Out of memory"},
    84     {0x06010000, "Unsupported access to an object"},
    84     {0x06010000, "Unsupported access to an object"},
    85     {0x06010001, "Attempt to read a write-only object"},
    85     {0x06010001, "Attempt to read a write-only object"},
    86     {0x06010002, "Attempt to write a read-only object"},
    86     {0x06010002, "Attempt to write a read-only object"},
    87     {0x06020000, "This object does not exist in the object directory"},
    87     {0x06020000, "This object does not exist in the object directory"},
    88     {0x06040041, "The object cannot be mapped into the Pdo"},
    88     {0x06040041, "The object cannot be mapped into the PDO"},
    89     {0x06040042, "The number and length of the objects to be mapped would"
    89     {0x06040042, "The number and length of the objects to be mapped would"
    90      " exceed the Pdo length"},
    90      " exceed the PDO length"},
    91     {0x06040043, "General parameter incompatibility reason"},
    91     {0x06040043, "General parameter incompatibility reason"},
    92     {0x06040047, "Gerneral internal incompatibility in device"},
    92     {0x06040047, "Gerneral internal incompatibility in device"},
    93     {0x06060000, "Access failure due to a hardware error"},
    93     {0x06060000, "Access failure due to a hardware error"},
    94     {0x06070010, "Data type does not match, length of service parameter does"
    94     {0x06070010, "Data type does not match, length of service parameter does"
    95      " not match"},
    95      " not match"},