I was able to make this work so thanks again, however I ran into something I’m curious about.
To set the time on this device over Modbus, I need to write a single value to enable command mode. I then write multiple registers to set the time, and then close command mode by writing a single value again.
When using system.opc.writeValue (single), I have to add one to the register value. When using system.opc.writeValues (multiple), I do not.
The driver’s setting for “One-Based Addressing” is True (the default). I’m wondering about this behavior, since as luck would have it, the command register to flash the device is right next to the command register to enable command mode.
ed: oh, nvm i believe it is a documentation error with the device. sorry about that.