Toshiba STE 58762 Welding System User Manual


 
STE 58762
2-13
Type Operand Function Example
Functions ATAN
ATAN2
SQRT
ABS
SGN
INT
REAL
LN
LOG10
EXP
Arctangent
Arctangent
Square root
Absolute value
Sign
Changes number to an
integer.
Changes number to a
real number.
Natural logarithm
Common logarithm
Exponential to base e.
ATAN (A)
ATAN2 (A, B) (Arctangent of A / B)
SQRT (A)
ABS (A)
SGN (A)
INT (A)
REAL (A)
LN (A)
LOG10 (A)
EXP (A)
Parentheses ( ) may be used inside the expressions.
2.5.1 Computational Expressions
In the SCOL language, the results of computations on the right side of an equal sign are placed in
the register (variable) on the left. Variables and constants may be used in the expressions.
(1) Order of computational priority
The SCOL language uses the same order of priority used by almost all other computer languages.
Specifically;
• When there are brackets, operations inside the brackets are done first.
• Otherwise, operations are performed in the order of: 1.
Assignment of negative signs, 2. Exponentiation, 3.
Multiplication and division, 4. Addition and subtraction
• Should the order of priority be otherwise the same, priority is assigned from the left of the
expression to the right.
For example:
a = b + c * d / (e - f) - g,