Planetary gearmotor am-2971 with Encoder.

Hey teams!
I have a problem with the encoder. We don’t know how to connect it and even to program it. I don’t know if you can help me with this information.
Thank you very much.

Go to the andymark.com website.

Type am-2971 into the search box.

Click on PG71 Planetary Gearbox with RS775 Motor and Encoder (am-2971)

Scroll down to where it says This gearmotor uses a Hall-Effect Encoder on the back, am-2816a

…and click on the am-2816a link.

Click on the tab that says How To / Pictures