inverter-connect
inverter-connect copied to clipboard
Fix version info when HEX value appears
It appears that the communication protocol version number major grew over 9 and caused python to crash. This is now fixed with conversion to decimal and to string to be joined.
Inventer Version Information
┏━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━┓
┃ Counter ┃ Name ┃ Address ┃ Address ┃ Value ┃ ┃
┃ ┃ ┃ (hex) ┃ (dec) ┃ (hex) ┃ Version ┃
┡━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━┩
│ 1 │ Control Board Firmware │ 0xd │ 13 │ 0000 │ v0.0.0.0 │
│ 2 │ Communication Board Firmware │ 0xf │ 15 │ 2006 │ v2.0.0.6 │
│ 3 │ Communication Protocol │ 0x14 │ 20 │ c043 │ v12.0.4.3 │
└─────────┴──────────────────────────────┴─────────┴─────────┴───────┴───────────┘