https://library.e.abb.com/public/001222bf28b320c7c1257b6a00407e1a/2TLC172001M0209_D.pdf
That will give you all the info you need on the connection and cable. You will need a specific cable. That tells you nothing about any access restrictions placed on the program though, so you may have to get in touch with the company. Keep in mind that this can void their warranty, and it may actually be a warranty issue they will come and fix for free for you.
I agree, this needs to be a sensor (better yet two sensors in case one fails) instead of a timer.
That being said, it may be a mechanical issue with a break that needs to be looked into, and you could be band-aiding the problem.
I have never programmed one of these, but I had a boss that ordered one from a vendor instead of the manufacturer and would NOT believe me that the safety program was burned into the chip on the PLC from the factory and never touched by human hands once approved. He kept insisting that I could just load the program onto it.
Finally it took the OEM telling him this directly and that he bypassed those protections they would never touch that machine again and would not honor the warranty.
Fried a few of these because the other techs didn't believe you can not jumper out these inputs due to the frequency modulations in the rest of the system.
Anyway, good luck to you on this one!