Jump to content
OMRON Forums

How to anticipate velocity changes in lookahead


Recommended Posts

Hello everyone,

I'm trying to synchronize my pumping system flow rate to my motion system commanded speed.
I am using a CK3E 8 axis, and my motors are defined in Coord[1] which uses a kinematic routine and lookahead (LHDistance = 250, SegMoveTime = 20).

Because my pumping system has a lot of inertia, I need to anticipate a change in XY velocity about 2 seconds before segment execution and change my pump speed command accordingly.

How can I achieve this ?

Best regards,

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thanks for the reply.

I need the time delay to be a parameter that can be changed by the operator while the Motion Program is running so this solution won't do it unfortunately. But I will keep it in mind, it might be useful for some testing.

I was thinking about reading the XYZ coordinates or Motor[x].DesPos from lookahead segments. I found Coord[x].LHData but it is undocumented and I could not find anything obvious. Maybe using the Coord[x].LHStart address + n * BlockSize and somehow read values from the memory directly ?

I'm sure there is a better way to do this but I can't figure it out at the moment.

Link to comment
Share on other sites

  • 2 weeks later...

I think DaveBarnett's method is actually a good method.

You can ensure precise synchronization of the two coordinate systems through TimeBase and achieve precise delay through PLC0.
First set Coord[x].DesTimeBase=0 in the two coordinate systems, and then run the running program. At this time, the motor will remain stationary. Then first restore the Coord[x].DesTimeBase of the first coordinate system to Sys.ServoPeriod, and start the countdown, and then restore the Coord[x].DesTimeBase of the second coordinate system.

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.

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...