I can’t find the modbus 1.x build, if someone still has the modbus 1.x build, can you send me the download.
I’m not good at config, or can someone help with modbus 1.x to 2.x migration.
This is my file.
modbus.cfg
# Modbus service config file
# sets refresh interval to Modbus polling service. milliseconds (optional, defaults to 200)
poll=2000
#######################################################################################
# Input Registers Declaration uint16
# On/off 32001,32007,...,32091 bit 0
# Cooling setpoint (*10) 16 bit 32003,32009,...,32093
# Room temp (*10) 16bit 32005,32011,...,32095
# Length to read: 6 * number of set (need optimized)
# Offset 30001
# Naming: slave01input
#######################################################################################
####### set 1-4 start 32001
serial.slave01input01.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01input01.type=input
serial.slave01input01.id=1
serial.slave01input01.start=2000
serial.slave01input01.length=24
serial.slave01input01.valuetype=uint16
####### set 5-8 start 32025
serial.slave01input02.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01input02.type=input
serial.slave01input02.id=1
serial.slave01input02.start=2024
serial.slave01input02.length=24
serial.slave01input02.valuetype=uint16
####### set 9-12 start 32049
serial.slave01input03.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01input03.type=input
serial.slave01input03.id=1
serial.slave01input03.start=2048
serial.slave01input03.length=24
serial.slave01input03.valuetype=uint16
####### set 13-16 start 32073
serial.slave01input04.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01input04.type=input
serial.slave01input04.id=1
serial.slave01input04.start=2072
serial.slave01input04.length=24
serial.slave01input04.valuetype=uint16
#######################################################################################
# Holding Registers Declaration uint16
# Control On/off 42001,42004,...,42046 bit 0
# Control Cooling setpoint (*10) 16 bit 42003,42006,...,42048
# Length to read: 3 * number of set (need optimized)
# Offset 40001
# Naming: slave01holding
#######################################################################################
####### set 1-4 start 42001
serial.slave01holding01.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01holding01.type=holding
serial.slave01holding01.id=1
serial.slave01holding01.start=2000
serial.slave01holding01.length=12
serial.slave01holding01.valuetype=uint16
####### set 5-8 start 42013
serial.slave01holding02.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01holding02.type=holding
serial.slave01holding02.id=1
serial.slave01holding02.start=2012
serial.slave01holding02.length=12
serial.slave01holding02.valuetype=uint16
####### set 9-12 start 42025
serial.slave01holding03.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01holding03.type=holding
serial.slave01holding03.id=1
serial.slave01holding03.start=2024
serial.slave01holding03.length=12
serial.slave01holding03.valuetype=uint16
####### set 13-16 start 42037
serial.slave01holding04.connection=COM3:9600:8:even:1:rtu:35:1500:none:none
serial.slave01holding04.type=holding
serial.slave01holding04.id=1
serial.slave01holding04.start=2036
serial.slave01holding04.length=12
serial.slave01holding04.valuetype=uint16
modbus.items
// Daikin Items Declare
////////////////////////////////////////////////////////////////////////////////////////////////
// Reading Items Declare, 4*unint offset for each set
////////////////////////////////////////////////////////////////////////////////////////////////
// Set 1 -4
Number DaikinReadStatus_1_00 {modbus="slave01input01:0"}
Number DaikinReadMode_1_00 {modbus="slave01input01:1"}
Number DaikinReadSetTemp_1_00 {modbus="slave01input01:2"}
Number DaikinReadRoomTemp_1_00 {modbus="slave01input01:4"}
Number DaikinReadStatus_1_01 {modbus="slave01input01:6"}
Number DaikinReadMode_1_01 {modbus="slave01input01:7"}
Number DaikinReadSetTemp_1_01 {modbus="slave01input01:8"}
Number DaikinReadRoomTemp_1_01 {modbus="slave01input01:10"}
Number DaikinReadStatus_1_02 {modbus="slave01input01:12"}
Number DaikinReadMode_1_02 {modbus="slave01input01:13"}
Number DaikinReadSetTemp_1_02 {modbus="slave01input01:14"}
Number DaikinReadRoomTemp_1_02 {modbus="slave01input01:16"}
Number DaikinReadStatus_1_03 {modbus="slave01input01:18"}
Number DaikinReadMode_1_03 {modbus="slave01input01:19"}
Number DaikinReadSetTemp_1_03 {modbus="slave01input01:20"}
Number DaikinReadRoomTemp_1_03 {modbus="slave01input01:22"}
// Set 5 -8
Number DaikinReadStatus_1_04 {modbus="slave01input02:0"}
Number DaikinReadMode_1_04 {modbus="slave01input02:1"}
Number DaikinReadSetTemp_1_04 {modbus="slave01input02:2"}
Number DaikinReadRoomTemp_1_04 {modbus="slave01input02:4"}
Number DaikinReadStatus_1_05 {modbus="slave01input02:6"}
Number DaikinReadMode_1_05 {modbus="slave01input02:7"}
Number DaikinReadSetTemp_1_05 {modbus="slave01input02:8"}
Number DaikinReadRoomTemp_1_05 {modbus="slave01input02:10"}
Number DaikinReadStatus_1_06 {modbus="slave01input02:12"}
Number DaikinReadMode_1_06 {modbus="slave01input02:13"}
Number DaikinReadSetTemp_1_06 {modbus="slave01input02:14"}
Number DaikinReadRoomTemp_1_06 {modbus="slave01input02:16"}
Number DaikinReadStatus_1_07 {modbus="slave01input02:18"}
Number DaikinReadMode_1_07 {modbus="slave01input02:19"}
Number DaikinReadSetTemp_1_07 {modbus="slave01input02:20"}
Number DaikinReadRoomTemp_1_07 {modbus="slave01input02:22"}
// Set 9-12
Number DaikinReadStatus_1_08 {modbus="slave01input03:0"}
Number DaikinReadMode_1_08 {modbus="slave01input03:1"}
Number DaikinReadSetTemp_1_08 {modbus="slave01input03:2"}
Number DaikinReadRoomTemp_1_08 {modbus="slave01input03:4"}
Number DaikinReadStatus_1_09 {modbus="slave01input03:6"}
Number DaikinReadMode_1_09 {modbus="slave01input03:7"}
Number DaikinReadSetTemp_1_09 {modbus="slave01input03:8"}
Number DaikinReadRoomTemp_1_09 {modbus="slave01input03:10"}
Number DaikinReadStatus_1_10 {modbus="slave01input03:12"}
Number DaikinReadMode_1_10 {modbus="slave01input03:13"}
Number DaikinReadSetTemp_1_10 {modbus="slave01input03:14"}
Number DaikinReadRoomTemp_1_10 {modbus="slave01input03:16"}
Number DaikinReadStatus_1_11 {modbus="slave01input03:18"}
Number DaikinReadMode_1_11 {modbus="slave01input03:19"}
Number DaikinReadSetTemp_1_11 {modbus="slave01input03:20"}
Number DaikinReadRoomTemp_1_11 {modbus="slave01input03:22"}
// Set 13 -16
Number DaikinReadStatus_1_12 {modbus="slave01input04:0"}
Number DaikinReadMode_1_12 {modbus="slave01input04:1"}
Number DaikinReadSetTemp_1_12 {modbus="slave01input04:2"}
Number DaikinReadRoomTemp_1_12 {modbus="slave01input04:4"}
Number DaikinReadStatus_1_13 {modbus="slave01input04:6"}
Number DaikinReadMode_1_13 {modbus="slave01input04:7"}
Number DaikinReadSetTemp_1_13 {modbus="slave01input04:8"}
Number DaikinReadRoomTemp_1_13 {modbus="slave01input04:10"}
Number DaikinReadStatus_1_14 {modbus="slave01input04:12"}
Number DaikinReadMode_1_14 {modbus="slave01input04:13"}
Number DaikinReadSetTemp_1_14 {modbus="slave01input04:14"}
Number DaikinReadRoomTemp_1_14 {modbus="slave01input04:16"}
Number DaikinReadStatus_1_15 {modbus="slave01input04:18"}
Number DaikinReadMode_1_15 {modbus="slave01input04:19"}
Number DaikinReadSetTemp_1_15 {modbus="slave01input04:20"}
Number DaikinReadRoomTemp_1_15 {modbus="slave01input04:22"}
////////////////////////////////////////////////////////////////////////////////////////////////
// Writing Items Declare, 3*unint offset for each set
////////////////////////////////////////////////////////////////////////////////////////////////
// Set 1 -4
Number DaikinWriteControlSet_1_00 {modbus="slave01holding01:0"}
Number DaikinWriteModeSet_1_00 {modbus="slave01holding01:1"}
Number DaikinWriteSetTemp_1_00 {modbus="slave01holding01:2"}
Number DaikinWriteControlSet_1_01 {modbus="slave01holding01:3"}
Number DaikinWriteModeSet_1_01 {modbus="slave01holding01:4"}
Number DaikinWriteSetTemp_1_01 {modbus="slave01holding01:5"}
Number DaikinWriteControlSet_1_02 {modbus="slave01holding01:6"}
Number DaikinWriteModeSet_1_02 {modbus="slave01holding01:7"}
Number DaikinWriteSetTemp_1_02 {modbus="slave01holding01:8"}
Number DaikinWriteControlSet_1_03 {modbus="slave01holding01:9"}
Number DaikinWriteModeSet_1_03 {modbus="slave01holding01:10"}
Number DaikinWriteSetTemp_1_03 {modbus="slave01holding01:11"}
// Set 5 -8
Number DaikinWriteControlSet_1_04 {modbus="slave01holding02:0"}
Number DaikinWriteModeSet_1_04 {modbus="slave01holding02:1"}
Number DaikinWriteSetTemp_1_04 {modbus="slave01holding02:2"}
Number DaikinWriteControlSet_1_05 {modbus="slave01holding02:3"}
Number DaikinWriteModeSet_1_05 {modbus="slave01holding02:4"}
Number DaikinWriteSetTemp_1_05 {modbus="slave01holding02:5"}
Number DaikinWriteControlSet_1_06 {modbus="slave01holding02:6"}
Number DaikinWriteModeSet_1_06 {modbus="slave01holding02:7"}
Number DaikinWriteSetTemp_1_06 {modbus="slave01holding02:8"}
Number DaikinWriteControlSet_1_07 {modbus="slave01holding02:9"}
Number DaikinWriteModeSet_1_07 {modbus="slave01holding02:10"}
Number DaikinWriteSetTemp_1_07 {modbus="slave01holding02:11"}
// Set 9-12
Number DaikinWriteControlSet_1_08 {modbus="slave01holding03:0"}
Number DaikinWriteModeSet_1_08 {modbus="slave01holding03:1"}
Number DaikinWriteSetTemp_1_08 {modbus="slave01holding03:2"}
Number DaikinWriteControlSet_1_09 {modbus="slave01holding03:3"}
Number DaikinWriteModeSet_1_09 {modbus="slave01holding03:4"}
Number DaikinWriteSetTemp_1_09 {modbus="slave01holding03:5"}
Number DaikinWriteControlSet_1_10 {modbus="slave01holding03:6"}
Number DaikinWriteModeSet_1_10 {modbus="slave01holding03:7"}
Number DaikinWriteSetTemp_1_10 {modbus="slave01holding03:8"}
Number DaikinWriteControlSet_1_11 {modbus="slave01holding03:9"}
Number DaikinWriteModeSet_1_11 {modbus="slave01holding03:10"}
Number DaikinWriteSetTemp_1_11 {modbus="slave01holding03:11"}
// Set 13 -16
Number DaikinWriteControlSet_1_12 {modbus="slave01holding04:0"}
Number DaikinWriteModeSet_1_12 {modbus="slave01holding04:1"}
Number DaikinWriteSetTemp_1_12 {modbus="slave01holding04:2"}
Number DaikinWriteControlSet_1_13 {modbus="slave01holding04:3"}
Number DaikinWriteModeSet_1_13 {modbus="slave01holding04:4"}
Number DaikinWriteSetTemp_1_13 {modbus="slave01holding04:5"}
Number DaikinWriteControlSet_1_14 {modbus="slave01holding04:6"}
Number DaikinWriteModeSet_1_14 {modbus="slave01holding04:7"}
Number DaikinWriteSetTemp_1_14 {modbus="slave01holding04:8"}
Number DaikinWriteControlSet_1_15 {modbus="slave01holding04:9"}
Number DaikinWriteModeSet_1_15 {modbus="slave01holding04:10"}
Number DaikinWriteSetTemp_1_15 {modbus="slave01holding04:11"}
///////////////////////////////////////////////////////////////////////////////////////////////////
// Items of each Indoor unit
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
// Read Status
///////////////////////////////////////////////////////////////////////////////////////////////////
// Power status
Switch ReadPowerStatus_1_00
Switch ReadPowerStatus_1_01
Switch ReadPowerStatus_1_02
Switch ReadPowerStatus_1_03
Switch ReadPowerStatus_1_04
Switch ReadPowerStatus_1_05
Switch ReadPowerStatus_1_06
Switch ReadPowerStatus_1_07
Switch ReadPowerStatus_1_08
Switch ReadPowerStatus_1_09
Switch ReadPowerStatus_1_10
Switch ReadPowerStatus_1_11
Switch ReadPowerStatus_1_12
Switch ReadPowerStatus_1_13
Switch ReadPowerStatus_1_14
Switch ReadPowerStatus_1_15
// Swing status
String ReadSwingStatus_1_00
String ReadSwingStatus_1_01
String ReadSwingStatus_1_02
String ReadSwingStatus_1_03
String ReadSwingStatus_1_04
String ReadSwingStatus_1_05
String ReadSwingStatus_1_06
String ReadSwingStatus_1_07
String ReadSwingStatus_1_08
String ReadSwingStatus_1_09
String ReadSwingStatus_1_10
String ReadSwingStatus_1_11
String ReadSwingStatus_1_12
String ReadSwingStatus_1_13
String ReadSwingStatus_1_14
String ReadSwingStatus_1_15
// Fan status
String ReadFanStatus_1_00
String ReadFanStatus_1_01
String ReadFanStatus_1_02
String ReadFanStatus_1_03
String ReadFanStatus_1_04
String ReadFanStatus_1_05
String ReadFanStatus_1_06
String ReadFanStatus_1_07
String ReadFanStatus_1_08
String ReadFanStatus_1_09
String ReadFanStatus_1_10
String ReadFanStatus_1_11
String ReadFanStatus_1_12
String ReadFanStatus_1_13
String ReadFanStatus_1_14
String ReadFanStatus_1_15
// Mode status
String ReadModeStatus_1_00
String ReadModeStatus_1_01
String ReadModeStatus_1_02
String ReadModeStatus_1_03
String ReadModeStatus_1_04
String ReadModeStatus_1_05
String ReadModeStatus_1_06
String ReadModeStatus_1_07
String ReadModeStatus_1_08
String ReadModeStatus_1_09
String ReadModeStatus_1_10
String ReadModeStatus_1_11
String ReadModeStatus_1_12
String ReadModeStatus_1_13
String ReadModeStatus_1_14
String ReadModeStatus_1_15
// Set temp status
Number ReadSetTempStatus_1_00
Number ReadSetTempStatus_1_01
Number ReadSetTempStatus_1_02
Number ReadSetTempStatus_1_03
Number ReadSetTempStatus_1_04
Number ReadSetTempStatus_1_05
Number ReadSetTempStatus_1_06
Number ReadSetTempStatus_1_07
Number ReadSetTempStatus_1_08
Number ReadSetTempStatus_1_09
Number ReadSetTempStatus_1_10
Number ReadSetTempStatus_1_11
Number ReadSetTempStatus_1_12
Number ReadSetTempStatus_1_13
Number ReadSetTempStatus_1_14
Number ReadSetTempStatus_1_15
// Room temp status
Number ReadRoomTempStatus_1_00
Number ReadRoomTempStatus_1_01
Number ReadRoomTempStatus_1_02
Number ReadRoomTempStatus_1_03
Number ReadRoomTempStatus_1_04
Number ReadRoomTempStatus_1_05
Number ReadRoomTempStatus_1_06
Number ReadRoomTempStatus_1_07
Number ReadRoomTempStatus_1_08
Number ReadRoomTempStatus_1_09
Number ReadRoomTempStatus_1_10
Number ReadRoomTempStatus_1_11
Number ReadRoomTempStatus_1_12
Number ReadRoomTempStatus_1_13
Number ReadRoomTempStatus_1_14
Number ReadRoomTempStatus_1_15
///////////////////////////////////////////////////////////////////////////////////////////////////
// Write Data
///////////////////////////////////////////////////////////////////////////////////////////////////
// Power status
Switch WritePowerStatus_1_00
Switch WritePowerStatus_1_01
Switch WritePowerStatus_1_02
Switch WritePowerStatus_1_03
Switch WritePowerStatus_1_04
Switch WritePowerStatus_1_05
Switch WritePowerStatus_1_06
Switch WritePowerStatus_1_07
Switch WritePowerStatus_1_08
Switch WritePowerStatus_1_09
Switch WritePowerStatus_1_10
Switch WritePowerStatus_1_11
Switch WritePowerStatus_1_12
Switch WritePowerStatus_1_13
Switch WritePowerStatus_1_14
Switch WritePowerStatus_1_15
// Swing status
String WriteSwingStatus_1_00
String WriteSwingStatus_1_01
String WriteSwingStatus_1_02
String WriteSwingStatus_1_03
String WriteSwingStatus_1_04
String WriteSwingStatus_1_05
String WriteSwingStatus_1_06
String WriteSwingStatus_1_07
String WriteSwingStatus_1_08
String WriteSwingStatus_1_09
String WriteSwingStatus_1_10
String WriteSwingStatus_1_11
String WriteSwingStatus_1_12
String WriteSwingStatus_1_13
String WriteSwingStatus_1_14
String WriteSwingStatus_1_15
// Fan status
String WriteFanStatus_1_00
String WriteFanStatus_1_01
String WriteFanStatus_1_02
String WriteFanStatus_1_03
String WriteFanStatus_1_04
String WriteFanStatus_1_05
String WriteFanStatus_1_06
String WriteFanStatus_1_07
String WriteFanStatus_1_08
String WriteFanStatus_1_09
String WriteFanStatus_1_10
String WriteFanStatus_1_11
String WriteFanStatus_1_12
String WriteFanStatus_1_13
String WriteFanStatus_1_14
String WriteFanStatus_1_15
// Mode status
String WriteModeStatus_1_00
String WriteModeStatus_1_01
String WriteModeStatus_1_02
String WriteModeStatus_1_03
String WriteModeStatus_1_04
String WriteModeStatus_1_05
String WriteModeStatus_1_06
String WriteModeStatus_1_07
String WriteModeStatus_1_08
String WriteModeStatus_1_09
String WriteModeStatus_1_10
String WriteModeStatus_1_11
String WriteModeStatus_1_12
String WriteModeStatus_1_13
String WriteModeStatus_1_14
String WriteModeStatus_1_15
// Set temp status
Number WriteSetTempStatus_1_00
Number WriteSetTempStatus_1_01
Number WriteSetTempStatus_1_02
Number WriteSetTempStatus_1_03
Number WriteSetTempStatus_1_04
Number WriteSetTempStatus_1_05
Number WriteSetTempStatus_1_06
Number WriteSetTempStatus_1_07
Number WriteSetTempStatus_1_08
Number WriteSetTempStatus_1_09
Number WriteSetTempStatus_1_10
Number WriteSetTempStatus_1_11
Number WriteSetTempStatus_1_12
Number WriteSetTempStatus_1_13
Number WriteSetTempStatus_1_14
Number WriteSetTempStatus_1_15
Thanks everyone.