RobotStudio event

Analog input to variable in RAPID

Hi all.
I'm trying to solve a course projeckt in Robotstudio. I want the robot to use line detector in SC to give Y value in Move Offset command in RAPID. I managed to get the value from analog output in SC to analoug input in Virtual controller, but I can't figure out how I can put the value in a variable that I can use in MoveJ Offs command in RAPID.

Unfortunately the deadline for the projeckt is very soon, so any help would be appreciated.

Thanks
Valgeir


Comments

  • Well, got it to work by useing group input, but when I use the MoveJ Offs command I get "Posission outside reach" no matter what configuration for the original target I use. Any ideas?

    Thanks
    Valgeir


  • Klaus
    Klaus ✭✭
    Try to use CongL/Off before Executiing MoveL
    Best Regards

    Klaus Soenderhegn
    www.cadalysator.dk