Fix modbus docs (#3082)

This commit is contained in:
andig 2022-04-04 22:04:46 +02:00 • committed by GitHub
parent 6151628dd1
commit ac301d8f5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,10 +7,12 @@ comset: "{{ .comset }}" # Kommunikationsparameter für den Adapter
{{- end }}
{{- if .rs485tcpip }}
# Modbus: RS485 via TCPIP
uri: {{ .host }}:{{ .port }} # IP-Adresse oder Hostname: Port
host: {{ .host }} # Hostname
port: {{ .port }} # Port
rtu: true
{{- end }}
{{- if .tcpip }}
# Modbus: TCPIP
uri: {{ .host }}:{{ .port }} # IP-Adresse oder Hostname: Port
host: {{ .host }} # Hostname
port: {{ .port }} # Port
{{- end }}