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 and janiversen committed Jun 21, 2023
1 parent ec91640 commit bbcef84
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 bbcef84

Please sign in to comment.