The 1746-HSCE is... tricky to set up. Start by getting out a user manual and reading about its various functional modes (Range, Rate, and Sequencer).
Do you have a quadrature encoder with two channels, or just a single-channel pulse indicator ?
The module is very good at firing its onboard outputs when a specific count is reached. It's less good as a "position input".