Minertia F series UGFMED-B5L

How to control this servo with arduino? It have 2 channel encoder

http://www.yaskawa.com/site/dmservo.nsf/link2/TKUR-6BPKS9/$file/KAE-C249-30B.pdf

What code I can control this servo?