@Kelinstein
I think I get it now, am i right (see option G attached)? Thanks!
@Kjelt
Yep, that's for encoders, you are right, a simple resistance will to the job, also the SN75ALS175 would be the perfect candidate for this... BUT, this could also works with some "custom" made +24V output from a board of my company. That's why I'm trying to be a "generic" input.
~ edited image after the post, D16 is now 1n4148 ~