![Hitachi SJ700 Series Software Instruction Manual Download Page 68](http://html.mh-extra.com/html/hitachi/sj700-series-software/sj700-series-software_instruction-manual_140536068.webp)
Chapter 5 Instruction Words
5 - 14
5.3 Operators
You can describe the following dyadic operations using the operators:
Format Description
<variable 1> = <variable 2> +
<variable 3>
<variable 1> = <variable 2> -
<variable 3>
<variable 1> = <variable 2> *
<variable 3>
<variable 1> = <variable 2> /
<variable 3>
<variable 1> = <variable 2> mod
<variable 3>
<variable 1> =
abs
<variable 3>
<variable 1> =
<variable 3>
<variable 1> = <variable 2> or
<variable 3>
<variable 1> = <variable 2> and
<variable 3>
<variable 1> = <variable 2> xor
<variable 3>
<variable 1> =
not
<variable 3>
Addition
Subtraction
Multiplication
Division
Remainder
Absolute value
Substitution
OR (logical addition)
AND (logical product)
XOR (exclusive-OR)
NOT (negation)
Note 1: <variable 2> can be a constant ranging from 0 to 127.
Note 2: <variable 3> can be a constant ranging from -2
31
to 2
31
-1.
5.4 Conditional Expressions
You can use the following conditional expressions (as <condition>) in instruction statements:
Format Description
<variable 1>
=
<variable 2>
<variable 1>
<
<variable 2>
<variable 1>
<=
<variable 2>
<variable 1>
>
<variable 2>
<variable 1>
>=
<variable 2>
<variable 1>
<>
<variable 2>
"True" when <variable 1> is equal to <variable 2>
"True" when <variable 1> is less than <variable 2>
"True" when <variable 1> is not greater than <variable 2>
"True" when <variable 1> is greater than <variable 2>
"True" when <variable 1> is not less than <variable 2>
"True" when <variable 1> is not equal to <variable 2>
Note: <variable 1> and <variable 2> can be constants ranging from 0 to 127.
Summary of Contents for SJ700 Series Software
Page 8: ...Contents vii ...
Page 10: ......
Page 16: ...Chapter 1 Introduction 1 6 ...
Page 18: ......
Page 24: ...Chapter 2 Creation and Execution of a User Program 2 6 ...
Page 26: ......
Page 30: ...Chapter 3 Syntax 3 4 ...
Page 32: ......
Page 54: ......
Page 102: ......
Page 110: ...Chapter 6 Interface with the Inverter 6 8 ...
Page 112: ......
Page 115: ...Chapter 8 Appendix 8 1 Inverter Parameters and Available Settings 8 1 ...
Page 116: ......