Program IRC5 to S4

I have a program from an IRC5 controller that I need to run in a S4 controller.

What is the best way, the best tools to get in into the S4 controller.