The example in the DXL library is just that: an example. You have to adapt it to your particular actuator by reading carefully the information Robotis gives you - see the previous link I gave you.
The example in the DXL library is just that: an example. You have to adapt it to your particular actuator by reading carefully the information Robotis gives you - see the previous link I gave you.