Figure out precisely which model of MicroLogix 1400 controller you have, because the part number describes which voltage and mix of I/O the controller has onboard.
Print out the
1766-IN001 installation instructions document, Pages *0, *1, and **.
Pay careful attention to the color coding and groups shown in those wiring diagrams and called out in the terminal grouping tables.
The MicroLogix 1400 has multiple Common terminals to allow you to isolate groups of input and output circuits from one another. Sometimes that's for circuit speed reasons (like for the embedded high-speed inputs), or for voltage mixes (like with relay outputs) or to allow some outputs to be supplied by power from an e-stop relay, and some to be supplied from non-interrupted power.
In general, MicroLogix 1400 DC inputs are "sinking" types: you connect DC Common (0V DC) to the appropriate COMx terminal, then use a sensor or switch to apply +*4V DC to the desired Input terminal.