Wiring a simple 24v DC light on an output terminal on a PLC
The given micrologix seems to have relay outputs, rather than sourcing outputs:

This means that in order to power your sink devices, you need to supply voltage separately to the VAC VDC Pins.
Connect the DC OUT + from the input terminal block to VAC VDC in the 15th pin of the output block.
Next, connect one terminal of the LED to the O/5 terminal and the other terminal to the DC COM on the 8th pin of the input terminal block, because they share the same common according to the terminal diagram of the L16BWA, The shading in the following terminal block illustrations indicates
which terminals are tied to which commons.This should make the output energizable through the PLC.

Please consider marking this as the answer if it helps!