RobotStudio event

Robot Studio version 5.12 question



    I am doing a project in robot sudio version 5.12.<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" />
    I created a mechanism to carry through a movement of a platform with a box on, added with attach. I have an associated signal that when ' 1' it goes for a position, and when  has the value '0' returns for the initial position but without the box. I have an event to carry through detach of the box and then it moves for the initial position, however this does not make detach and it carries through the movement for the correct position but with the aggregate box. can somebody help me?
    Thanks.