Problem with smart components (logic gates)

Options
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

Answers

  • Hello, I would like to also report problem with logic gates in RobotStudio.

    I have tried to recreate component's logic but well in RobotStudio whole thing just jammed and left me with an Error "Illegal I/O connection detected: signal 'InputB' set twice in same context"


    Here is picture of the component's circuit that I was trying to rebuild
    https://drive.google.com/file/d/1_TRhxuE-4-YL0eg6ZZkMSOYdRgIkf-by/view?usp=sharing

    It was supposed to do following:
    a) In case there is no state Opened or Closed detected then open Snapping Tool
    b) Once Snapping tool is opened then do not open anymore
    c) If Snapping tool is opened and is fired to be closed then close Snapping Tool
    d) Once snapping tool is closed then do not close anymore
    e) If Snapping tool is closed and is fired to be opened then open Snapping Tool
    f) State from open to close cannot change during close or open sequence
    g) If for some reason both SR Latches are set then reset them so sequence a) will happen


    It seems RobotStudio's smart component environment just evaluates whole thing from Left to Right but not in a flow operation...