As it happens, I've been improving this functionality, but not yet documented or tested. Feel free to try the following with the very latest driver version:
-
The
deviceTypeargument is "ModbusClient". The following keys are supported indeviceProps:framing,hostname,althost,backuphost,altbackuphost,maxoutstanding,exectimeout,tframeplus,shortbrowse,txidlimit, andunitscsv. -
Supply the complete configuration CSV for your slave units as a multiline string for the
unitscsvdevice property.
Only hostname is required. All others have sane defaults.
{ I consider the unitscsv device prop to still be BETA quality. Bug reports welcome, but functionality is not officially supported. Prior versions use a binary encoded prop that doesn't play well with v8.3. So migration through my last v8.1 version will be required. }