Pro
12 min
Wiring 3 — Wire a Photoeye Sensor to %I0.0
wiringdigital-inputphotoeyesensor
Ready to build this?
Sign up free — no credit card required. This scenario requires the Pro plan.
Sign up to play this scenario →Already have an account? Log in
Briefing
A retro-reflective photoeye detects objects by bouncing an IR beam off a reflector. When the beam is broken (object present), the output opens. The sensor has the standard 3-wire connection: - **BN (Brown)** — +24 V supply - **BU (Blue)** — 0 V common - **BK (Black)** — digital output signal → PLC input Wire the photoeye to **%I0.0**.
Objectives
- Wire photoeye BN to +24 V supply
- Wire photoeye BU to 0 V common
- Wire photoeye BK signal to PLC %I0.0
- Wire output LED1 indicator to PLC %Q0.0
Hints
- The signal (BK) wire carries the ON/OFF state — it goes to the input card.
- Retro-reflective sensors are normally closed — they output 24 V until a part blocks the beam.
I/O Table
Inputs
EYE_SIGNALPhotoeye signal output (BK)
BOOL · %I0.0
EYE_BNPhotoeye +24 V (BN)
BOOL · %I0.1
EYE_BUPhotoeye 0 V (BU)
BOOL · %I0.2
Outputs
LED1Part-present indicator lamp
BOOL · %Q0.0
Related scenarios
Ready to build this?
Sign up free — no credit card required. This scenario requires the Pro plan.
Sign up to play this scenario →Already have an account? Log in