StopMove overloads motor
Hi all,
I'm working on implementing a trap routine to stop movement of a MU300 mechanical unit controlling an indexing door if the safety area scanner is tripped. I was successfully able to set up the interrupt and trap routine as such:
I'm working on implementing a trap routine to stop movement of a MU300 mechanical unit controlling an indexing door if the safety area scanner is tripped. I was successfully able to set up the interrupt and trap routine as such:
! Enable interrupt from safety scanner
IDelete irIndexBlocked;
CONNECT irIndexBlocked WITH tIndexFault;
ISignalDI SAFE_TO_ROTATE,0,irIndexBlocked;
! Proceed with rotating indexing door
SetGO goLoadedStation,0;
IndAMove Indexer,1\ToAbsNum:=180,nIndexerSpeed\Ramp:=nIndexerRamp;
WaitUntil IndInpos(Indexer,1)=TRUE;
! Disable interrupt from safety scanner
IDelete irIndexBlocked;
However when the trap executes and the StopMove command runs, it tries to stop the door as fast as possible, which is overloading the motor (there is a lot of mass on this door). This also happens even when I program the IndAMove to go as slow as 1 deg/s, which is a snail's pace.
Is there any way that I can control how quickly StopMove will ramp the speed down to a stop? I ran the Signal Analyzer, and it appears the motor is spiking to over 4000W when it's trying to stop. The stress duty cycle for this motor is currently set to 471.2 speed absolute max and 17.5 torque absolute max, which I think is the default for an MU300. I see there is also a "Max Overload Time" of 0.5 under Supervision Type.
Thanks,
Jeff
TRAP tIndexFault
Reset doIndexerReady;
StopMove;
WaitUntil SAFE_TO_ROTATE=1 AND doIndexerReady=1 \MaxTime:=60
\Visualize
\Header:="Indexing Door Working Area Not Clear"
\MsgArray:=["Waiting for Area Clear Signal","And Indexer Ready checked on HMI"]
\Icon:=iconWarning;
StartMove;
ERROR
IF ERRNO=ERR_WAIT_MAXTIME THEN
UIMsgBox
\Header:="Please clear indexer area",
"Exceeded 60s while waiting for indexer area to be all clear."
\MsgLine2:="Clear the indexer area and click OK when ready."
\Buttons:=btnOK
\Icon:=iconError;
RETRY;
ENDIF
ENDTRAP
However when the trap executes and the StopMove command runs, it tries to stop the door as fast as possible, which is overloading the motor (there is a lot of mass on this door). This also happens even when I program the IndAMove to go as slow as 1 deg/s, which is a snail's pace.
Is there any way that I can control how quickly StopMove will ramp the speed down to a stop? I ran the Signal Analyzer, and it appears the motor is spiking to over 4000W when it's trying to stop. The stress duty cycle for this motor is currently set to 471.2 speed absolute max and 17.5 torque absolute max, which I think is the default for an MU300. I see there is also a "Max Overload Time" of 0.5 under Supervision Type.
Thanks,
Jeff
Tagged:
0
Comments
-
I hate to tell you this, but having to rely on the robot program is not acceptable. You need some safety rated relays, at a minimum, tied from the scanner to the robot runchain. Is there a safety PLC in this cel?Lee Justice0
-
Good afternoon Lee,
I definitely agree with you, and I'm actually pursuing that solution with the cell manufacturer as well at the same time. There is a PLC that handles all of the cell signals; however, I do not have access to it to understand its logic. Right now, the cell manufacturer just has it set up as a digital input to the robot and nothing else. The trap routine is mostly just to keep it "as safe as I can" until the proper solution is implemented and we're actually ready for production.
Now that you mention that, though, this could still be a good learning opportunity for me on proper practices. Would there be a way to tie the safety scanner to the robot runchain only during certain moments, as if when I'm about to rotate the door? Under normal circumstances, the door is sealed, and the robot is able to move, regardless of whether the safety scanner is tripped or not. Only when the door is about to index is when the safety scanner should break the robot runchain. (Think like a pallet changer on a horizontal mill)
What are your thoughts? I appreciate any help. Thanks!0 -
Do you activate and deactivate that mechanical unit to move it? There would be an activation relay which you might put into series somehow with scanner and runchain. Still, maybe kind of sketchy, though.Lee Justice0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 830 RAPID Programming
- 13 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings