You can download the ABB IRB 120 robot model with all transformations set up in Slicer from the link at the end of this post:
There is nothing specific to Slicer in this. You transform between different joint coordinate systems the same way as you do it for the robot’s path planning.