Jump to content
argoa

Unitronics, Festo Motor controller and Modbus TCP

Recommended Posts

Is it possible to control Festo Motor controller CMMO-ST-C5-1-LKP over Modbus TCP with unitronics controller?

Festo drive have also ModBus TCP but with FHPP (Festo Handling and Positioning Profile).

Share this post


Link to post
Share on other sites

I have communication map. But when I trying to read holding register (03 and I know that festo controller supports this) I get communication message 7.
Master-slave data incorrectly syncronized.
That means that master has found incompatible elements in the data sent between masterand slave.

Share this post


Link to post
Share on other sites

I am using festo modbus TCP/IP with cmmo-st-c5-1-lkp.

Works fine, but is one problem.

If restarts only PLC, but festo stay alive, connection lost and socket status stay 21  (PLC V700), need to restart festo controller or Ethernet switch. 

 

Share this post


Link to post
Share on other sites

 

I am using the exact same controller specified in the first post(CMMO-ST-C5-1-LKP).  Am wondering if somebody that got it to work could give me any pointers to get started.  Am pretty sure the setup is done correctly on the controller, but I'm having problems figuring out what the modbus addresses should be.  If it is not too much harder, I would like to access some parameters as well as the cyclic data.  I want to do direct positioning.

I appreciate any help!

Share this post


Link to post
Share on other sites

Hey Hoover, 

I put together many solid Uni/Festo applications. I can email you my demo for V350 supporting FHPP in profile positioning and direct mode (not record select). What is cool about Festo Handling Positioning Protocol is it works exactly the same over tcp or canbus. When reading from the cmmo first 4 bytes are status bits and the last 4bytes are a double word representing position/speed/current draw % depending on which mode your in. When you write these 8 bytes they are control bits and ref command.

  I’m on my iPad so I’ll try and post the vlp from laptop tomorrow. 

Share this post


Link to post
Share on other sites

Jason Hartley,

That would be greatly appreciated!!   I'm actually using a Unistream PLC, but should be able to get what I need from the vlp.

Thank You

-------------------------------------------

6 hours later, this post still not approved by a moderator so will just edit it....

I did get a working program now.  Figured out to always use modbus address zero.  I'm sure I could still learn a lot from a working example....

Share this post


Link to post
Share on other sites
9 hours ago, ahoover said:

6 hours later, this post still not approved by a moderator so will just edit it....

Apparently some of the moderators have lives or like to sleep at night. Not me of course - I'm just lazy. :)

 

  • Like 1

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

×