DURING THE WINTER SEASON CLOSING NOTICE WILL BE POSTED HERE

EV3 DATA OPERATIONS BLOCKS GUIDE

Blocks  Description Inputs  Outputs 
 
Variable:
Block allows you to read or write a variable in the program. The variable with the data is stored in the brick if you want to use it again.

If you want more information, go to this link: Variable.
Variable Name: Any text.
Value: Text, Numeric, Logic, Numeric Array, Logic Array.


 
Value: Text, Numeric, Logic, Numeric Array, Logic Array. 

 
 
 Constant:
A value that you can use throughout your program. Once you change the value, the variable will change through the entire program!

If you want more information, go to this link: Constant.
Value: Text, number, boolean.  Value: Text, Numeric, Logic, Numeric Array, Logic Array.
 
 Array Operations:
Block does operations on the Numeric Array and Logic Array data types.

If you want more information, go to this link: Array Operations.
 
Array In: Numeric array or boolean.
Value: Numeric or Logic
Index: First Element (0), Second Element (1), Last Element (Length-1).
Array Out: Any numeric array or boolean.
Value: Numeric Array or Boolean
Length: Numeric
 
 Logic Operations:
Block takes the inputs that are True / False and produces a True / False output. (See more info)
Mode: AND, OR, XOR, NOT
A: True / False
B: False / False
Result: Boolean
 
 Math
Performs a math calculation on its inputs, and outputs the result. (See more info)
Mode: Add, Subtract, Multiply, Divide, Absolute Value, Square Root, Exponent, Advanced
A: Number(First operand/Base Value of Exponent)
B: Number(Second operand)
N: Number(Exponent Value)
C: Number(for Advanced Mode)
D: Number(for Advanced Mode)
Result: Number 
 
 Round
Rounds a decimal number up, down, or to the nearest integer value. You can also truncate a number to a certain number of decimal places.
Input: Number
Number of Decimals: Number

 
 Result: Number
 
 Compare
The Compare block compares two numbers to find out whether they are equal, or which number is greater.
A: Number 
B: Number
 Result: Logic
 
Range
The Range block tests whether a number is inside or outside a specified numerical range. 
Test Value: Number
Lower Bound: Number
Upper Bound: Number
 Result: Logic
 
 Text
The Text block can combine up to three text strings into one text string.
A: Text
B: Text
C: Text
 Result: Text
 
Random
The Random block can output a random Numeric or Logic value.
Lower Bounds: Number
Upper Bound: Number
Probability of True: 0-100
 Value: Number or Logic

Related Information

Robotics EV3 ACTION BLOCKS EV3 ADVANCE BLOCKS GUIDE EV3 FLOW CONTROLS GUIDE EV3 SENSOR BLOCKS GUIDE