{"id":1372,"date":"2025-04-10T11:28:23","date_gmt":"2025-04-10T11:28:23","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=1372"},"modified":"2025-04-28T06:33:30","modified_gmt":"2025-04-28T06:33:30","slug":"hmi430-700-digital-inputs","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/","title":{"rendered":"HMI430\/700: Digital inputs"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"318\" src=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg\" alt=\"\" class=\"wp-image-1373\" srcset=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg 400w, https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections-300x239.jpg 300w, https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections-64x51.jpg 64w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<p>To use a bidirectional digital I\/O point as an input you must make sure that the corresponding output is OFF. That is the case when the controller is first powered up, so all I\/O points are inputs on power up.<\/p>\n\n\n\n<p>In the picture A is a simple switch connected to input 2. When the switch closes, it connects input 2 to circuit common, turning the input on.<\/p>\n\n\n\n<p>B is the output of an NPN style sensor connected to input 7. The sensor would also require a positive supply voltage to power it and this can be sourced from the &#8220;V+&#8221; terminal. See the manufacturer&#8217;s data for connection\/operating voltage details of the sensor you are using. The terminal on the sensor labeled with a minus sign above will be the manufacturer&#8217;s designated negative or common terminal, and the &#8220;O&#8221; terminal will be the designated output terminal of the sensor. When the sensors NPN output transistor turns on, the input is activated.<\/p>\n\n\n\n<p>As an input, an HMI430 digital I\/O pin responds to a connection to 0V. If the input pin is connected to 0V, it is interpreted as being ON, and when read by your program will give a True value. For example, the instructions<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><br> Input 5<br> GoIfT SomeWhere<br>  <\/pre>\n\n\n\n<p>will transfer program control to the line labelled&nbsp;<code>\"SomeWhere\" <\/code>if the pin for input 5 is connected to 0V either through a piece of wire, a switch or an NPN sensor.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">So how close to 0V must it be?<\/h6>\n\n\n\n<p>That&#8217;s a good question, glad you asked! The input circuits have a certain &#8220;threshold voltage&#8221;. Due to chip variations this is a somewhat rubbery number. The\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-technical-specification\/\">specification page<\/a>\u00a0defines &#8220;Digital input low&#8221; and &#8220;Digital input high&#8221; voltages. To guarantee the input is seen to be ON it must be below the former, to be seen as high it must be higher than the latter. The range in between is a &#8220;no man&#8217;s land&#8221; where we can&#8217;t be sure what will happen.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Input current<\/h6>\n\n\n\n<p>When connected to 0V (i.e. ON) the inputs will drive (source) a small amount of current through the external circuit. This current is listed in the specification as Digital input current. This current is important because it contributes to\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/danger-low-voltage\/\">contact wetting<\/a>.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Input debounce<\/h6>\n\n\n\n<p>One of the things we do in SPLat controllers is automatically debounce the inputs. Here&#8217;s how this works:<\/p>\n\n\n\n<p>When a metal contact, like a relay, closes, it may (usually&nbsp;<em>will<\/em>) bounce open and closed a few times. This could cause havoc in your program, if it&#8217;s not allowed for. So what we do is that in the majority of input instructions we filter out the bounce with some special code in the firmware. The result is to eliminate the levels of contact bounce that would normally occur in regular relays and switches.<\/p>\n\n\n\n<p>A side effect is that input changes are delayed for 10-20mS.<\/p>\n\n\n\n<p>If you don&#8217;t want the debounce, there are some input instructions that do not debounce the inputs, such as\u00a0<code><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/index-register-instructions\/inputf-ii\/\">InputF<\/a> <\/code>and\u00a0<code><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/input-and-output-instructions-digital\/inputfm-ii\/\">InputFM<\/a><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use a bidirectional digital I\/O point as an input you must make sure that the corresponding output is OFF. That is the case when&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1369,"menu_order":1,"template":"","class_list":["post-1372","spl_knowledgebase","type-spl_knowledgebase","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HMI430\/700: Digital inputs - SPLat Controls<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HMI430\/700: Digital inputs - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"To use a bidirectional digital I\/O point as an input you must make sure that the corresponding output is OFF. That is the case when...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-28T06:33:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"318\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/\",\"name\":\"HMI430\/700: Digital inputs - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg\",\"datePublished\":\"2025-04-10T11:28:23+00:00\",\"dateModified\":\"2025-04-28T06:33:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg\",\"width\":400,\"height\":318},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Product documentation\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Product documentation: Controllers\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"HMI430\/700 product documentation\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"HMI430\/700: External inputs and outputs\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"HMI430\/700: Digital inputs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"name\":\"SPLat Controls\",\"description\":\"OEM Embedded Machine Controllers\",\"publisher\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization\",\"name\":\"SPLat Controls\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"contentUrl\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg\",\"caption\":\"SPLat Controls\"},\"image\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HMI430\/700: Digital inputs - SPLat Controls","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"HMI430\/700: Digital inputs - SPLat Controls","og_description":"To use a bidirectional digital I\/O point as an input you must make sure that the corresponding output is OFF. That is the case when...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/","og_site_name":"SPLat Controls","article_modified_time":"2025-04-28T06:33:30+00:00","og_image":[{"width":400,"height":318,"url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/","name":"HMI430\/700: Digital inputs - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage"},"thumbnailUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg","datePublished":"2025-04-10T11:28:23+00:00","dateModified":"2025-04-28T06:33:30+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#primaryimage","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2025\/04\/hmi430_input_connections.jpg","width":400,"height":318},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/hmi430-700-digital-inputs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Product documentation","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/"},{"@type":"ListItem","position":3,"name":"Product documentation: Controllers","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/"},{"@type":"ListItem","position":4,"name":"HMI430\/700 product documentation","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/"},{"@type":"ListItem","position":5,"name":"HMI430\/700: External inputs and outputs","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-controllers\/hmi430-700-product-documentation\/hmi430-700-external-inputs-and-outputs\/"},{"@type":"ListItem","position":6,"name":"HMI430\/700: Digital inputs"}]},{"@type":"WebSite","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","name":"SPLat Controls","description":"OEM Embedded Machine Controllers","publisher":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#organization","name":"SPLat Controls","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","contentUrl":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-content\/uploads\/2024\/10\/logo.svg","caption":"SPLat Controls"},"image":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/1372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase"}],"about":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/types\/spl_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/users\/1"}],"up":[{"embeddable":true,"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/spl_knowledgebase\/1369"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=1372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}