{"id":3338,"date":"2025-04-18T05:06:45","date_gmt":"2025-04-18T05:06:45","guid":{"rendered":"https:\/\/webprojects.cloud\/wordpress\/splatco\/?post_type=spl_knowledgebase&#038;p=3338"},"modified":"2025-06-10T09:32:53","modified_gmt":"2025-06-10T09:32:53","slug":"modbus-supported-functions","status":"publish","type":"spl_knowledgebase","link":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/","title":{"rendered":"ModBus: Supported functions"},"content":{"rendered":"\n<p>The following table lists the ModBus functions supported in SPLat, with a brief description of the function. This is not meant as a detailed treatment of ModBus; you should refer to the published specifications online at places like&nbsp;<a href=\"http:\/\/www.modbus.org\/\">modbus.org<\/a>. The hotlinks in the M\/S column take you to the corresponding ModBus master script command (described later).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Function<\/th><th>Name<\/th><th>M\/S<\/th><th>Modicon ref<\/th><th>Description<\/th><\/tr><tr><td>1<\/td><td>Read Coil(s)<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/readcoils-1-slaveaddr-coiladdr16-itemcount-spaddr16\/\">M<\/a>\u00a0S<\/td><td>0xxxx<\/td><td>Reads out one or more contiguous coils (external outputs or internal 1-bit variables, i.e. semaphores)<\/td><\/tr><tr><td>2<\/td><td>Read inputs<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/readinputs-2-slaveaddr-inaddr16-itemcount-spaddr16\/\">M<\/a>\u00a0S<\/td><td>1xxxx<\/td><td>Reads one or more contiguous inputs. In a slave SPLat accesses the debounced inputs.<\/td><\/tr><tr><td>3<\/td><td>Read holding registers<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/readhregs-3-slaveaddr-regaddr16-itemcount-spaddr16-numformat\/\">M<\/a>\u00a0S<\/td><td>4xxxx<\/td><td>Reads one or more contiguous Modicon type 16-bit holding registers. In a SPLat slave the addresses are mapped to\u00a0<a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/glossary-of-terms\/#o414\">RAM<\/a>\u00a0(data memory).<\/td><\/tr><tr><td>4<\/td><td>Read input registers<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/readinregs-4-slaveaddr-inregaddr16-itemcount-spaddr16numformat\/\">M<\/a><\/td><td>3xxxx<\/td><td>Reads one or more contiguous Modicon type 16-bit input registers. Some 3rd party products map internal values to these registers. Not supported in SPLat slave.<\/td><\/tr><tr><td>5<\/td><td>Force single coil<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/forcecoil-5-slaveaddr-coiladdr16-spaddr16\/\">M<\/a>\u00a0S<\/td><td>0xxxx<\/td><td>Forces a single coil (Modicon: external output or internal 1-bit variable, i.e. semaphore). Force external outputs with caution! SPLat slave allows selective write protection.<\/td><\/tr><tr><td>6<\/td><td>Preset single holding register.<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/presethreg-6-slaveaddr-regaddr16-spaddr16-spmode\/\">M<\/a>\u00a0S<\/td><td>4xxxx<\/td><td>Forces a value into a single Modicon type 16-bit holding register. In a SPLat slave the addresses are mapped to RAM (data memory).<\/td><\/tr><tr><td>15<\/td><td>Force multiple coils<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/forcemultcoils-15-slaveaddr-coiladdr16-itemcount-spaddr16\/\">M<\/a>\u00a0S<\/td><td>0xxxx<\/td><td>Forces one or more contiguous coils (external outputs or internal 1-bit variables, i.e. semaphores). Force external outputs with caution!<\/td><\/tr><tr><td>16<\/td><td>Preset multiple holding registers.<\/td><td><a href=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/programming-reference\/instructions-arranged-by-function\/communications-instructions\/modbus-instructions\/modbus-master-control-script-commands\/presetmultregs-16-slaveaddr-regaddr16-itemcount-spaddr16-spmode\/\">M<\/a>\u00a0S<\/td><td>4xxxx<\/td><td>Forces data values into one or more Modicon type 16-bit contiguous holding registers. In a SPLat slave the addresses are mapped to RAM (data memory).<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>The following table lists the ModBus functions supported in SPLat, with a brief description of the function. This is not meant as a detailed treatment&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3328,"menu_order":2,"template":"","class_list":["post-3338","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>ModBus: Supported functions - 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=\"ModBus: Supported functions - SPLat Controls\" \/>\n<meta property=\"og:description\" content=\"The following table lists the ModBus functions supported in SPLat, with a brief description of the function. This is not meant as a detailed treatment...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"SPLat Controls\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-10T09:32:53+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/\",\"url\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/\",\"name\":\"ModBus: Supported functions - SPLat Controls\",\"isPartOf\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website\"},\"datePublished\":\"2025-04-18T05:06:45+00:00\",\"dateModified\":\"2025-06-10T09:32:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials, application notes and white papers\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Serial communications\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"ModBus\",\"item\":\"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"ModBus: Supported functions\"}]},{\"@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":"ModBus: Supported functions - 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":"ModBus: Supported functions - SPLat Controls","og_description":"The following table lists the ModBus functions supported in SPLat, with a brief description of the function. This is not meant as a detailed treatment...","og_url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/","og_site_name":"SPLat Controls","article_modified_time":"2025-06-10T09:32:53+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/","url":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/","name":"ModBus: Supported functions - SPLat Controls","isPartOf":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/#website"},"datePublished":"2025-04-18T05:06:45+00:00","dateModified":"2025-06-10T09:32:53+00:00","breadcrumb":{"@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/modbus-supported-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/"},{"@type":"ListItem","position":2,"name":"Tutorials, application notes and white papers","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/"},{"@type":"ListItem","position":3,"name":"Serial communications","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/"},{"@type":"ListItem","position":4,"name":"ModBus","item":"https:\/\/webprojects.cloud\/wordpress\/splatco\/knowledgebase\/tutorials-application-notes-and-white-papers\/serial-communications\/modbus\/"},{"@type":"ListItem","position":5,"name":"ModBus: Supported functions"}]},{"@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\/3338","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\/3328"}],"wp:attachment":[{"href":"https:\/\/webprojects.cloud\/wordpress\/splatco\/wp-json\/wp\/v2\/media?parent=3338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}