Go e: Unterschied zwischen den Versionen

Aus EnMo_Handbuch
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 12: Zeile 12:


Example: http://192.168.0.77/api/set?men=true
Example: http://192.168.0.77/api/set?men=true
api key description datatype R?W? Category
<style type="text/css">
men modbus slave enabled bool R/W Config
.tg  {border-collapse:collapse;border-spacing:0;}
msp modbus slave port (requires reboot) uint16 R/W Config
.tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
msb modbus slave swap bytes bool R/W Config
  overflow:hidden;padding:10px 5px;word-break:normal;}
msr modbus slave swap registers bool R/W Config
.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;
mro modbus slave read operations size_t R Status
  font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
mwo modbus slave write operations size_t R Status
.tg .tg-cly1{text-align:left;vertical-align:middle}
.tg .tg-0lax{text-align:left;vertical-align:top}
</style>
<table class="tg"><thead>
  <tr>
    <th class="tg-0lax">api key</th>
    <th class="tg-0lax">description</th>
    <th class="tg-0lax">datatype</th>
    <th class="tg-0lax">R?W?</th>
    <th class="tg-0lax">category</th>
  </tr></thead>
<tbody>
  <tr>
    <td class="tg-0lax">men</td>
    <td class="tg-0lax">modbus slave enabled</td>
    <td class="tg-0lax">bool</td>
    <td class="tg-0lax">R/W</td>
    <td class="tg-0lax">Config</td>
  </tr>
  <tr>
    <td class="tg-0lax">msp</td>
    <td class="tg-0lax">modbus slave port (req. reboot)</td>
    <td class="tg-0lax">uint16</td>
    <td class="tg-0lax">R/W</td>
    <td class="tg-0lax">Config</td>
  </tr>
  <tr>
    <td class="tg-0lax">msb</td>
    <td class="tg-0lax">modbus slave swap bytes</td>
    <td class="tg-0lax">bool</td>
    <td class="tg-cly1">R/W</td>
    <td class="tg-cly1">Config</td>
  </tr>
  <tr>
    <td class="tg-cly1">msr</td>
    <td class="tg-cly1">modbus slave swap registers</td>
    <td class="tg-cly1">bool</td>
    <td class="tg-cly1">R/W</td>
    <td class="tg-cly1">Config</td>
  </tr>
  <tr>
    <td class="tg-cly1">mro</td>
    <td class="tg-cly1">modbus slave read operations</td>
    <td class="tg-cly1">size_t</td>
    <td class="tg-cly1">R</td>
    <td class="tg-cly1">Status</td>
  </tr>
  <tr>
    <td class="tg-cly1">mwo</td>
    <td class="tg-cly1">modbus slave write operations</td>
    <td class="tg-cly1">size_t</td>
    <td class="tg-cly1">R</td>
    <td class="tg-cly1">Status</td>
  </tr>
</tbody></table>

Version vom 24. Juni 2026, 13:35 Uhr

Modbus TCP

Modbus TCP in der App aktivieren:
Internet > Advanced Settings > Modbus > Enable Modbus TCP Access on Port 502. Requires Reboot to take effect.

Softwareversion

Byte-order ist vor Version 60.4 vertauscht --> Softwareversion muss zwingend auf 60.4 oder höher sein.

Lokale API zur Konfigurierung des Modbus TCP interfaces

Using the http API to enable and verify the Modbus interface

The chargers provide api keys to configure and verify the modbus interface. These api keys can be used with the http api.

Example: http://192.168.0.77/api/set?men=true <style type="text/css"> .tg {border-collapse:collapse;border-spacing:0;} .tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;

 overflow:hidden;padding:10px 5px;word-break:normal;}

.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;

 font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}

.tg .tg-cly1{text-align:left;vertical-align:middle} .tg .tg-0lax{text-align:left;vertical-align:top} </style>

<thead> </thead> <tbody> </tbody>
api key description datatype R?W? category
men modbus slave enabled bool R/W Config
msp modbus slave port (req. reboot) uint16 R/W Config
msb modbus slave swap bytes bool R/W Config
msr modbus slave swap registers bool R/W Config
mro modbus slave read operations size_t R Status
mwo modbus slave write operations size_t R Status