LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ABB ACS550 Modbus Command

Hello , I have a small project of my own : I have to control a 3 Phase Motor using an ABB ACS550 Driver. The whole communication process is done through the USB port to an RS485 interface.My Problem is with starting the VI, because, I can't figure out a block diagram for it, using the NI Modbus library. If anyone can help me start up my app, I will gladly accept your help.I also attached the driver user's manual download link . Thank you !

 

http://www05.abb.com/global/scot/scot201.nsf/veritydisplay/87d21c000e17fc33c12575ef004f3107/$file/en...

0 Kudos
Message 1 of 10
(12,534 Views)

Bobitzza:

 

I did some looking around, and I think the best resources for getting started with the Modbus Library are the ones linked form the product page. If you go through the list at the bottom (below the download link for the library), there are several Developer Zone pages linked on the overview of the Modbus Library and getting started with your first application.

 

Hope that helps!

Caleb Harris

National Instruments | http://www.ni.com/support
Message 2 of 10
(12,512 Views)

Hey again. Your suggestion was quite a handful, also very useful for me.Now my problem is identifying which registers and coils to use,  hence the catalog attached earlier.I am trying to get a ABB-oriented application from someone, in order to take it to the next level.If anyone has an idea, sketch or .vi  ,  it would be for the best and faster solving of my problem.Thanks for your help until now, by the way !

0 Kudos
Message 3 of 10
(12,479 Views)

Bobitzza:

 

I honestly don't know the first thing about ABB drive controllers. If no one on here has any ABB examples, your best bet is probably to go through ABB support.

Caleb Harris

National Instruments | http://www.ni.com/support
0 Kudos
Message 4 of 10
(12,466 Views)

Bobitzza,

 

In my case, I used MB Serial Master Query.vi from the NI-MODBUS LabVIEW Library 8.6. 

 

First, set the ABB's parameters as follow:

9802--> [1] STD MODBUS

5301--> 1 (assigned this ABB as slave address 1)

5303: 9.6 kb/s

5304: 8n2

5305: ABB DRV LIM

 

then reboot your ABB 550

 

then open LabView MB Serial Master Query.vi  from the NI-MODBUS LabVIEW Library 8.6.

in the front panel,

1. chosed the visa name,

2. select "RTU", your slave address "( the address number you assigned to your ABB550 )". 

3. Modbus Command:I have 4 modes

    a. ready -> Function code: 3

                    Starting address: 102

                    Quantity: 1

                    Data: 0

                    Discrete: F

    b.off ->      Function code: 6

                    Starting address: 0

                    Quantity: 1

                    Data: 1150

                    Discrete: F

    c.on ->      Function code: 6

                    Starting address: 0

                    Quantity: 1

                    Data: 1151

                    Discrete: F

    d.speed control ->     

                    Function code: 6

                    Starting address: 1

                    Quantity:1

                    Data: (in my case, my input is Hz), Data = Hz *20000/60

                    Discrete: F

 

good luck

Hsien

Message 5 of 10
(12,387 Views)

Hy again !

Thanks for your tip, I'm on my way implementing these settings, try to get it up to speed.

I'll let you know if I manage to do so.

Best regards, C

0 Kudos
Message 6 of 10
(12,370 Views)

Hello again !

I have another question for you :

How did you come up with the starting addresses and data values for the commands? As you probably know, the datasheet is quite complicated to decode, so I'm trying to figure it out. It seems  I need an ABB specialist for this.What type of encoding is it and what part of the command word do they affect? Thanks in advance.

Best regards, C

0 Kudos
Message 7 of 10
(12,352 Views)

the starting address is described in the link you provided on p207, and section p211 (modbus protocol tech data). the starting address from the manual needs to be substract 1 for used in labview's starting address.

 

I forget where I found the data value formula/equation for the command. You may call ABB tech support.

 

 

 

0 Kudos
Message 8 of 10
(12,341 Views)

ok, i got it with the starting adress, but :

where does the data value from  the "on" command come from ?

also, the speed command has a 102 starting adress, in the document  says 40102.  so how did you come up with the value of 1 ? 

you say ready has 102, but the doc doesn't say anything about it...

0 Kudos
Message 9 of 10
(12,330 Views)

Take a look at the following page for Modbus adapter modules.

 

http://www.clrwtr.com/ABB-R-Series-Fieldbus-Modules.htm

Message 10 of 10
(10,659 Views)