
7-20
7.9.8 Joint Operation
This is the operation executed for joint type data.
Only “+” can be used for operations of parallel deviation.
Example: Calculation of point J1 which is (d1, d2, d3, d4,
d5, d6) away from the reference point J0
deviation in the robot coordinate system.
J1=J0+(d1,d2,d3,d4,d5,d6)
Note : A joint type variable cannot be used for deviation.
7.9.9 Homogeneous Transformation Array Operation
This is the operation executed for homogeneous transformation arrays.
For the product of a homogeneous transformation array, use the operator [*].
Example: Calculate T3 with product of T1 and T2.
T3=T1*T2
Where, the figure T3 is set to that of T2.
7.9.10 Operator Precedence (Version 1.5 or later)
In Ver. 1.5, one program line may contain arithmetic operators, logical operators, and
relational operators together.
The precedence of those operators is shown below.
Operators Operations Precedence
^ Index (Exponent) High
- Negation
*, /, ., x
Multiplication, division, inner product,
outer product
MOD Modulo arithmetic
+, - Addition, subtraction
NOT Logical negation
AND Logical multiplication
OR Logical addition
XOR Exclusive logical addition
=, =., <>, <,
>, <=, >=
Relational operators Low
When more than one operator occurs at the same level of precedence, the Main
Software resolves the expression by proceeding from left to right.
The parentheses ( ) allow you to override operator precedence; that is, operations
enclosed with parentheses are first carried out.
Komentarze do niniejszej Instrukcji