Troubleshooting PLC input issues in TIA Portal

A proximity sensor’s LED is ON at the machine, but its PLC input remains FALSE when you monitor it in TIA Portal.

How would you use TIA Portal to determine whether the problem is with the hardware, hardware configuration, addressing, or program logic?