Good evening to all of you.
I'm trying to read PGN12503 // PGN12504 which are deprecated but still used in several products for AC In and AC out.
. When I connect my actisence I can find those PGN sent by an official product and this is the content:
The product connected can read 3 AC lines and send voltages, but also frequency, Amperage .... (only for the first 2 inputs). So, there is 3 PGN 12504. On each line:
The first data is 00 or 01 or 02 is the Instance
The second data is the number of AC lines 1 if single phase, 3 if 3 phases.
The third one is always FC. probably the broadcast information according to the excellent topic MNEA2000 Shield here:
NMEA2000 Shield
after we can find the voltage "C3 59" (read 59 C3) which is 229.79V
just after, also in 2 octets "00 00" seems to be the Amps (C8-00 (read 00C8)) for 20.0 A.
After that, I can read a data moving from 81 to 8A (couldn't identify as it's maybe a partial information.
Couldn't find the end of this PNG and I don't know where is the frequency and what are the other information (lenght 20, fields 12).
Is someone can give me a solution to read the 12 fields so I can identify each of them and also complete the excellent library N2kMessages.h et N2KMessages.cpp or at least help me to understand how it's working. PNG missing on this library: 127503 and 127504 (Mastervolt) and 65013 - 65014 and 65016 (Victron). (I'm not good enough yet but I'm working on it )
This can help many people to adapt Victron and mastervolt installation by transfering the deprecated PNG to the new PNG. (I will post that as soon as it's working)...
I'm working with Arduino DUE (CAN output) and an homemade ISO1040 as interface. it seems to work as I could see the excellent battery monitor N2K example on actisence.
Thank you for your help.