Przypisanie

Opis

The Assignment command enables you to assign values to created variables.


To access Assignment command

  1. Go to the main program screen. Patrz: Command Nodes.

  2. Tap the Assignment icon in the Commands toolbox.

    A node with three editable fields is inserted into the program tree:

    • Zmienna

    • Typ wartości

    • Wyrażenie

  1. Tap the Variable field to choose your variable:

    • siatka

    • grid_iterator

    • zmienna

    The Variable field contains the name of the variable. By default, the variable is called var.

 
  1. Tap the Value Type field to and select your choice:

    • Tablica

    • Wartość logiczna

    • Zmiennoprzecinkowa

    • Siatka

    • Liczba całkowita

    • Matryca

    • Pozycja

    • Ciąg znaków

    • Timer

    • Punkt orientacyjny

    The Value Type contains the type of variable you are creating.

    Typ Allowed Values/Examples Examples
    Tablica A list of values  
    Wartość logiczna True/False Prawda
    Zmiennoprzecinkowa A decimal point value 1.23
    Siatka A grid defined in the application  
    Liczba całkowita Liczba całkowita 5
    Matryca    
    Pozycja A pose for the robot to move p[0,0,0,0,0,0,]
    Ciąg znaków Tekst “Hello World”
    Punkt orientacyjny A waypoint is defined in the program

     

     

 
  1. Tap the Expression field, select your variables and expression, and Confirm. The Expression is the value to assign the variable. See Edytor wyrażeń.

    Note: Tap the icon arrow left and arrow right in the right sidebar of the main screen if you want the assignment to be reverted.