MATE serial out. Negative numbers for FN-DC shunts

A Discussion about Mate to computer serial communications.

Moderators: OutBack Moderator Team, OutBack

MATE serial out. Negative numbers for FN-DC shunts

Postby eddies on Mon Oct 05, 2015 12:38 pm

Hello to the forum.
I am using an Arduino to read the MATEs status packets from the mates serial port. It's all working great, but I can'f seem to figure out how to read the negative values from the FN-DC shunt A to C. It's always positive. I have read the communication guide, but I don't see where it says how I should be looking fo a negative value.

Thanks
-Eddie
eddies
Forum Member
 
Posts: 9
Joined: Mon Oct 05, 2015 9:07 am

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby intellact on Mon Oct 05, 2015 6:53 pm

eddies wrote:I have read the communication guide, but I don't see where it says how I should be looking fo a negative value.

See page 18 - FnDC Status flags.
Andrew Welch, creator of WattPlot
User avatar
intellact
Forum Czar
 
Posts: 694
Joined: Mon Nov 28, 2005 4:20 am
Location: Ontario, Canada

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby timmartin on Tue Oct 06, 2015 4:38 pm

Bit 7 of the extra identifier. 0 means a positive value, 1 means negative.

I'm curious, which arduino are you using? I'm using a Raspberry Pi, and I was thinking about using a NetDunio with a logging shield or something similar.
timmartin
Forum Guru
 
Posts: 278
Joined: Thu Dec 02, 2010 9:31 am
My RE system: ...
Sharp 120W Panels (12)
SunPerfect 230W Panels (9)
Whisper 100 Wind Turbine
Outback FM60 charge controller
Outback FM80 charge controller
Outback VFX3648 inverter/chargers (2)
Outback FlexNet DC
CALB CA400 LiFePO4 3.2V batteries
(32 cells paired together, 1 string = 51.2V 800Ah)

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby timmartin on Thu Sep 29, 2016 10:25 pm

I tested this with an Arduino Ethernet, which is discontinued, but is essentially the same as an UNO with the Ethernet shield integrated.

I found it worked just fine, although I didn't try do any parsing or processing on the arduino. I just grabbed packets and sent them to a server which processed and logged the data. Right now I use a Pi to do this though, so that I can capture data for 14 seconds and send a larger chunk all at once that includes all the Extra Data fields from the FNDC which takes 14 packets to get a complete set.

I still do all the actual parsing and interpreting the data on the server though. It has horsepower to spare and nothing better to do.
timmartin
Forum Guru
 
Posts: 278
Joined: Thu Dec 02, 2010 9:31 am
My RE system: ...
Sharp 120W Panels (12)
SunPerfect 230W Panels (9)
Whisper 100 Wind Turbine
Outback FM60 charge controller
Outback FM80 charge controller
Outback VFX3648 inverter/chargers (2)
Outback FlexNet DC
CALB CA400 LiFePO4 3.2V batteries
(32 cells paired together, 1 string = 51.2V 800Ah)

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby SEYLIONE on Sun Oct 28, 2018 1:30 am

Hey!
I use a Raspberry Pi reading through a wiFi-modem-router, every hour "http://192.168.0.64/Dev_status.cgi?&Port=0" and a small Python script to send the result through that Wifi-modem-router to lsdx.eu/GPV_ZSDX. Worked fine for one month and then nothing. I checked:
- the cat5 cable: OK
- 192.168.0.64 from my PC: OK;
- Internet from my PC: OK its is how I send this post;
- hourly auto reboot: no result
My conclusion is a default in the connection inside the Mate3 toward the Cat5 cable. Has been knowne for a long time, but not of interest to OB's developpers...

Questions:
- is "Dev_Status" what you read?
- dis you ever got communications outages on that Cat5 cable

Thanks for your guidance,
Lionel... lsdx(at)lsdx.eu
User avatar
SEYLIONE
Forum Guru
 
Posts: 123
Joined: Thu Mar 22, 2012 9:16 am
Location: Serre-Chevalier, France
My RE system: Off grid house in the southern french Alps 1740m above sea
level. Commissioned 1st Jul 2012.

4 Bosch 245Wp Panels, 12 OPzS 2V 1 220Ah batteries
Management by OutbackPower: FP1-34 including:
FlexMax 80 Charger, GVFX3024E Converter-charger,
FlexNet DC, Hub, Mate3.

Monitoring every 3 hours over Internet (lsdx.eu/GPV_ZSDX)
by 3G managed by a local microcomputer and router.

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby timmartin on Sun Oct 28, 2018 9:11 am

Some solutions poll that URL for data, but I would say it’s not the most reliable. My system reads the Datastream (UDP packets) sent out by the Mate3, and there are others that even use the APX (sunspec) interface. There’s a serial interface too, which was used in the Days before mate3, but not sure if anyone uses the usb version on mate3. Probably the WattPlot products.
timmartin
Forum Guru
 
Posts: 278
Joined: Thu Dec 02, 2010 9:31 am
My RE system: ...
Sharp 120W Panels (12)
SunPerfect 230W Panels (9)
Whisper 100 Wind Turbine
Outback FM60 charge controller
Outback FM80 charge controller
Outback VFX3648 inverter/chargers (2)
Outback FlexNet DC
CALB CA400 LiFePO4 3.2V batteries
(32 cells paired together, 1 string = 51.2V 800Ah)

Re: MATE serial out. Negative numbers for FN-DC shunts

Postby intellact on Sun Oct 28, 2018 1:19 pm

Correct - WattPlot applications support every possible interface.

From the MATE3 perspective, the UDP and USB interfaces are more reliable than the Modbus (depending on the firmware). The Modbus (with intelligent software) is the most powerful. The USB supports a good collection of predefined commands for determining and changing settings, but needs an optional USB card that may no longer be available. (OutBack?) Also the UDP does not supply information for some newer inverter models under some common MATE3 firmwares.
Andrew Welch, creator of WattPlot
User avatar
intellact
Forum Czar
 
Posts: 694
Joined: Mon Nov 28, 2005 4:20 am
Location: Ontario, Canada


Return to Mate Serial Communications

Who is online

Users browsing this forum: No registered users and 1 guest