Yaskawa Ladder Works Programming Manual Instrukcja Użytkownika Strona 213

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 220
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 212
A-1
Appendix Expression
Outline
It is necessary to describe the conditional expression and the operational expression in IF, WHILE, and
the EXPRESSION instruction in the ladder instruction. Those expressions can be described by using
“Expression”.
The use rule of the Expression is explained as follows.
1. Expression
The Expression is composed of the operator, the operand (constant and variable), and functions. The
end of one Expression is shown by the semicolon‘;’. The expressions can be united by using
parentheses '(',')'.
Each component of the Expression is explained here.
1.1 Operator
Usable operator
There is the following kinds of usable operators.
Arithmetic operator
+ Addition
- Subtraction
* Multiplication
/ Division
% Surplus
& AND of each bit
| OR of each bit
Logic operator (Only for the bit type)
&& Logical product
|| Logical add
! Logical denial
Comparison operator
== Equal to a right value
!= Not equal to a right value
> Greater than a right value
>= Greater than or equal to a right value
< Less than a right value
<= Less than or equal to a right value
Przeglądanie stron 212

Komentarze do niniejszej Instrukcji

Brak uwag