diff --git a/tools/Master.cpp b/tools/Master.cpp
index 52f030147f103f2fdb9b3db6071ef04291595d18..9ad940677a0e74a346c1cd1d4064e022d64cbbd0 100644
--- a/tools/Master.cpp
+++ b/tools/Master.cpp
@@ -1563,7 +1563,7 @@ void Master::generateSlaveXml(uint16_t slavePosition)
             pdoType += "xPdo";
 
             cout
-                << "          <" << pdoType << ">" << endl
+                << "          <" << pdoType << " Sm=\"" << i << "\">" << endl
                 << "            <Index>#x"
                 << hex << setfill('0') << setw(4) << pdo.index
                 << "</Index>" << endl