LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daly Battery BMS Data in Labview Through RS485

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.

Download All
0 Kudos
Message 1 of 9
(4,140 Views)

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. 

 

 

Kind regards
LabVIEW Fairy

cRIO Enthusiast
Please mark solutions when appropriate.
Unofficial Forum Rules and Guidelines
0 Kudos
Message 2 of 9
(4,128 Views)

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.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 9
(4,108 Views)

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

Download All
0 Kudos
Message 4 of 9
(4,071 Views)

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

0 Kudos
Message 5 of 9
(4,070 Views)

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.


Kind regards
LabVIEW Fairy

cRIO Enthusiast
Please mark solutions when appropriate.
Unofficial Forum Rules and Guidelines
0 Kudos
Message 6 of 9
(4,052 Views)

is there anything you can help me how can i assign addresses in Labview according to the document i shared?

 

Thank you

0 Kudos
Message 7 of 9
(4,047 Views)

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. 

Kind regards
LabVIEW Fairy

cRIO Enthusiast
Please mark solutions when appropriate.
Unofficial Forum Rules and Guidelines
0 Kudos
Message 8 of 9
(4,040 Views)

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

0 Kudos
Message 9 of 9
(4,018 Views)