From 0a22dbb709ccc1c1c0f8df2442bff32ab369cb44 Mon Sep 17 00:00:00 2001 From: Fredo70 Date: Tue, 13 Jun 2023 21:00:44 +0200 Subject: [PATCH] Fix write function codes (#1598) --- pymodbus/datastore/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymodbus/datastore/remote.py b/pymodbus/datastore/remote.py index 2eeb1b4ca..73f59cdfa 100644 --- a/pymodbus/datastore/remote.py +++ b/pymodbus/datastore/remote.py @@ -113,7 +113,7 @@ def __build_mapping(self): a, v, **kwargs ), } - self._write_fc = (0x05, 0x06, 0x15, 0x16, 0x17) + self._write_fc = (0x05, 0x06, 0x0F, 0x10) def __extract_result(self, fc_as_hex, result): """Extract the values out of a response.