Jump to content

Recommended Posts

Hey All,

Just ran across a quirky little thing while working on a new project,
I'm wondering if anyone else has experienced this.....

I'm doing MODBUS control of an AB Powerflex VFD , and mind you this is not my first experience doing this, I've done several projects using V570's, and usually do not run into problems.

This time I'm building some controls around a V120, and I am having an issue reading the speed feedback (frequency) from the VFD.

I've compared my logic to a previous project (logic looks the same, only difference is the MI's used in the RHR FB), and even set up two PLC's on my workbench (V570 & V120), and hooked up each to the same VFD to test.

Problem I have is that when the net is true, I get the correct reading, but when the net is not true I get some other number in MI 13. I have searched MI 13 and it shows it only being used in the RHR FB and on the display.

5984524d190f4_MI13search.PNG.598618270d8c399a7454af05ceb85667.PNG

I have slowed down my index to 1 Sec per step so I can see it in debug, and find that if I unplug my MODBUS cable while The net is true, then MI 13 stays put even after the net goes false, so it doesn't seem that the funny number is being driven by something in the program.

 

V570 reading speed feedback of 60Hz

598452710f131_570modbus.PNG.37d0faf964f3555db87ac78478e17275.PNG

V120 reading speed feedback of 30Hz when the index equals in that net

598452a3903e5_120modbusequal.PNG.2931af38d6c57c647f49f1403a231ca2.PNG

V120 reading something else when the index does not equal in that net

598452cbc1686_120modbusnotequal.PNG.29303ccbd21a7cd1c5c36d957b275453.PNG

I'm starting to wonder if it has something to do with Enhanced Vision vs. Standard Vision?

Any thoughts?

Regards,
JohnR

Share this post


Link to post
Share on other sites

Hi John,

Are you doing any Vector Fills or Copies where the index starts below MI 13 and the length is causing MI 13 to be over written?  The find function will not show MI13 linked to the Vector Copy or Fill if it's is part of the MI's in being written to due to the length of the vector.

 

Cam

Share this post


Link to post
Share on other sites

Hi Cam,

Good call.......

Silly old me, I have a RHR to get the fault code from the VFD right below MI 13, and the vector length was set to 16.....

DUH.......

JohnR

Share this post


Link to post
Share on other sites

Yes, good call, Cam.

For this very reason I always identify all used areas of vectors sequentially.  eg. 130CbusRcv1, 130CbusRcv2 etc.

I have always pondered (grumbled?) why the program does not generate such filling itself.

cheers,

Aus

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×