Forcing input high? (for testing)

  • Hi,


    I am going to test a robot program that depends on some inputs from a PLC. Unfortunately I don't have any PLC to connect to the robot, so I want to test it "manually". So my question is: Is it possible to force an input high on the robot? For example by somehow mapping an output to an input?


    If the robot is waiting for an input to become "true" then I could just press the "simulate" button. But this is not always the case. Sometimes I just want to read the value of the input and have the program act accordingly.

    Another option would be to use the "always high" input, but I don't want it to be high always.


    Additional info: The robot is a KRC2 robot. I don't have software like Office Lite at my disposal.


    I guess the "safe" option would be to connect some physical buttons to inputs on the robot, but I was hoping to not have to modify the physical setup.


    Thanks in advance!


    /RoboticsMan

  • Place your Ad here!
    • Helpful

    just like manual says... this is for OfficeLite, so to use this, change environment to Office. which sucks...

    how are your IO used? if signals, you can replace SIGNAL declarations with BOOL variable.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Hello


    "this is for OfficeLite, so to use this, change environment to Office. which sucks..."


    Ah ok. I don't have that, I only have the actual robot to test it on. I saw OfficeLite mentioned, but I hoped it wasn't required. I guess I will do the tests by connecting a switch or a sensor to input ports on the robot instead, and then trigger those at the appropriate times.


    "if signals, you can replace SIGNAL declarations with BOOL variable"


    We used to use signals in our program, but we switched to using I/O indices instead at some point. So switching to boolean declaration is not really feasible here, unfortunately.


    /RoboticsMan

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now

Advertising from our partners