FS5109R with arduino

Have you tried the example servo code that comes with the Arduino IDE?

Your code just seems to command the servo to move to 180deg. If it is already at 180deg it won't do anything. How do you know your code is not working?

...R