{"id":2958,"date":"2024-03-07T08:52:53","date_gmt":"2024-03-07T07:52:53","guid":{"rendered":"https:\/\/beta.ewattch-documentation.com\/?p=2958"},"modified":"2024-03-07T08:52:53","modified_gmt":"2024-03-07T07:52:53","slug":"functioning-in-slave-mode-2","status":"publish","type":"post","link":"https:\/\/ewattch-documentation.com\/?p=2958","title":{"rendered":"Functioning in slave mode"},"content":{"rendered":"<p>This mode of functioning will be used when you wish, for example, to send back on the network LoRa the data coming from an existing ModBus network.<br \/>\nThe master of the ModBus network writes the preferred values in the table of the board.<br \/>\nThe table accepts a maximum of 512 words of 16 bits.<br \/>\nAll or part of the table may be the subject of a LoRa frame generation.<br \/>\nThe frame contains a maximum of 20 words of 16 bits.<\/p>\n<p><strong>Ewattchcloud compatibility<\/strong><\/p>\n<p>The data can be displayed directly on the Ewattchcloud platform. To do this, the modbus table must respect a format.<br \/>\nAn online tool is available at the link below. It makes it possible to obtain the modbus table model to follow according to the necessary data.<br \/>\nhttps:\/\/tools.ewattchconnect.io\/modbus\/config<\/p>\n<p><strong>Physical configurations<\/strong><\/p>\n<p>\u25cf Switches 2 and 3 must be in &#8220;OFF&#8221; mode (low position) so as to not<br \/>\nsetup the Pull Up and Pull Down<br \/>\n\u25cf Switch 1 must be in \u201cON\u201d mode (high position) if the board is the last<br \/>\nslave of the bus. In the contrasting case, switch 1 must be in \u201cOFF\u201d mode<br \/>\n(low position).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-247 size-full aligncenter\" src=\"https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave.png\" sizes=\"auto, (max-width: 1123px) 100vw, 1123px\" srcset=\"https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave.png 1123w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-300x212.png 300w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-768x543.png 768w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-1024x724.png 1024w\" alt=\"\" width=\"1123\" height=\"794\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-246 size-full\" src=\"https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-2.png\" sizes=\"auto, (max-width: 1123px) 100vw, 1123px\" srcset=\"https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-2.png 1123w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-2-300x212.png 300w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-2-768x543.png 768w, https:\/\/ewattch-documentation.com\/wp-content\/uploads\/2019\/07\/param%C3%A9trages-physiques-en-mode-esclave-2-1024x724.png 1024w\" alt=\"\" width=\"1123\" height=\"794\" \/><\/p>\n<h6><strong>Software configuration for the writing in the table<\/strong><\/h6>\n<p>On the Tyness Configurator, it is necessary to:<br \/>\n\u25cf Allocate an address to the board<br \/>\n\u25cf Configure the zone(s) of the table authorized in read and\/or write<br \/>\n(IN, OUT and IN-OUT)<br \/>\n\u25cf Configure the LoRa frame generation.<\/p>\n<p><span style=\"color: #000000;\"><strong>Requests accepted:<\/strong><\/span><br \/>\nIn slave mode, the following requests are accepted:<\/p>\n<p>\u25cf WriteMultipleRegisters : 0x10<br \/>\n\u25cf ReadDiviceIdentification : 0x2B<br \/>\n\u25cf ReadHoldingRegisters : 0x03<br \/>\n\u25cf ReadInputRegister : 0x04<br \/>\n\u25cf ReadExceptionStatus : 0x07<br \/>\n\u25cf ReadDiagnostic : 0x08<\/p>\n<p><span style=\"color: #000000;\"><strong>Compatible masters:<\/strong><\/span><\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>This mode of functioning will be used when you wish, for example, to send back on the network LoRa the data coming from an existing ModBus network. The master of the ModBus network writes the preferred values in the table [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-2958","post","type-post","status-publish","format-standard","hentry","category-non-classe-fr"],"_links":{"self":[{"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=\/wp\/v2\/posts\/2958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2958"}],"version-history":[{"count":0,"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=\/wp\/v2\/posts\/2958\/revisions"}],"wp:attachment":[{"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ewattch-documentation.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}