08-04-2022 05:18 AM
Hey Sir,
I am working as an electrical engineering+Labview developer(CLAD Certified) in my company.
I have a battery in which we are using daly BMS, so i am trying to Connect that battery through RS485 and take all the data but i am not able to fetch any data.
please help me in this or any suggestions.
here i am attaching all the files related.
08-04-2022 06:05 AM
Hi Parabhash.
What files am I looking at? I can't see any VI's in the files you've shared.
What hardware are you using? What have you tried so far? What issues did you see?
Have you looked at any RS485 examples?
If you want someone to write code for you, I'd be happy do so, but that's a service I charge for.
08-04-2022 08:56 AM - edited 08-04-2022 09:00 AM
Judging from my work with LG-Chem and Sony lithium battery packs, I would say the communications protocol looks like CAN bus.
The NI-Can package makes all it quite easy to work with.
08-05-2022 01:04 AM
thank you for the reply sir,
i did number of tries with VISA module, Modbus module and numerous things. the only thing i am not getting is to assign the addresses for send and receive.
here i am attaching all my work
08-05-2022 01:08 AM
thanks for the reply,
here in daly BMS also we have CAN communication with three wire H,L, Gnd
but i havent worked on CAN Communication, if you suggest me how can i do it...then i ll be thankful
08-05-2022 02:29 AM
Personally, I'm more used to Can applications, with the NI-XNET drivers.
If you're just getting into it, I'd recommend Hooovahh's Blog from the forum user with the same name. It helped me out a lot when I first started.
Regarding the VISA code you have, I'd recommend that you stop using the bytes at port.
08-05-2022 02:33 AM
is there anything you can help me how can i assign addresses in Labview according to the document i shared?
Thank you
08-05-2022 03:04 AM
I'm assuming you're referring to the Daly CAN protocol here?
First off you'll need a card that can communicate over CAN. secondly, you'll need a database of frames and signals, Nice suppliers will distribute this for the BMS in question. and if you have this, you don't need to worry about bits, addresses/identifiers
If you do not have this file, you can create your own using the NI XNET database editor. By the looks of it what's referred to as addresses in the document, is what's referred to as identifiers in NI speak.
08-06-2022 02:24 AM
Sir,
I am working on RS-485 protocol, if I ll not get success in RS-485 then only I ll choose CAN Protocol because in this Daly BMS I have both rs485 and can communication.
My question is..
As I shared document of Daly BMS RS-485 protocol...in that frame head start flag is 0*A5 then upper address is 0*80 then message IDs are 0*91...
So how ll i assign hex codes in VISA read and write block to get all the data..
Please help me in this