How to check 1s signal

First, learn how to use the inductive sensor.

If you have difficulties, read the "How to use this forum" post and post a proper question.