Source language: Translate to:

modbus

Using NeoBook to control external hardware and devices.

Moderator: Neosoft Support

modbus

Postby frednet » Mon Jul 24, 2017 1:58 pm

Has anyone managed to control a modbus device through neobook?
Building a rotating Solar panel I need a way to get the data from the epever solar charge controller into neobook.
here is a link to a pdf about the specificshttps://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwiCmsrf5KLVAhXEvRoKHXuXBTsQFggpMAA&url=https%3A%2F%2Fwww.developpez.net%2Fforums%2Fattachments%2Fp196506d1451307310%2Fsystemes%2Fautres-systemes%2Fautomation%2Fprobleme-com-modbus-pl7-pro%2Fcontrollerprotocolv2.3.pdf%2F&usg=AFQjCNF7qo1r_nsTvy1PMYNulLN1BpwH2A&cad=rja
I'm looking for a routine to read the real time data. Anyone with experience doing something like that?
User avatar
frednet
 
Posts: 88
Joined: Fri Sep 23, 2005 4:29 am
Location: netherlands

Re: modbus

Postby Neosoft Support » Fri Jul 28, 2017 5:40 pm

If you're using a serial (com port) interface, you could try this plug-in:

http://neosoftwarecom.ipower.com/neobook/modules/plugins/singlefile.php?cid=3&lid=279

Otherwise, it probably would require a custom plug-in.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5616
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: modbus

Postby frednet » Sat Feb 24, 2018 3:26 am

Neosoft Support wrote:If you're using a serial (com port) interface, you could try this plug-in:

http://neosoftwarecom.ipower.com/neobook/modules/plugins/singlefile.php?cid=3&lid=279

Otherwise, it probably would require a custom plug-in.


Sorry for the delay, I missed your response.
I have been wrestling with the serial port module.
I want of cource no less than saving the world with this :)

Modbus rtu is a serial protocol used for reading and controlling the solar charger that now feeds part of my energy needs, hence saving the world....

everywere I read the modbus protocol is easy... well heck, not if you are on windows. in 1984 life was so much easyer, just peeking and pooking with my atom computer. Bget and bput commands just to read and write hex characters wherever I want. End of ranting :)

I'm not getting anywhere with the plugin npCompWriteString and npCompReadString commands. in the example below a string is given that needs to be send as hex string, but how can i do that?

Read real-time battery voltage Device ID:0x01 Function code: 0x04 Register Address: 0x3104 Register count: 0x0001 Send command: 01 04 31 04 00 01 7E F7
Receive command: 01 04 02 04 CE 3A 64 Read Holding Register Value: 0x04CE 0x04CE (hex) = 1230 (dec) 1230 / 100 = 12.3 volt


It seems to me the plugin only wants to send asci, or am i overlooking the obvios here somewhere?

any help very much appreciated.. Fred
User avatar
frednet
 
Posts: 88
Joined: Fri Sep 23, 2005 4:29 am
Location: netherlands


Return to Neobook and Hardware Control

Who is online

Users browsing this forum: No registered users and 1 guest

cron