{"id":7331,"date":"2018-06-06T09:00:44","date_gmt":"2018-06-06T07:00:44","guid":{"rendered":"https:\/\/aceautomation.eu\/motion-in-for-high-speed-counting-of-digital-input-signals\/"},"modified":"2018-07-27T14:04:27","modified_gmt":"2018-07-27T12:04:27","slug":"motion-in-for-high-speed-counting-of-digital-input-signals","status":"publish","type":"page","link":"https:\/\/aceautomation.eu\/de\/motion-in-for-high-speed-counting-of-digital-input-signals\/","title":{"rendered":"Motion in for high speed counting of digital input signals"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243;][et_pb_row][et_pb_column type=&#8221;3_4&#8243;][et_pb_text _builder_version=&#8221;3.5.1&#8243;]<\/p>\n<h2>Motion in for high speed counting of digital input signals<\/h2>\n<div>Motion in is used for high speed counting of digital input signals. It\u2019s a background task. Once a Motion In Block is executed, it\u2019ll continue counting in the background until another Motion In block set to Stop is executed.<\/div>\n<div><\/div>\n<div>To enable Motion In, Press the \u2018Setup Hardware\u2019 button. It\u2019s on the upper left of vBuilder. Your \u2018Setup Hardware\u2019 button may look a little different from the one on the left, depending on whether you\u2019ve setup your hardware and on the specific hardware you\u2019re using.<\/div>\n<div><\/div>\n<div>The last page of the Setup Hardware lets you set Motion In (High-Speed Counter) options. There are 2 Motion In types: Pulsed Input and Quadrature Input. Shown below is the setup pages for Motion In type.<\/div>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243;][et_pb_image _builder_version=&#8221;3.9&#8243; src=&#8221;https:\/\/aceautomation.eu\/wp-content\/uploads\/setup_30901.png&#8221; \/][\/et_pb_column][\/et_pb_row][et_pb_row][et_pb_column type=&#8221;4_4&#8243;][et_pb_image _builder_version=&#8221;3.9&#8243; src=&#8221;https:\/\/aceautomation.eu\/wp-content\/uploads\/setup_highspeed_counter_quadrature-v21.png&#8221; \/][et_pb_text _builder_version=&#8221;3.9&#8243;]<\/p>\n<h3>Pulsed Input : Typically is associated with frequency, counting or totalization applications<\/h3>\n<p>Pulsed Input requires 1 Digital Input. \u00a0After configuring in Setup Hardware, placing a Motion In Block brings up the following Dialog.<\/p>\n<h3><img decoding=\"async\" class=\"alignnone size-full wp-image-17778\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-In-Pulse-up-Dialog-v21.png\" alt=\"\" width=\"600\" height=\"356\" srcset=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-In-Pulse-up-Dialog-v21.png 600w, https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-In-Pulse-up-Dialog-v21-300x178.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/h3>\n<p>The Tag you select for \u2018Count Value\u2019 will store the Motion In\u2019s count value. Count Value must be of the I32 Data Type. The Motion In block can be set to count up or down. A count is triggered by either a rising (0 to 1) value, or a falling (1 to 0) value. The \u2018counter Input Bit\u2019 that causes the count is the Digital Input that you selected in \u2018Setup Hardware\u2019.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17783\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-in-Pulse-stop-dialog-v21.png\" alt=\"\" width=\"600\" height=\"358\" srcset=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-in-Pulse-stop-dialog-v21.png 600w, https:\/\/aceautomation.eu\/wp-content\/uploads\/Motion-in-Pulse-stop-dialog-v21-300x179.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<hr \/>\n<h3>Quadrature Input (A and B signals) : Provides the interface to incremental encoders for obtaining mechanical position data<\/h3>\n<p>Quadrature Inputs are used with incremental rotary encoders. \u00a0Check out <a href=\"http:\/\/en.wikipedia.org\/wiki\/Rotary_encoder#Incremental_rotary_encoder\" target=\"_blank\" rel=\"noopener\">Wikipedia\u2019s article on them<\/a>\u00a0to learn more. \u00a0They require 2 Digital Inputs. \u00a0Be sure not to use the same Digital Input for both Quadrature Inputs.<\/p>\n<p>Start Counter :<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17793\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v21.png\" alt=\"\" width=\"599\" height=\"434\" srcset=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v21.png 599w, https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v21-300x217.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>Start Counter requires an I32 Tag to store the count in.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17798\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-count1.png\" alt=\"\" width=\"730\" height=\"126\" srcset=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-count1.png 730w, https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-count1-300x52.png 300w, https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-count1-600x104.png 600w\" sizes=\"(max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>Stop Counter :<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-17803\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v31.png\" alt=\"\" width=\"602\" height=\"440\" srcset=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v31.png 602w, https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v31-300x219.png 300w, https:\/\/aceautomation.eu\/wp-content\/uploads\/quadrature-stop-dialog-v31-600x439.png 600w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3029\" src=\"https:\/\/aceautomation.eu\/wp-content\/uploads\/Terminal_Board_TB06CLV-35_24-_VAC-DC-15.png\" alt=\"\" width=\"741\" height=\"122\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p><div class=\"et_pb_row et_pb_row_0 et_pb_row_empty\">\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t<\/div> Motion in for high speed counting of digital input signals Motion in is used for high speed counting of digital input signals. It\u2019s a background task. Once a Motion In Block is executed, it\u2019ll continue counting in the background until another Motion In block set to Stop is executed. To enable Motion In, Press [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-7331","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/comments?post=7331"}],"version-history":[{"count":4,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7331\/revisions"}],"predecessor-version":[{"id":17819,"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/pages\/7331\/revisions\/17819"}],"wp:attachment":[{"href":"https:\/\/aceautomation.eu\/de\/wp-json\/wp\/v2\/media?parent=7331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}