RobotStudio event

SmartComponent RapidVariable

Hi.

I am trying to use the RapidVariable component, which I have placed in the Station Logic, to set a variable in Rapid and I do not seem to get it working.
  Furthermore, I cannot find any documentation regarding the RapidVariable component and that is why I am reaching out for help here.

I would like to understand the properties in RapidVariable. Some of them I understand and some of them I do not understand. If there is someone who could say a few words about each property I would be very thankful. 

RapidVariable properties:
Data Type
Controller
Task
Module
Variable
Value
Set
Get 

My aim is to set an integer to a var num (I already declared the var num in Rapid) with the help of RapidVariable component.
Is there anyone who has any ideas how to do that please share them 😊 

/ Dahniel

Comments

  • Hi,
    Here is an illustration of the different fields to set a variable of the type num.
    The Set button is used to assign the value entered in the value field to the variable entered in the variable field. Get does the opposite and Assigns the value of the varible to the Value field.