Skip to content

Commit

Permalink
Fix write function codes (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredo70 authored Jun 13, 2023
1 parent 8062d3b commit 0a22dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymodbus/datastore/remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0a22dbb

Please sign in to comment.