{"id":1114,"date":"2010-01-20T17:56:13","date_gmt":"2010-01-20T23:56:13","guid":{"rendered":"http:\/\/integratedpro.com\/content\/?p=1114"},"modified":"2010-01-20T18:37:15","modified_gmt":"2010-01-21T00:37:15","slug":"labview-and-rs-485-communication-to-a-lathe-tachometer","status":"publish","type":"post","link":"https:\/\/integratedpro.com\/content\/?p=1114","title":{"rendered":"NI LabVIEW Gets RPM Data From Lathe Tachometer Using Panel Meter Communication Library"},"content":{"rendered":"<p>The <a href=\"http:\/\/integratedpro.com\/content\/?page_id=914\">Panel Meter Communication Library for LabVIEW<\/a> from Integrated Pro can be used in many RS-485 communication scenarios common in <a href=\"http:\/\/integratedpro.com\/content\/?p=73\">process control<\/a>, but it can also be useful in a laboratory test scenario for incorporating RS-485 devices into more traditional testing applications.<\/p>\n<p>An example is the use of the <a href=\"http:\/\/integratedpro.com\/content\/?page_id=914\">Panel Meter Communication Library for LabVIEW<\/a> to communicate with a lathe tachometer.<br \/>\n<!--more--><br \/>\n<div style=\"width: 360px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" alt=\"CUB5 counter used as tachometer communicates with NI LabVIEW via RS-485 communication\" src=\"images\/lathe350x286.png\" title=\"lathe with tachometer mounted\" width=\"350\" height=\"286\" \/><p class=\"wp-caption-text\">CUB5 counter used as tachometer communicates with NI LabVIEW via RS-485 communication<\/p><\/div> One of our educational customers has a small lathe in their lab that is used for various experiments involving manufacturing and vibration.  The lab manager wanted to add a tachometer readout to the lathe that could interface with the NI LabVIEW\u2122 data acquisition used in the lab, but did not want the tachometer to always require the use of a computer. A <a href=\"http:\/\/www.redlion.net\/panelmeters\/CUB5redirect.html\">Red Lion\u00ae Controls CUB5 series counter<\/a> turned out to be an ideal solution.<br \/>\n<div style=\"width: 360px\" class=\"wp-caption alignleft\"><img loading=\"lazy\" decoding=\"async\" alt=\"Waterfall plot showing lathe spindle vibration magnitude data vs frequency at different lathe speeds (RPM)\" src=\"images\/waterfall350x301.png\" title=\"Lathe vibration waterfall plot\" width=\"350\" height=\"301\" \/><p class=\"wp-caption-text\">Waterfall plot showing lathe spindle vibration magnitude data vs frequency at different lathe speeds (RPM)<\/p><\/div><br \/>\nThe CUB5 counter has a rate function that is used with a TTL (0-5V) signal from an optical sensor on the lathe spindle to produce a tachometer readout in RPM.<\/p>\n<p>The panel meter is located on the lathe with an RS-485 cable that can be plugged into the computer so that spindle speed can be read into LabVIEW programs.<\/p>\n<p>Incorporating speed data allows vibration data in the frequency domain to be correlated to the running speed of the machine.  This can be especially useful for diagnosing vibration issues, or in this case for teaching about vibration testing.  <\/p>\n<p>The lab can conduct experiments illustrating run-up or run-down testing, order analysis, cutting chatter vibration or other vibrations that can occur during machining operations.  An interesting three-dimensional plot of vibration data is called a waterfall plot, showing how spindle resonances vary with RPM, cutter feed rate and other variables.<\/p>\n<p>Learn more:<\/p>\n<ul>\n<li><a href=\"http:\/\/integratedpro.com\/content\/?p=697\">RS-485 Networking Tips<\/a><\/li>\n<li>Read more about the <a href=\"http:\/\/integratedpro.com\/content\/?page_id=914\">Panel Meter Communication Library for LabVIEW<\/a><\/li>\n<li>Learn about Integrated Pro&#8217;s <a href=\"http:\/\/integratedpro.com\/content\/?page_id=106\">testing services<\/a> or <a href=\"http:\/\/integratedpro.com\/content\/?page_id=735\">NI LabVIEW integration services<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Panel Meter Communication Library for LabVIEW from Integrated Pro can be used in many RS-485 communication scenarios common in process control, but it can also be useful in a laboratory test scenario for incorporating RS-485 devices into more traditional testing applications. An example is the use of the Panel Meter Communication Library for LabVIEW [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-1114","post","type-post","status-publish","format-standard","hentry","category-labview-libraries-blog-product-blogs"],"_links":{"self":[{"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/1114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1114"}],"version-history":[{"count":16,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/1114\/revisions"}],"predecessor-version":[{"id":1116,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=\/wp\/v2\/posts\/1114\/revisions\/1116"}],"wp:attachment":[{"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/integratedpro.com\/content\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}