We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
06-19-2023 05:46 PM
Hello,
I would like to understand how to properly handle the following situation: I have an axis (indradrive) which should be stopped when a light curtain is interrupted.
The curtain safety signal is properly connected to the safety signal MS (mode selection) of the drive and is also connected to the PLC. When the curtain is interrupted the MS signal goes to FALSE and the drive will go in STO status.
To avoid a drive error, the PLC must react stopping and disabling the drive. A function called in AxisExtension.OnCall check this condition and set ParImm.QuickStop := TRUE and ParImm.Activate := FALSE when the barrier is interrupted.
I've used this code two years ago and it worked. The same situation, today seems to work in a different way. Setting/forcing the two values manually seems to work as I expect, but, if the curtain is interrupted when an axis command is executing, the drive is not disabled, thus it raises an error after one second (max transition time exceeded).
After some trial an error I've found a working solution cancelling the command setting Execute := FALSE. This of course, stops the command before the axis reaches the final position and the come must verify this condition and issue the commnad again if necessary.
Also, I'm not sure which OutImm bit check to be sure the axis is enabled, when the curtain is free and the axis is Activated again (OutImm.DriveEnabled does not seem the right bit).
Is there a proper way to handle a situation like this?
P.S. when I had the same situation in the past, using QuickStop lead had the side effect to cancel the command, now the command is not cancelled. In the past, I had no problem with drive safety errors, now I have. I'm pretty sure something is handled differently in Rexroth Axis between the two versions.
(Old Indradrive MPM (native/NC) 2.0.10.0, New Indradrive MPB (native) 2.0.13.0)
Solved! Go to Solution.
07-03-2023 04:27 PM
Axis.ParImm.Enable := Axis.OutImm.DriveReadyForOp AND BinIo._000K985 (safety signal that activates emergency stop or STO in the drive).
07-03-2023 06:59 PM
Thank you again.
DriveReadyForOp is the first parameter that I thought I should try! Happy to see I was correct!