User Tag List

Results 1 to 7 of 7

Thread: MicroLogix 1200 to PowerFlex 4 using Modbus

  1. #1
    Administrator Shawn Tierney's Avatar
    Join Date
    Sep 2016
    Location
    Berkshires, MA
    Posts
    2,305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    5
    Thanked in
    5 Posts

    MicroLogix 1200 to PowerFlex 4 using Modbus

    This second program is based on the first, but uses the Modbus Master protocol available in the latest release of...

    Click here to view the article.
    Looking for affordable automation training? If you are, check out my courses at TheAutomationSchool.com!

  2. #2
    Administrator Shawn Tierney's Avatar
    Join Date
    Sep 2016
    Location
    Berkshires, MA
    Posts
    2,305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    5
    Thanked in
    5 Posts
    Update: MicroLogix 1200 to PowerFlex 4 using Modbus is now available for a $1 donation to our website at:

    https://theautomationexchange.com/pr...rogram-bundle/
    Looking for affordable automation training? If you are, check out my courses at TheAutomationSchool.com!

  3. #3
    Member LcAuto's Avatar
    Join Date
    May 2019
    Location
    Charleston, SC
    Posts
    2
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts

    PowerFlex 4M Modbus Communications

    Shawn,

    I have a project with 5 powerflex 4m controlled by a micrologix PLC via modbus.

    I am able to control and monitor the powerflex with no problem but would like to be able to monitor drive temperature, adjust ramp speeds and min max speeds as well.

    Using info from the AB website and others, I have tried to read the info I want but have not been successful.

    Hoping you can point me in the right direction. If you can get me started I think I can work everything out.


    JAQ

  4. #4
    Administrator Shawn Tierney's Avatar
    Join Date
    Sep 2016
    Location
    Berkshires, MA
    Posts
    2,305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    5
    Thanked in
    5 Posts
    Good afternoon @LcAuto,

    So you're using MicroLogix with the 4m and Modbus? Last time I ran into an issue doing this is was that the address was off by 1 as some modbus devices are 0 based, and some are 1 based.

    Did you try the code in the PF4 book I mention in the article?

    Shawn Tierney,
    Automation Instructor at TheAutomationSchool.com
    Looking for affordable automation training? If you are, check out my courses at TheAutomationSchool.com!

  5. #5
    Member LcAuto's Avatar
    Join Date
    May 2019
    Location
    Charleston, SC
    Posts
    2
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    I am aware of the address offset and have taken that into account. Figured that one out by trial and error a while back.

    I am not able to access the article mentioned. I get a page referring to maintenance mode.

    I have looked through the powerflex 4 and 4M manuals and think I am following the instructions correctly.

    The good thing is the job is close and the project is an internal one for maintenance purposes for my own use.


    Going to the site later this week or the first of next week to do some further testing on this issue.



    JAQ

  6. #6
    Administrator Shawn Tierney's Avatar
    Join Date
    Sep 2016
    Location
    Berkshires, MA
    Posts
    2,305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    5
    Thanked in
    5 Posts
    So for anyone who comes across this thread, first let me say the article this thread is for is:

    https://theautomationblog.com/microl...-using-modbus/

    And the manuals my code is based on is linked below:

    https://literature.rockwellautomatio...m001_-en-e.pdf
    https://literature.rockwellautomatio...m002_-en-p.pdf

    While TheAutomationExchange is down while I move it, you can still access the very same code inside the above mentioned manuals.

    And having using this code dozens of times in the field, I can confirm it works.

    The biggest mistakes I've seen people make is either (1) having your address off by 1 or (2) reversing your wiring.

    PS - Here's a picture of my notes from my code - I put a lot of notes in there to help folks, but sometimes they just can't get it on their own and need to hire a programmer:

    Looking for affordable automation training? If you are, check out my courses at TheAutomationSchool.com!

  7. #7
    Administrator Shawn Tierney's Avatar
    Join Date
    Sep 2016
    Location
    Berkshires, MA
    Posts
    2,305
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Thanks Given 
    21
    Thanks Thanks Received 
    5
    Thanked in
    5 Posts
    I should probably also mention this is from 2004 ;-)
    Looking for affordable automation training? If you are, check out my courses at TheAutomationSchool.com!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •