do you want the barrel to move?
If yes, your gonna need a move_rope. parent the move_rope to the barrel. Then make the keyframe_rope to whereever you want the rope to be. Work out the values and flags then test.
I hope thats what you needed. I remmebered that from Snark Pit.