You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old November 20th, 2023, 10:42 AM   #1
Elcan
Lifetime Supporting Member
United States

Elcan is offline
 
Join Date: Apr 2008
Location: NC
Posts: 926
Kinetix, superimposing movements.

Hi all,
I am not too experienced with some of the Allen Bradley motion instructions, and I'm translating a program from a Trio PLC to an Allen Bradley PLC.
The Trio instruction I need to translate is ADDAX. Please see attached picture.

What would be the RSLogix equivalent?

Thank you!
Attached Images
File Type: png ADDAX.png (24.9 KB, 50 views)
  Reply With Quote
Old November 20th, 2023, 02:14 PM   #2
kamenges
Member
United States

kamenges is offline
 
kamenges's Avatar
 
Join Date: Nov 2002
Location: Brillion, WI
Posts: 4,310
Unfortunately I don't have anything in front of me to test this with right now. However, you should be able to issue two separate move commands to the same axis. The motion planner will combine the requirements of the two profiles to produce a combined move profile. Just use a different motion instruction for each move (different instruction tags).

Keith
  Reply With Quote
Old November 20th, 2023, 03:22 PM   #3
Elcan
Lifetime Supporting Member
United States

Elcan is offline
 
Join Date: Apr 2008
Location: NC
Posts: 926
Quote:
Originally Posted by kamenges View Post
Unfortunately I don't have anything in front of me to test this with right now. However, you should be able to issue two separate move commands to the same axis. The motion planner will combine the requirements of the two profiles to produce a combined move profile. Just use a different motion instruction for each move (different instruction tags).

Keith
Isn't the second instruction buffered till the first one is finished?
  Reply With Quote
Old November 20th, 2023, 04:47 PM   #4
kamenges
Member
United States

kamenges is offline
 
kamenges's Avatar
 
Join Date: Nov 2002
Location: Brillion, WI
Posts: 4,310
I don't believe so. It may depend on whether the moves are absolute or incremental. But I think the second move initiate and add to the second as long as none of the axis maximums are violated.

Keith
  Reply With Quote
Old November 20th, 2023, 05:37 PM   #5
ASF
Lifetime Supporting Member
Australia

ASF is offline
 
Join Date: Jun 2012
Location: Australia
Posts: 3,854
Again speaking only from memory - but check out the "Merge" feature of various motion instructions. I've never used it in anger, but from what I remember it allows you to determine whether a new motion command replaces already running motion commands, or is merged with them/added to them in some capacity. It might achieve what you're after
  Reply With Quote
Old November 20th, 2023, 05:52 PM   #6
kamenges
Member
United States

kamenges is offline
 
kamenges's Avatar
 
Join Date: Nov 2002
Location: Brillion, WI
Posts: 4,310
It isn't as straightforward as I was making it out to be but it can be done.

I found a plc lying around here and set up a couple of virtual axes. If you do what I was originally saying you will simply update the motion parameters of the move in progress and end up with a move distance equal to the sum of the two moves, assuming they are both incremental. If one of them is absolute I suspect it is the absolute position offset by the incremental position. It all happens as a single move with the latest accel and max speed in force based on the last MAM to operate.

To do what you want to do (as far as I know) you need to use an additional virtual axis to provide the base move. You then need to gear the real axis to that virtual axis. In doing this you will have the real axis follow any move made by the virtual axis. Program an MAM for the virtual axis with the parameters of the "base" move. Program a second MAM for the real axis with the parameters of the "adder" move. In reality it doesn't matter which axis makes the base moves and which axis makes the adder moves. they are superimposed in either case.

This will result in something that looks like the attached.

Keith
Attached Images
File Type: jpg Screenshot 2023-11-20 154028.jpg (6.9 KB, 29 views)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Kinetix 6200: Guard Status not selected? AK5fa LIVE PLC Questions And Answers 1 July 2nd, 2023 04:42 AM
Kinetix 350 EOL is Dec 2022 - Any issues to change to Kinetix 5300? lunenburger LIVE PLC Questions And Answers 6 December 18th, 2021 12:30 AM
Kinetix 5500 bugs vinay.chawla LIVE PLC Questions And Answers 6 August 22nd, 2019 08:47 PM
AB Kinetix 350/5500 Drive with Non AB Motor Usireland LIVE PLC Questions And Answers 2 June 11th, 2014 07:51 AM
Info about error codes in Kinetix 6500 Hugo_Cruz LIVE PLC Questions And Answers 1 July 25th, 2012 08:43 PM


All times are GMT -4. The time now is 05:20 PM.


.