Jump to content
Sign in to follow this  
stackpointer

V130-33-T2 as master to altivar 312 VFD

Recommended Posts

Dear all,

 

I am dealing with a project to control a VFD altivar 312 with a V130-33-T2.

 

It is my first time with a PLC, have choosed unitronics, because I think that it is a great piece of equipment with a good cost.

 

My problem is that I do not understand how to read a register from the VFD;

 

I want to read ETA status word (W3201), it is a 16 bit register. Every bit gives the most important information on the current status of the VFD. Then I will use these bits to perform a check, give information on the display, and make decisions.

 

Reading the projects examples, I understand how to configure the V130 as a Master.

Understand how to enable the port com and how to enable the modbus.

 

But do not understand how do I have to read the register. 

 

I have done the following:

 

Slave ID 3

Slave start of vector 3201

Read: vector lenght 1

Master: Start of vector MB100

Status messages MI0

Total sessions DW0

Acknowledgements DW1

 

And this is what I do not understand, the 16 bits will be stored in MB100 as an integer decimal number, or every bit will be stored in MB100, MB101,...,MB115?

 

Thanks a lot for your answers, the learning curve is hard in the beginnings.

 

Regards,

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Following on from the previous post,

 

Once you get the block of 16-bits into an MI on the PLC, use the "Numeric to Bits" function from the "Vector" menu to unpack the value to 16 individual bits.

Share this post


Link to post
Share on other sites

Dear Gabriel and Simon, :)

 

Thanks for the answers.

 

Using now Read Holding Register (03), and using MI's.

 

Using the Num to Bits function.

 

Want to have all the info to perform checks.

 

Regards,

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...