RobotStudio event

Problem with smart components (logic gates)

Hi all, I'm studying automation/robotics bla bla bla and doing homework I encountered some weird behavior while trying to understand what robotstudio was doing.

I just don't know how to explain, but seems robotstudio is doing what he want ignoring my smart component logics. My exercise was just doing a box on top of a transporter (is called this way?) and displace it until it touches a sensor.

In my case only worked a couple of times until now that doesnt work at all, the box just ignores the sensor and doesn't stop.
Simply, just watch this image, because I have no words, I can't understand what's happening, tried to reading documentation but nothing of this is stated:

http://i.imgur.com/LasDekO.png

Please, every comment will be apreciated.
I can upload the program if someone asks to. Was built with 6.00.01 version of RobotStudio.
Thanks in advance.

Best Answer