diff --git a/util/templates/documentation_modbus.tpl b/util/templates/documentation_modbus.tpl index c7a8bc685c..60388eb98f 100644 --- a/util/templates/documentation_modbus.tpl +++ b/util/templates/documentation_modbus.tpl @@ -3,7 +3,7 @@ # Attached to local serial interface (Modbus RTU) modbus: rtu id: {{ .id }} -device: {{ .device }} # Geräteadresse, typische Werte sind /dev/ttyUSB0, /dev/ttyAMA0, /dev/ttyS0 oder COM3 +device: {{ .device }} # Schnittstellenname, typische Werte sind /dev/ttyUSB0, /dev/ttyAMA0, /dev/ttyS0 oder COM3 baudrate: {{ .baudrate }} # Baudrate, typische Werte sind 9600, 19200, 38400, 57600, 115200 comset: {{ .comset }} # Parität, Datenbits, Stoppbits, typische Werte sind 8N1, 8E1, 8O1 {{- end }} @@ -12,7 +12,7 @@ comset: {{ .comset }} # Parität, Datenbits, Stoppbits, typische Werte sind 8N1, # Attached to transparent serial device server (Modbus RTU over TCP/IP) modbus: rtu-over-tcpip id: {{ .id }} -host: {{ .host }} # Hostname +host: {{ .host }} # Hostname / IP-Adresse port: {{ .port }} # Port {{- end }} {{- if .asciiserial }} @@ -20,7 +20,7 @@ port: {{ .port }} # Port # Attached to local serial interface (Modbus ASCII) modbus: ascii id: {{ .id }} -device: {{ .device }} # Geräteadresse, typische Werte sind /dev/ttyUSB0, /dev/ttyAMA0, /dev/ttyS0 oder COM3 +device: {{ .device }} # Schnittstellenname, typische Werte sind /dev/ttyUSB0, /dev/ttyAMA0, /dev/ttyS0 oder COM3 baudrate: {{ .baudrate }} # Baudrate, typische Werte sind 9600, 19200, 38400, 57600, 115200 comset: {{ .comset }} # Parität, Datenbits, Stoppbits, typische Werte sind 8N1, 8E1, 8O1 {{- end }} @@ -29,7 +29,7 @@ comset: {{ .comset }} # Parität, Datenbits, Stoppbits, typische Werte sind 8N1, # Attached to transparent serial device server (Modbus ASCII over TCP/IP) modbus: ascii-over-tcpip id: {{ .id }} -host: {{ .host }} # Hostname +host: {{ .host }} # Hostname / IP-Adresse port: {{ .port }} # Port {{- end }} {{- if .tcp }} @@ -37,6 +37,6 @@ port: {{ .port }} # Port # Modbus TCP modbus: tcp id: {{ .id }} -host: {{ .host }} # Hostname +host: {{ .host }} # Hostname / IP-Adresse port: {{ .port }} # Port {{- end -}} diff --git a/util/templates/modbus.tpl b/util/templates/modbus.tpl index aebac291a0..7bf2a0a481 100644 --- a/util/templates/modbus.tpl +++ b/util/templates/modbus.tpl @@ -1,7 +1,7 @@ {{- define "modbus" }} id: {{ .id }} {{- if or (eq .modbus "rs485serial") (eq .modbus "rtu") (eq .modbus "ascii") }} -# Serial interface (Modbus RTU/ASCII) +# Local serial interface (Modbus RTU/ASCII) device: {{ .device }} baudrate: {{ .baudrate }} comset: "{{ .comset }}"