:: == Set modbusmaster baudrate
::BAUD=9600
::BAUD=19200
::BAUD=38400
::BAUD=57600
BAUD=115200


:: == Set bit count and parity
BITS=8n1
::BITS=8e1
::BITS=8o1
::BITS=8n2
::BITS=8e2
::BITS=8o2


:: == Set modbus send delay in milliseconds (a delay before next request)
SENDDELAY=350


:: == Select if modbusdevices should be made automatically or manually
::MODBUSDEVICES=AUTO
MODBUSDEVICES=MANUAL


:: == If MODBUSDEVICES=MANUAL is selected, these settings do not have any affect 
:: == If MODBUSDEVICES=AUTO is selected, then you can select if modbusdevices should be 
:: == combined making one larger modbusdevice with multiple registers
:: == set to FALSE if combining is not allowed, or enter the maximum number of registers that should be combined per query
::COMBINE=FALSE
COMBINE=10


:: == Set modbus timeout in milliseconds (only for autogenerated modbus devices)
TIMEOUT=100


:: == If MODBUSDEVICES=MANUAL selected modbus devices have to be defined manually
::MODBUSDEVICE=ADDRESS:1, STARTREG:0, COUNT:1,  TYPE:HOLDING, TIMEOUT:100
::MODBUSDEVICE=ADDRESS:1, STARTREG:1, COUNT:1,  TYPE:HOLDING, TIMEOUT:110
::MODBUSDEVICE=ADDRESS:1, STARTREG:2, COUNT:10, TYPE:HOLDING, TIMEOUT:120
::MODBUSDEVICE=ADDRESS:1, STARTREG:0, COUNT:1, TYPE:INPUTREG, TIMEOUT:100
::MODBUSDEVICE=ADDRESS:1, STARTREG:0, COUNT:1, TYPE:DISCRETE, TIMEOUT:100
::MODBUSDEVICE=ADDRESS:1, STARTREG:0, COUNT:1, TYPE:COIL, TIMEOUT:100

:: == Use this to make an element that shows the value of register 33, but writes into register 4 
:: == this will generate a modbusdevice for register 33, 
:: == so don't forget to make sure you then have the "write" register also defined as modbusdevice
::MODBUSDEVICE=ADDRESS:10, READREG:33, WRITEREG:4, COUNT:1,  TYPE:HOLDING, TIMEOUT:100
::MODBUSDEVICE=ADDRESS:10, STARTREG:4, COUNT:1, TYPE:HOLDING, TIMEOUT:120


:: == Send the value of the internal temperature sensor (x10 in °C) to one or more slave registers
::SENDTEMPERATURE=ADDRESS:11, STARTREG:2018, TIMEOUT:100


:: == Send internal registers (such as time schedule) to slave(s)
::SENDREGISTERS=ADDRESS:10, STARTREG:2, SOURCEREG:3001, COUNT:1, TIMEOUT:300
::SENDREGISTERS=ADDRESS:10, STARTREG:5, SOURCEREG:3002, COUNT:1, TIMEOUT:300
::SENDREGISTERS=ADDRESS:10, STARTREG:8, SOURCEREG:3003, COUNT:1, TIMEOUT:300
::SENDREGISTERS=ADDRESS:11, STARTREG:2000, SOURCEREG:3004, COUNT:1, TIMEOUT:300
::SENDREGISTERS=ADDRESS:12, STARTREG:1044, SOURCEREG:3005, COUNT:1, TIMEOUT:300
::SENDREGISTERS=ADDRESS:13, STARTREG:1044, SOURCEREG:3007, COUNT:1, TIMEOUT:300


:: == Send a fixed value to a slave register, based on the value of an internal time schedule of the master display
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:3,  TIMEOUT:100, SENDIF:TIMESCH1=0
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:6,  TIMEOUT:100, SENDIF:TIMESCH1=1
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:9,  TIMEOUT:100, SENDIF:TIMESCH1=2
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:12, TIMEOUT:100, SENDIF:TIMESCH1=3
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:15, TIMEOUT:100, SENDIF:TIMESCH1=4
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:18, TIMEOUT:100, SENDIF:TIMESCH1=5
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:21, TIMEOUT:100, SENDIF:TIMESCH1=6
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:24, TIMEOUT:100, SENDIF:TIMESCH1=7
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:27, TIMEOUT:100, SENDIF:TIMESCH1=8
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:30, TIMEOUT:100, SENDIF:TIMESCH1=9
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:33, TIMEOUT:100, SENDIF:TIMESCH1=10
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:36, TIMEOUT:100, SENDIF:TIMESCH1=11
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:39, TIMEOUT:100, SENDIF:TIMESCH1=12
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:42, TIMEOUT:100, SENDIF:TIMESCH1=13
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:45, TIMEOUT:100, SENDIF:TIMESCH1=14
::SENDREGISTERS=ADDRESS:10, WRITEREG:11, COUNT:1, FIXEDVALUE:48, TIMEOUT:100, SENDIF:TIMESCH1=15


