![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Apr 2022
Location: Quebec
Posts: 6
|
![]()
Hi everyone!
I'm starting out with motion and was given someone else's program to try and add features. Basically, there is a spool that turns and gets material fed on. It spins in only one direction and is sitting on a axis that goes from left to right, right to left, until the system is stopped. This distributes the product evenly on the spool. They want me to add a way to immediately change the direction (going left or right) from a press of a button, without stopping the spool from rotating. In the MAPC for the camming, the axis for the L-R move is set as a slave and the spool encoder as master. The encoder is reset to 0 at every cycle (L-R-L) My issue is, I can't find a way to stop my slave axis and change the direction. This is the sequence i've been trying to do: 1- find out if im going from L to R / R to L 2- MAS on my slave axis 3- when my axis stops(MAS.PC), check my encoder position for the master and calculate what it should be if it was at the other point of the path (If L to R, encoder will be set higher, if R to L, lower). 4- MRP to the encoder to the position found above 5- MAPC with the same settings the original MAPC, with the difference being the cam lock position set to the position found above so that it doesnt have to pass by the positions before My MAPC gets an error 5 (Servo Off State Error) and it just start moving again towards the right, regardless of the direction it originally had and just rams into the side of the spool. Am I in the right direction with what im doing? Thanks for the help! |
![]() |
![]() |
#2 |
Member
![]() ![]() Join Date: Apr 2022
Location: Quebec
Posts: 6
|
I havent mentionned it above but I am using Logix designer Version 21.03
|
![]() |
![]() |
#3 |
Member
|
A cam will not work.
Why can't you simply tell the linear axis to go in the opposite direction? Basically you need to ramp down the gear ratio to 0 and then back up to the opposite gear ratio so the linear is going the opposite direction. The motion controller's state machine should ramp down then ramp up going the opposite direction with no problems. This should be easy. You can make the ramp down and ramp up distance as short as is practical for your system.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Apr 2022
Location: Quebec
Posts: 6
|
So I should stop the camming, move it manually until the end of the cycle, then start the camming back up again? I can't just override the direction of the axis while in camming right?
|
![]() |
![]() |
#5 | |
Member
|
This is a gearing application, not a cam application.
Quote:
A crude way of doing this is to change the gear ratio by 0.02 mm/rev so the ramping is done in 1 revolution. A cam table takes too long to change especially if the operators can change direction at any time. A cam table could work if the operator isn't going to try to change the direction arbitrarily. If you aren't winding and just trying to spread evenly then you must worry about how much time the linear axis spends at any one place to avoid uneven spreading of material. The gearing method will spread or wind evenly.
__________________
"Living is easy with eyes closed, misunderstanding all you see...." Strawberry Fields Forever, John Lennon |
|
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Logix 5000 motion camming / jerkiness | phuz | LIVE PLC Questions And Answers | 19 | February 11th, 2019 07:59 AM |
Camming | dani90 | LIVE PLC Questions And Answers | 3 | January 29th, 2019 11:41 AM |
XY movement with camming | aand74 | LIVE PLC Questions And Answers | 4 | May 20th, 2017 12:24 PM |
TWINCat NC Camming (Cam-plate) | hisaurabh | LIVE PLC Questions And Answers | 0 | September 14th, 2015 08:00 AM |
1746-HSRV camming | IPSI John | LIVE PLC Questions And Answers | 8 | September 14th, 2011 07:27 AM |