Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Using a Light-On and Dark-On Truth Table to Check a Reversed Photoelectric Count Display | Crystal & Oscillator Handbook

On an offline industrial counting display, interrupting the beam changes the acquisition input, yet the display shows the opposite condition. Check whether the model activates on received light or reduced light, then trace inversion in the acquisition circuit and software mapping. A 16 MHz reference can affect sampling, counting and timestamps. It cannot define which optical state means “part present.” If both steady states are consistently reversed, correct the mapping before changing parts.

This example uses virtual states and a low-voltage display fixture without actuators. It connects to no conveyor, access control or safety interlock and changes no control logic. The checks apply to display acceptance, diagnostics and purchasing descriptions, without defining industrial safety signaling.

LED status, output operation and screen text each need a mapping

A through-beam photoelectric sensor separates emitter and receiver. Without a blocker the receiver usually sees light. With a blocker it receives less. For a model using Light-ON and Dark-ON definitions, Light-ON typically activates the output under specified received light. Dark-ON typically activates under specified interruption or reduction. Output activation is defined by the manufacturer and does not necessarily mean a board pin goes high or a screen should say “part present.”

Trace three conversions. Optical level determines sensor activation. The input circuit translates sensor output into a digital value. Software maps that value to text or a count. One model's LED may indicate output activation, another's stability. An instruction that “lit means present” does not transfer to a model with a different indicator, output circuit or operating mode.

Reflective geometry differs. An arriving target can increase received light, while a through-beam target commonly reduces it. Dark-ON alone does not guarantee the same response to an object. This example uses fixed through-beam simulation. Redraw both optical states and outputs for another sensing method. If light levels for the two states overlap and the output toggles while stationary, investigate optical and stability margin separately from inversion.

Verify two steady states before checking missed edges

Suppose observations are labeled clear and blocked. A simulated Dark-ON model reports 1 when the manufacturer-defined output is active and 0 otherwise. Clear yields 0 and blocked yields 1. If the display maps 1 to “empty” and 0 to “present,” both labels are reversed. Compare the mappings using unchanged input to identify the layer.

Another input circuit may record 0 when the sensor is active. If the display still maps 0 to “present,” the two inversions can appear correct. A later circuit change or polarity cleanup can reverse the text again. Retain both activation status and the digital input delivered to software.

ConditionRecord for both steady statesInsufficient substitute
Fixture opticsClear or blocked, plus sensing geometryScreen text used to infer light
Sensor configuration and activationLight-ON or Dark-ON, active or inactiveLED color alone
Acquisition inputRecorded 0 and 1 and their meaning for this revisionTreating activation as a high voltage
Display and counting semanticsPresent or empty, and event countedAn informal name that hides polarity

If steady states are correct but short passages are missed, check timing. Both problems can occur together. Verifying the steady mapping first avoids confusing entry and exit or attributing a reversed event to a slow setting.

A correct 16 MHz reference does not guarantee a two-millisecond event is observed

Suppose a simulated present state lasts 2 ms and display software reads the current state every 5 ms without hardware event retention. With reads at 0 and 5 ms, a state from 1 to 3 ms is missed. If the same length occurs from 4 to 6 ms, the read at 5 ms sees it. Sensor mode and reference frequency stay the same. Sampling phase explains the difference. This says nothing about a particular sensor's minimum response time.

Separate sensor response, circuit or firmware filtering, polling and display refresh. A display can miss a momentary state recorded by acquisition. An acquisition log does not establish immediate display. If the design must count events, verify how the approved design retains and consumes them. Use synthetic records with static, brief and longer states at different offsets and retain the first layer that diverges.

Specify more than matching package, connector and frequency

State sensor mode, output type, activation logic and indicator meaning. Verify both steady states on a replacement. For an oscillator, check whether a 16 MHz controller input requires an active source or an internal amplifier and passive crystal. For the former, Japan's Epson SG-210STF is an inquiry candidate with a published 1.2 to 75 MHz range and single-ended CMOS output. The range does not identify an exact order code or approve every supply. It identifies no part fitted in the fixture. Verify supply, thresholds, load, topology, enable and startup conditions.

Keep activation and clock acceptance separate. Use the same two offline states for each output mapping. Verify frequency, waveform and how timing is derived on the clock sheet, with sample ID, firmware, receiver node and order code. If a stable blocked state reads incorrectly, trace its meaning. If only brief states are missed, locate the first missing record.

Frequently asked questions

Does “normally open” in an old manual mean Dark-ON? Confirm output type, normal-state definition, received light and activation from the exact model and both steady-state records. The connector cannot establish them.

If the light comes on when blocked but the screen says “empty,” is the signal inverted or missed? Test both stable states long enough to be observed. A persistent reversal points to mapping. If only short transitions disappear, compare sensor, acquisition and display events.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.