Jump to content

AB powerflex 4M & V570


Recommended Posts

Hi

I am writing to enquire about a problem that bothers me. I am new to the "ladder" programming, but as I have one V570module and one VFD powerflex in my possession, I have

decided to link them as master and slave. I have examined the examples of modbus communication and I did the following scheme. It is functioning, but I would like to know is

there a better way to write and read in several registers at once?

post-11847-0-04738300-1360508981_thumb.jpg

Link to comment
Share on other sites

In this case make a read as one larger group even if you only need one or two items out of that read. What slows you down the most, is how many different read and write events you have in your unitronics program to any outside devices.

The read command 3 block will allow you to read many registers at the same time 9as long as all of the registers you want to read are the same. The unitronics will allow you to read up to I think 124 integers (16 bit) or 62 double words (32 Bit). You can also use the code 16 write instead of the code 6 write you used in your example. Code six is one write at a time and 16 allows multiple writes. Again 124 integers and 62 doubles.

Keep in mind these are the limitation on the Unitronics side. I personnaly hardley ever use Allen Bradley VFDs so I am not familliar with the maximun number of reads it allows for a code 6 and writes for a code 16. Sorry but you will have to look those up in the AB Modbus manual.

Just an extra note. Unitronics does not allow any MI to be an unsigned integer and you may have integers on your pwerflex 700 side that will exceed the -32768 to +32676 that a Unitronics MI can have. You can always store this exra data into a ML or other register that will work, however it will require you to make 2 or 3 reads just to get one set of data if you do this. As long as you are picking up an integer (even if it is unsigned on the AB side) you can store this into the standard MI so you do not have to break your reads up and convert it in your ladder logic Or just keep in mind that a number greater than +32767 will show up as a negative number and make your decision acordingly keeping the data in the standard MI.

Good luck and have fun

Keith

Link to comment
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.

×
×
  • Create New...