John_R Posted August 4, 2017 Report Share Posted August 4, 2017 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. 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 V120 reading speed feedback of 30Hz when the index equals in that net V120 reading something else when the index does not equal in that net I'm starting to wonder if it has something to do with Enhanced Vision vs. Standard Vision? Any thoughts? Regards, JohnR Quote Link to comment Share on other sites More sharing options...
Cam Posted August 4, 2017 Report Share Posted August 4, 2017 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 Quote Link to comment Share on other sites More sharing options...
John_R Posted August 5, 2017 Author Report Share Posted August 5, 2017 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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted August 6, 2017 MVP 2022 Report Share Posted August 6, 2017 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 Quote Link to comment Share on other sites More sharing options...
Akash Ashish Kerketta Posted July 22, 2019 Report Share Posted July 22, 2019 Hey All, I'm new to the unitronics series PLCs. I'm using visilogic software and I've to control the speed of my vfd (powerflex 4M) over modbus. Can anyone help me how to do this? Thanks, Akash Quote Link to comment Share on other sites More sharing options...
John_R Posted July 22, 2019 Author Report Share Posted July 22, 2019 here"s a little "Modbus Checker" program that I use with a V120 for testing Modbus controls to A-B powerflex VFD's You can dissect this and see how the Modbus is done in Vision Of course there are some hardware settings also, you must set the jumpers in the V120 to make port-2 RS485 and set the powerflex to run on modbus you will also need a cable going from RJ-11 to RJ-45 I don't have the pin-out in front of me but I'm sure it's easy to find... JohnR V120 PowerFlex.vlp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.