Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control yaskawa varispeed F7 VFD using labview ??

I want to control the frequency of VFD (Yaskawa varispeed F7) using labview.

 

 The vi should be like I can know the current freqency and able to change it.

 

What are the possibilities???

 

Please reply.....

 

 

Thanks & regards

 

Naren

0 Kudos
Message 1 of 15
(10,254 Views)

Naren,

 

You can use the MODBUS library to do this.

0 Kudos
Message 2 of 15
(10,243 Views)

Hello Naren,

 

I am attching a link which will give you example codes for using the device .

 

 

http://decibel.ni.com/content/docs/DOC-10161

0 Kudos
Message 3 of 15
(10,218 Views)

I have been able to start the driver and specify the frequency. And i can dread status coils, the problem comes when i try to read the ouput current or the frequency, it seems like labview cannot map the varible to the correct address?

 

Im using and I/O server by the way. DSC and my server is Serial RTU.

0 Kudos
Message 4 of 15
(9,731 Views)

What register addresses are you using?

0 Kudos
Message 5 of 15
(9,726 Views)

The yaskawa driver has the registers tables in Hexadecimal, i map them in decimal in labview with an offset of +1 so:

 

to access register 2h -->        02h = 02d = 400003

                           17h-->       17h = 23d = 400023

 

I read and write to this registers:

 

To control (RUN-STOP-REVERSE)       01H = 400002

To set freqency                                   02H = 400003

To monitor (at_zero-run-reverse)            11H = 400017 addressed by bit 400017.1(at_zero);    400017.2(run);       400017.3(reverse)

 

the registers i cannot read are              26H = d38   to read the frequency

                                                         27H = d39   to read the ouput current

                                                         28H = d40   to read the ouput power

 

I have tried with all instructions (000026; 300026; 400026) even with the array option and i still cannot read them.

0 Kudos
Message 6 of 15
(9,723 Views)

nuarst,

 

Try using register locations from this manual .  This is the manual I always use when talking modbus to a F7 drive.

0 Kudos
Message 8 of 15
(9,720 Views)

Still not able to read the registers,I tried reading the Monitor registers in decimal with 40,000's and 30,000's, No Joy

I am almost sure there is nothing wrong with my configuration since the other registers i am reading seem fine.

I m  pretty sure is just a little checkmarck or some option that i cannot see.

NI support is also looking for a possible answer. I think I have talk with everyone on the Latin American Support Team. I have gone throught each step with them and they tell me everything is OK. But still...........No joy, this is a really important matter to me since the application i am working on is close to be finished and this problem is keeping me waaaaay to much, I cant do this now in VB o C++, its too late.

0 Kudos
Message 9 of 15
(9,676 Views)

nuarst,

 

You might consider creating a test vi that uses the modbus lib from NI to try and read the monitor registers.  This would take the DSC module out of the mix and let you verify the correct registers.

0 Kudos
Message 10 of 15
(9,667 Views)