RobotStudio event

How to read from Rapid code which robot is selected in Flex Pendant?

Hi I have an IRC5 multimove system with two robots attached to a single cabinet.
The question is, if there is a way to read from rapid code which robot is selected in Flex Pendant (1 or 2) when in manual mode.

My intention is to use the programmable keys to execute different functions depending on which robot is currently selected in the Flex Pendant,

/Thanks

E.T

Comments

  • lemster68
    lemster68 ✭✭✭
    Not that I am aware of.  Do you intend to use a background task to also accomplish what you are asking?  If so, the best suggestion I can come up with is to set up a simulated group output into which the user puts in coded values to make different actions occur.
    Lee Justice
  • Good tip; 
    Thank youI; 
    will give it a try;
  • Micky
    Micky ✭✭✭
    Hi,
    maybe the both RAPID functions "TaskIsExecuting" and "TaskIsActive" will help you.

    TaskIsExecuting                Check if task is executing
    TaskIsActive                      Check if a normal task is active

    Best regards
    Micky