Tool Analog Input as Digital Input

Hello, everybody:

I ran out of Digital Inputs in Tool I/O connector, so I was wondering if it’s possible to use an analog one instead. Is it safe to connect a 0-24 V digital signal to a Tool Analog Input (in voltage mode)?

According to User’s Manual, voltage shouldn’t be a problem since max. is 26 V:

Is it all I need to look? Or is there anything else I am missing?