{"id":20783,"date":"2026-11-04T10:14:35","date_gmt":"2026-11-04T02:14:35","guid":{"rendered":"https:\/\/www.wehopower.com\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/"},"modified":"2026-11-04T10:14:35","modified_gmt":"2026-11-04T02:14:35","slug":"sensor-plc-missed-counts-pulse-width-filter-scan","status":"publish","type":"news","link":"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/","title":{"rendered":"Sensor Detects but PLC Misses Counts: Compare Pulse Width, Filter and Sampling"},"content":{"rendered":"<div class=\"weho-geo-content\">\n<p><strong>Respuesta directa:<\/strong> If a sensor\u2019s output changes but a PLC misses counts, compare the shortest actual ON and OFF pulse widths with the sensor response, input filter, module capture and data-transfer requirements. A visible indicator or a sensor frequency rating alone does not prove that each transition reaches the program. Test the complete chain at the highest production speed.<\/p>\n<figure><a href=\"https:\/\/www.wehopower.com\/es\/product\/ndr-dinrail-240w-ac-to-dc-single-output-switching-power-supply\/\" aria-label=\"View WEHO NDR-240-24 product details\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/product-scene-scene-2026-10-28-geo14-v1-29d8aba52d24.png\" width=\"1672\" height=\"941\" alt=\"Sensor Detects but PLC Misses Counts: Compare Pulse Width, Filter and Sampling  title=\" sensor detects but plc misses counts: compare pulse filter and sampling title =\"\"><\/a><figcaption>AI-assisted application illustration of a WEHO NDR-240-24 in a conveyor-control cabinet; not a customer installation photo. The scene does not establish sensor response time, PLC pulse capture or counting performance. <a href=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/product-scene-scene-2026-10-28-geo14-v1-29d8aba52d24.png\">View full-size illustration<\/a>.<\/figcaption><\/figure>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Tabla de contenido<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Alternar tabla de contenidos\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Palanca<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Start_with_the_pulse_at_the_input\" >Start with the pulse at the input<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Worked_example_translate_target_geometry_into_time\" >Worked example: translate target geometry into time<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Follow_the_event_through_each_stage\" >Follow the event through each stage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#What_can_improve_capture\" >What can improve capture?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Document_the_power_and_measurement_context\" >Document the power and measurement context<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Frequently_asked_questions\" >Frequently asked questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Is_an_input_pulse_longer_than_one_PLC_scan_always_sufficient\" >Is an input pulse longer than one PLC scan always sufficient?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.wehopower.com\/es\/news\/sensor-plc-missed-counts-pulse-width-filter-scan\/#Does_a_higher_sensor_frequency_rating_guarantee_no_missed_counts\" >Does a higher sensor frequency rating guarantee no missed counts?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Start_with_the_pulse_at_the_input\"><\/span>Start with the pulse at the input<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The sensor, target geometry, mounting and speed determine a real pulse. Measure the signal at the PLC input using equipment suitable for the voltage and pulse width. Check both states: a fast ON pulse can be filtered out, while a short OFF gap can merge two objects into one continuous input. The mechanical target\u2019s effective detection length can differ from its physical length, particularly for reflective or irregular objects.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Worked_example_translate_target_geometry_into_time\"><\/span>Worked example: translate target geometry into time<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Assume a steady line speed of 1 m\/s (1,000 mm\/s), an effective detection length of 4 mm and a gap of 6 mm. These are hypothetical values, not a test or a WEHO specification.<\/p>\n<div class=\"table-scroll\">\n<table>\n<thead>\n<tr>\n<th>Art\u00edculo<\/th>\n<th>Calculation<\/th>\n<th>Result<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>ON width<\/td>\n<td>4 mm \u00f7 1,000 mm\/s<\/td>\n<td>4 ms<\/td>\n<\/tr>\n<tr>\n<td>OFF width<\/td>\n<td>6 mm \u00f7 1,000 mm\/s<\/td>\n<td>6 ms<\/td>\n<\/tr>\n<tr>\n<td>Period and rate<\/td>\n<td>10 mm \u00f7 1,000 mm\/s<\/td>\n<td>10 ms; 100 cycles\/s<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>If an example input requires at least 5 ms in each state under its specified conditions, the 4 ms ON pulse fails that screen even though the 6 ms OFF period passes. A capture input specified at 1 ms minimum could pass this one width comparison, but sensor response, asynchronous transfer, count capacity and program logic still need review. Do not interpret 100 cycles\/s as a guaranteed allowable sensor rating.<\/p>\n<figure><a href=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/technical-3.svg\"><picture><source media=\"(max-width: 560px)\" srcset=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/technical-mobile-3.svg\"><img decoding=\"async\" src=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/technical-3.svg\" width=\"1200\" height=\"550\" alt=\"Sensor Detects but PLC Misses Counts: Compare Pulse Width, Filter and Sampling  title=\" sensor detects but plc misses counts: compare pulse filter and sampling title=\"\"><\/picture><\/a><figcaption>Engineering checks use illustrative values only. <a href=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/technical-3.svg\">View full-size diagram<\/a>.<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Follow_the_event_through_each_stage\"><\/span>Follow the event through each stage<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li><strong>Sensor:<\/strong> check the actual model\u2019s response and output characteristics, target, background, mounting and worst-case supply; verify the real waveform.<\/li>\n<li><strong>Electrical interface:<\/strong> check output type, PLC input thresholds, loading, shared reference and cable conditions. Cable capacitance and the output drive can alter signal edges, so measure the waveform at the receiving thresholds rather than assuming an ideal square wave. A correct input type and clean levels are prerequisites for a timing analysis.<\/li>\n<li><strong>Input filter:<\/strong> find the configured ON and OFF filter behavior and its documented minimum pulse requirement. Increasing filtering can suppress noise and also reject legitimate short pulses.<\/li>\n<li><strong>Capture and transfer:<\/strong> determine whether the module samples cyclically, latches events, or provides a dedicated counter, and how results reach the controller. A short pulse can fall between asynchronous samples.<\/li>\n<li><strong>Program:<\/strong> check edge detection, task execution, counter limits and resets. Compare the captured total with a trusted independent count at full speed.<\/li>\n<\/ol>\n<p>Rockwell\u2019s <a href=\"https:\/\/www.rockwellautomation.com\/en-pr\/docs\/factorytalk-design-workbench\/1-01-00\/ftdw-help-ditamap\/i-o-condifurations\/embedded-i-o\/m850-48-point-i-o-parameters.html\" target=\"_blank\" rel=\"noopener\">M850 input documentation<\/a> describes fast latching on that controller; its <a href=\"https:\/\/literature.rockwellautomation.com\/idc\/groups\/literature\/documents\/um\/1769-um006_-en-p.pdf\" target=\"_blank\" rel=\"noopener\">1769 high-speed counter manual<\/a> documents filters for that module. These features and settings do not automatically apply to another controller.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"What_can_improve_capture\"><\/span>What can improve capture?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Depending on the equipment, options include changing target geometry or speed, using an appropriately specified faster sensor, adjusting an approved filter, using a hardware latch or a suitable high-speed counter, or revising the acquisition architecture. Select the remedy only after the input signal and the module\u2019s guaranteed behavior are known. Excessively shortening a filter can introduce false counts from electrical noise.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Document_the_power_and_measurement_context\"><\/span>Document the power and measurement context<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The pictured <a href=\"https:\/\/www.wehopower.com\/es\/product\/ndr-dinrail-240w-ac-to-dc-single-output-switching-power-supply\/\">WEHO NDR DIN-rail supply<\/a> can be reviewed as a cabinet power component. It is not a sensor, PLC or pulse-capture device; the photo does not establish counting performance. Specify the actual sensor and controller separately and check their documents before committing to the design.<\/p>\n<figure><a href=\"https:\/\/www.wehopower.com\/es\/product\/ndr-dinrail-240w-ac-to-dc-single-output-switching-power-supply\/\"><img decoding=\"async\" src=\"https:\/\/www.wehopower.com\/wp-content\/uploads\/2026\/11\/product-original-2.jpg\" alt=\"Sensor Detects but PLC Misses Counts: Compare Pulse Width, Filter and Sampling  title=\" width=\"1000\" height=\"1000\" sensor detects but plc misses counts: compare pulse filter and sampling title=\"\"><\/a><figcaption>Original WEHO NDR-240-24 product photograph. It does not establish sensor or PLC compatibility.<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Frequently_asked_questions\"><\/span>Frequently asked questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Is_an_input_pulse_longer_than_one_PLC_scan_always_sufficient\"><\/span>Is an input pulse longer than one PLC scan always sufficient?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>No universal one-scan rule covers every architecture. Module filters, asynchronous input updates, task timing and guaranteed capture rules differ. Use the specific device documentation and verify the whole chain.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Does_a_higher_sensor_frequency_rating_guarantee_no_missed_counts\"><\/span>Does a higher sensor frequency rating guarantee no missed counts?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>No. The rated switching-frequency test conditions may not match the target geometry or duty cycle, and the receiving input and program may still miss transitions.<\/p>\n<p class=\"article-cta\">Send WEHO your cabinet supply requirements and provide the sensor and PLC model numbers, target geometry, line speed, measured shortest pulses and input configuration for a documented component review. <a href=\"https:\/\/www.wehopower.com\/es\/contact\/\">Contacto WEHO<\/a>.<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Find why a PLC misses sensor counts by checking actual ON and OFF pulse width, input filters, sampling and capture hardware.<\/p>","protected":false},"author":2,"featured_media":20757,"parent":0,"menu_order":36,"comment_status":"","ping_status":"","template":"","format":"standard","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"news_category":[284],"class_list":["post-20783","news","type-news","status-publish","format-standard","has-post-thumbnail","hentry","news_category-product-articles","entry"],"acf":[],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/news\/20783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/news"}],"about":[{"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/types\/news"}],"author":[{"embeddable":true,"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/comments?post=20783"}],"version-history":[{"count":0,"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/news\/20783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/media\/20757"}],"wp:attachment":[{"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/media?parent=20783"}],"wp:term":[{"taxonomy":"news_category","embeddable":true,"href":"https:\/\/www.wehopower.com\/es\/wp-json\/wp\/v2\/news_category?post=20783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}