{"id":378,"date":"2014-09-08T15:19:11","date_gmt":"2014-09-08T15:19:11","guid":{"rendered":"http:\/\/kitt\/knowledgebase\/?p=114"},"modified":"2024-05-13T13:18:49","modified_gmt":"2024-05-13T13:18:49","slug":"setting-up-season-to-read-continuous-serial-output","status":"publish","type":"post","link":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/?p=378","title":{"rendered":"Setting up Season to Read Continuous Serial Output from a Scale Indicator"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Indicators can usually be set up to output the weight it is reading to one of the COM ports. This is called Continuous Serial Output (or Continuous String Output).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For Season to be able to read the weight from an indicator, the indicator must,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Be set up for Continuous Serial\/String output.<\/li>\n\n\n\n<li>The output string must have a stable motion character<\/li>\n\n\n\n<li>the output string must have the type of measure in it (e.g. kg)<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up an Indicator<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An example of Continuous Output might be,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">SGZZ&nbsp;&nbsp;&nbsp; 0.00 kg\n\nSGZZ&nbsp;&nbsp;&nbsp; 0.00 kg\n\nSGZZ&nbsp;&nbsp;&nbsp; 0.00 kg\n\nSGZZ&nbsp;&nbsp;&nbsp; 0.00 kg\n\nSGZZ&nbsp;&nbsp;&nbsp; 0.00 kg<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This then breaks down like this for the Season Setup,<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Position<\/td><td>1<\/td><td>2<\/td><td>3<\/td><td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td><td>11<\/td><td>12<\/td><td>13<\/td><td>14<\/td><td>15<\/td><\/tr><tr><td>Character<\/td><td>S<\/td><td>G<\/td><td>Z<\/td><td>Z<\/td><td><\/td><td><\/td><td><\/td><td><\/td><td>0<\/td><td>.<\/td><td>0<\/td><td>0<\/td><td><\/td><td>k<\/td><td>g<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">To set these settings in Season,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Load the Indicator Setup program, Season -&gt; Setup Factory<\/li>\n\n\n\n<li>Click on the Setups tab, the the Indicator Setup tab.<\/li>\n\n\n\n<li>Click the Unlock button and enter the supervisor password to unlock the view.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/vger.datos.co.uk\/ClientKnowledgebase\/wp-content\/uploads\/2014\/09\/IndicatorSetup-2-300x272.png\" alt=\"\" class=\"wp-image-48047\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>You can load an existing indicator set up by pressing F4 in the Code Field.<\/li>\n\n\n\n<li>To start a new indicator setup press F5 in the code field to clear the indicator set up already loaded<\/li>\n\n\n\n<li>Enter the string settings and click on the save icon to save.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In the example output string given above,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>Length of the Indicator String<\/strong>&nbsp;(in earlier versions this was call the Weight and Measure length) is the length of the whole string, so 15 in this case.<\/li>\n\n\n\n<li>The <strong>Stable\/Motion Character<\/strong> is at position 1. &#8216;S&#8217; for stable and &#8216;M&#8217; for motion<\/li>\n\n\n\n<li>The <strong>Length of Weight <\/strong>is the length of the Weight, so in this case the characters that are ####0.00 (#&#8217;s are the spaces before the weight, but could be part of the weight) e.g. 11 (characters 5 to 15 inclusive).<\/li>\n\n\n\n<li>The <strong>Weight Start Position<\/strong> is the position in the string where the weight numbers can begin. In this case position 5<\/li>\n\n\n\n<li>The <strong>Type of Measure<\/strong> is simply the type of measure in the weight string. So &#8216;kg&#8217; for our sample string.<\/li>\n\n\n\n<li>The <strong>Measure&nbsp;Start Position<\/strong> is the position in the string where the type of measure begins. In this case position 13<\/li>\n\n\n\n<li>The <strong>Length of Type of Measure <\/strong>. In this case the length is 2. <strong>Please note<\/strong> &#8211; in earlier versions of Season this value was not stored and instead the <strong>length of the weight<\/strong> included the type of measure<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Additional Settings<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8216;<strong>Euro String Format<\/strong>&#8216; check box tells Season whether the number in the output string is in European format i.e. the decimal is seperated by a comma &#8216;,&#8217; and not a full stop &#8216;.&#8217;<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8216;<strong>COM port settings<\/strong>&#8216; tell Season how to connect to the COM port. These are usually pretty standard,<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Data bits &#8211; 8<\/li>\n\n\n\n<li>Stop bits &#8211; 1<\/li>\n\n\n\n<li>Baud Rate &#8211; 9600<\/li>\n\n\n\n<li>Parity &#8211; No Parity<\/li>\n\n\n\n<li>Flow control &#8211; None<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">But depending on the indicator, may need to be changed.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8216;<strong>Zero Indicator<\/strong>&#8216; setting is the command to reset the indicator to 0.00. This is specific to the type of indicator.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An example might be,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Character(2) + \"ZE0\" + Character(3)\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This would send ASCII character 2 (STX), followed by &#8216;ZE0&#8217;, followed by ASCII character 3 (ETX) to the indicator.<br>With certain indicators, this can only be done when the indicator is in &#8216;Gross&#8217; weight mode.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8216;<strong>Event Character<\/strong>&#8216; setting tells Season what character to look for in the indicator string to denote the end of a block of data. Usually this is character 13, a carriage return, but some indicators use a different character, e.g. character 3 &lt;ETX&gt;. Setting a &#8216;0&#8217; will use the default 13 character.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Indicators can usually be set up to output the weight it is reading to one of the COM ports. This is called Continuous Serial Output (or Continuous String Output). For Season to be able to read the weight from an indicator, the indicator must, Setting up an Indicator An example of Continuous Output might be, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-howtofactory","category-howtoguides"],"_links":{"self":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":1,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"predecessor-version":[{"id":48999,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions\/48999"}],"wp:attachment":[{"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vger.datos.co.uk\/Clientknowledgebase\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}