Ok, so I've got my "RS485 forwarder" working and the battery and inverter appear to be working normally. It took a while to get it working so that neither the battery or the inverter would know the data had changed, but it's working great now.
Attachment1: RS485_Forwarder.ino - code for forwarding
Attachment2: Serial1_Battery.txt - data being received from the inverter in HEX format
Attachment3: Serial2_Inverter.txt - data being received from the battery in HEX format
The code basically forward anything received on Serial1 to Serial2 and vice versa.
The question is now, how do I construct a message to send to the inverter to get the data back in the range 0x0200 to 0x0245 as referenced in the Inverter manual I attached in my original post (starts at page 9)?
I have checked the data coming from the inverter (as attached - Serial2) by converting them in to Integers (8 bit) and Words (16 bit) and they do not correspond to any data I'm expecting so I believe the data I'm getting is unrelated to the information I want.
RS485_Forwarder.ino (5.01 KB)
Serial1_Battery.txt (2.92 KB)
Serial2_Inverter.txt (19.2 KB)