Running a Fischertechnik Encodermotor on Arduino

I'm attaching the datasheet and pics.

2018-05-24-23.15.jpg

153422-Encodermotor9V.pdf (410 KB)

2018-05-24-23.1we5.jpg