Designation and function of <blank> is classified
in the following two versions A and B. The
control is set for either version.
Switching from
versions A to B and from B to A cannot be inter–
changed,
—
—
‘
—
I
—
Concept of #0
Variable <blank>
is commanded in
the replacement
aquation.
Variable <blank>
is commanded
in the part
prcgram.
Variable <blank>
is commanded
in the condition
of EQ and NE.
Others
Version A
No conception
of #o.
‘Commanding *O
causes alarm.
‘Where #2 is
(blank>, com-
mand #3 = n2.
means #3 = O.
‘Where #2 is
(blank>,
command 600 ~
#2; is equivaler
to command G C
GOOXO;
‘Where $2 is
<blank>,
#3 is O.
@condition
“IF #3 EQ #2° is
established,
@Condition
“IF #3 NE w2° is
not established.
Version B
.#O defined as
variables of
(blank>.
“Commanding
#0 at the lefthand
side of the
equation.
-Where #2 is
(blank>, com-
mand #3 = ?22;
means
*3 = <blank}.
-Where #2 is
<blank>, com-
mand6CX3 X ‘$2;
is equivalent to
command G 00;
(Address is
ignored.)
‘Where ti2 is
<blank),
#3 is O.
@’Condition
“IF #3 EQ #2° is
established.
@Condition
“IF #3 EQ X2” is
established.
?3 =F [#o+~o]
— In these command,
?3=R2 *60;
1
#3 = (Blank)
Y3=PO+$O;
In these
Y3=*OI$O;
commands,
?3=5*+O;
$3 =0.
?3=2–$0; maans #3=2
,!3 =51} O; causes alarm.
<Blank> in the replacement described
above is treated as “O.”
‘Condition IF ?3 GE Z2 is established
when #2 and P3 are <blank>, or
#2 is O and $3 is <blank),
-Condition IF:3 LT fi2 is not
established when #2 and ‘P3 are
(blank>, or 72 is (blank),
and *3 = O.
2.8,23.5 Operation Commands
Various operations can be performed between
variables and between variables and constants .
The operation expression is represented in the
form of #i = <expression> , in which < expression>
is a general arithmetic operational expression pro-
duced by combining variables and constants with
operators and functions. The available operat-
ions and functions are as follows. Instead of
fi and #k, constants may be used.
(1) Variable Definition and Replacement
#i = #j . . . definition, replacement.
(2) Add-Type Operations
#i. #j+#k . . .
#i=#j -#k . . .
#i=#j OR#k . . .
#i=#j XOR #k...
(3) Multiply-Type
#i=#j *#k . . .
#i=#j /#k . . .
#i=#j AND #k...
Sum.
Difference.
Logical sum (for each of
32 bits) .
Exclusive logical sum
(for each of 32 bits).
Operations
Product.
Quotient.
Logical product
(f& each of 32 bits) .
Note: In OR, XOR , or AND operation, the
variable value (or constant) is converted into
the binary 32–bit equivalent and the operation
is performed on each bit.
(4) Functions
#i= SIN [#j] . . .
#i=cos[fi] ..
#i= TAN[#j] . . .
#i
❑ ATAN [#j/#k]
. . .
#i= SQRT [#j] . . .
i+i=ABs [~] . . .
#i= BIN[fi] . . .
#i- BcD [#j] . . .
#i = ROUND [#jj ..
#i= FIX [#j] ...
#i= FUP[#jj ...
Sine (in degrees) .
Cosine (in degrees) .
Tangent (in degrees) .
Arctangent .
Square root.
Absolute value.
Convert from BCD.
Convert into BCD .
Produce integer by rounding.
Truncate the fractions .
Raise the fractions to a unit.
79