Re: [Minimalmodbus-list] Morningstar SunSaver MPPT
Status: Beta
Brought to you by:
pyhys
|
From: Jonas B. <jon...@ho...> - 2014-10-19 20:34:04
|
Best Russel, sorry for the late reply. I was looking into the documentation for your battery charging regulator: http://support.morningstarcorp.com/wp-content/uploads/2014/07/SSMPPT.APP _.Modbus.EN_.10.pdf On page 5, it says Write Single Coil (0x05). The address for reset is 0x00F. "Single Coil" is in practical terms a bit. So I guess you should use the command: write_bit(0xff, 1, functioncode=5) See http://minimalmodbus.sourceforge.net/#implemented-functions Please give it a try, and report back. Best regards Jonas <-----Ursprungligt Meddelande-----> From: Russell Nelson [rus...@gm...] Sent: 30/9/2014 3:34:06 PM To: min...@li... Subject: [Minimalmodbus-list] Morningstar SunSaver MPPT Hi. I'm trying to command the Morningstar SunSaver MPPT to reset. That's register 0xff, writing a 1. Trouble is that they only support using function 5 to do that, and write_register() rejects all but 6 and 10. I got it to work by adding 5 to the list. I don't know if this is the right thing to do in general, but it works for me. Hope this is helpful. Like this: _checkFunctioncode(functioncode, [5, 6, 16]) and then like this: instrument.write_register(0xff,1, functioncode=5) ------------------------------------------------------------------------ ------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.cl ktrk _______________________________________________ Minimalmodbus-list mailing list Min...@li... https://lists.sourceforge.net/lists/listinfo/minimalmodbus-list . |