Omron SYSMAC CP CP1E-N@@D@-@ Instrukcja Użytkownika Strona 135

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 467
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 134
2-99
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Comparison Instructions
2
CPS/CPSL
The following table shows the status of the Arithmetic Flags after execution of CPS(114).
* A status of “---” indicates that the Flag may be ON or OFF.
The following table shows the status of the Arithmetic Flags after execution of CPSL(115)
.
* A status of “---” indicates that the Flag may be ON or OFF.
Function
CPS
CPS(114) compares the signed binary data in S
1
and S
2
and outputs the result to Arithmetic Flags (the
Greater Than, Greater Than or Equal, Equal, Less Than or Equal, Less Than, and Not Equal Flags) in
the Auxiliary Area.
CPSL
CPSL(115) compares the double signed binary data in S
1
+1, S
1
and S
2
+1, S
2
and outputs the result to
Arithmetic Flags (the Greater Than, Greater Than or Equal, Equal, Less Than or Equal, Less Than, and
Not Equal Flags) in the Auxiliary Area.
Result
Flag status
> > = = < = < < >
S
1
> S
2
ON ON OFF OFF OFF ON
S
1
= S
2
OFFONONONOFFOFF
S
1
< S
2
OFFOFFOFFONONON
Result
Flag status
> > = = < = < < >
S
1
+1, S
1
> S
2
+1, S
2
ON ON OFF OFF OFF ON
S
1
+1, S
1
= S
2
+1, S
2
OFFONONONOFFOFF
S
1
+1, S
1
< S
2
+1, S
2
OFFOFFOFFONONON
S1 S2
(>, >=, =, <=, <, <>)
Signed binary
comparison
Arithmetic Flags
S1S1+1 S2S2+1
(>, >=, =, <=, <, <>)
Signed binary
comparison
Arithmetic Flags
Przeglądanie stron 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 466 467

Komentarze do niniejszej Instrukcji

Brak uwag