Skip to content

Commit bbcef84

Browse files
Fredo70janiversen
authored andcommitted
Fix write function codes (#1598)
1 parent ec91640 commit bbcef84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymodbus/datastore/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __build_mapping(self):
113113
a, v, **kwargs
114114
),
115115
}
116-
self._write_fc = (0x05, 0x06, 0x15, 0x16, 0x17)
116+
self._write_fc = (0x05, 0x06, 0x0F, 0x10)
117117

118118
def __extract_result(self, fc_as_hex, result):
119119
"""Extract the values out of a response.

0 commit comments

Comments
 (0)