{"id":1767,"date":"2025-04-14T05:36:16","date_gmt":"2025-04-14T05:36:16","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=1767"},"modified":"2025-06-10T08:21:18","modified_gmt":"2025-06-10T08:21:18","slug":"spice-10205-programming","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/","title":{"rendered":"SPice 10205: Programming"},"content":{"rendered":"\n<p>Once installed on a SPLat controller, the SPice10205 appears as several regular analog and digital I\/O points. The following table shows the mappings for all the I\/O on the board.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><th>&nbsp;<\/th><th>pin<\/th><th>SL99<\/th><th>MMi200<\/th><th>MS12<\/th><\/tr><tr><th>Conductivity 1<\/th><th>7<\/th><td>Input 10<\/td><td>Input 13<\/td><td>Input 20<\/td><\/tr><tr><th>Conductivity 2<\/th><th>8<\/th><td>Input 11<\/td><td>Input 14<\/td><td>Input 21<\/td><\/tr><tr><th>Conductivity 3<\/th><th>4<\/th><td>Input 12<\/td><td>Input 15<\/td><td>Input 17<\/td><\/tr><tr><th>Conductivity 4<\/th><th>5<\/th><td>Input 13<\/td><td>Input 16<\/td><td>Input 18<\/td><\/tr><tr><th>Conductivity 5<\/th><th>6<\/th><td>Input 14<\/td><td>Input 17<\/td><td>Input 19<\/td><\/tr><tr><th>Conductivity 6<\/th><th>9<\/th><td>Input 15<\/td><td>Input 18<\/td><td>Input 22<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h6 class=\"wp-block-heading\">initializing the&nbsp;<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o366\">SPice<\/a>&nbsp;connector<\/h6>\n\n\n\n<p>Because the pins of the SPice connector, to which the SPice10205 is connected, can be configured for different functions (analog\/digital, input\/output), you need to have some code in your program that configures them to the correct settings for the SPice10205.<\/p>\n\n\n\n<p>The following section of code should be run by your program just once, at the beginning, before your program attempts to do anything else with the SPice10205.<\/p>\n\n\n\n<p>Use this code if you are using all 6 channels for conductivity<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">         <a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/splat-expansion-framework-generic-instructions\/clru\/\">ClrU<\/a><br>         <a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/splat-expansion-framework-generic-instructions\/setu-ni\/\">setu<\/a>         0,2         ;set spice connector pin 4 as digital input<br>         setu         1,2         ;set spice connector pin 5 as digital input<br>         setu         2,2         ;set spice connector pin 6 as digital input<br>         setu         3,2         ;set spice connector pin 7 as digital input<br>         setu         4,2         ;set spice connector pin 8 as digital input<br>         setu         5,2         ;set spice connector pin 9 as digital input<br>         <a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/splat-expansion-framework-generic-instructions\/spiceconfigu\/\">SpiceConfigU<\/a><\/pre>\n\n\n\n<p>If you are using the thermistor drive voltage generator, channels 6 of the SPice10205 cannot be used. Instead you need to remove the jumper on the SPice10205 board and use the following initialization code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">         ClrU\n         setu         0,2         ;set spice connector pin 4 as digital input\n         setu         1,2         ;set spice connector pin 5 as digital input\n         setu         2,2         ;set spice connector pin 6 as digital input\n         setu         3,2         ;set spice connector pin 7 as digital input\n         setu         4,2         ;set spice connector pin 8 as digital input\n         setu         5,4         ;set spice connector pin 9 as analog output\n         SpiceConfigU<\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">Programming the fluid sensor (conductivity switch) inputs.<\/h6>\n\n\n\n<p>Once the board has been initialized, the fluid sensor inputs are just like any other input. The input will be on when there is fluid present.<\/p>\n\n\n\n<p>Note that during debug with SPLat the SPice board may not show up correctly in the I\/O window unless the board has run the initialize code. You can fix this by translating and running the above initialization sequence in the board. Add a line<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">a     goto    a<\/pre>\n\n\n\n<p>at the end to prevent translation and runtime errors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Once installed on a SPLat controller, the SPice10205 appears as several regular analog and digital I\/O points. The following table shows the mappings for all&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1758,"menu_order":7,"template":"","class_list":["post-1767","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>SPice 10205: Programming - 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=\"SPice 10205: Programming - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"Once installed on a SPLat controller, the SPice10205 appears as several regular analog and digital I\/O points. The following table shows the mappings for all...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T08:21:18+00:00\" \/>\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=\"2 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-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/\",\"name\":\"SPice 10205: Programming - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-14T05:36:16+00:00\",\"dateModified\":\"2025-06-10T08:21:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/#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: SPice add-on boards\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"SPice10205 &#8211; 6 fluid level switches\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"SPice 10205: Programming\"}]},{\"@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":"SPice 10205: Programming - 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":"SPice 10205: Programming - SPLat Controls","og_description":"Once installed on a SPLat controller, the SPice10205 appears as several regular analog and digital I\/O points. The following table shows the mappings for all...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T08:21:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/","name":"SPice 10205: Programming - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-14T05:36:16+00:00","dateModified":"2025-06-10T08:21:18+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/spice-10205-programming\/#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: SPice add-on boards","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/"},{"@type":"ListItem","position":4,"name":"SPice10205 &#8211; 6 fluid level switches","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/product-documentation\/product-documentation-spice-add-on-boards\/spice10205-6-fluid-level-switches\/"},{"@type":"ListItem","position":5,"name":"SPice 10205: Programming"}]},{"@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\/1767","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\/1758"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=1767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}